From owner-freebsd-current Fri Mar 10 10:29:50 2000 Delivered-To: freebsd-current@freebsd.org Received: from mecca.servint.com (mecca.servint.com [209.50.225.14]) by hub.freebsd.org (Postfix) with ESMTP id 0263837BA88 for ; Fri, 10 Mar 2000 10:29:43 -0800 (PST) (envelope-from loschert@servint.com) Received: from delft.servint.com (207-172-79-129.s129.tnt5.rcm.va.dialup.rcn.com [207.172.79.129]) by mecca.servint.com (8.9.3/8.9.0) with ESMTP id NAA06043 for ; Fri, 10 Mar 2000 13:45:30 -0500 (EST) Received: (qmail 14792 invoked by uid 1000); 10 Mar 2000 18:29:04 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 10 Mar 2000 18:29:04 -0000 Date: Fri, 10 Mar 2000 13:29:04 -0500 (EST) From: Matt Loschert To: Doug Barton Cc: current@FreeBSD.ORG Subject: Re: Alternative way to do -stable to -current upgrade In-Reply-To: <38C5F109.476539B0@simplenet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 7 Mar 2000, Doug Barton wrote: > I've been meaning to post this for a while. I recently upgraded two way > old 4.0 systems to post-signal changes -current. It's not quite a 3.x -> > 4.0-Current upgrade, but it's close. I had to do a few things > differently than what's in Updating, and I wanted to test the > feasability of not going single user mode since I keep remote upgrades > in the back of my mind even though I don't do a lot of them anymore. > This is assuming that you've done all the right things with upgrading > sources, double-checked /etc/make.conf, using clean /usr/src, clean > /usr/obj, etc. > > 1. make buildworld > 2. make buildkernel > I actually updated my kernel config file while world was building so I > did 'make KERNEL=MYKERNELFILE buildkernel, and below, but that's not for > the faint of heart. As someone already pointed out, GENERIC is a better > choice, and doesn't require any options. > 3. make installkernel > 4. cd /usr/src/sbin/mknod && make install > I had to do this or the next step didn't work. > 5. cp /usr/src/etc/MAKEFILE /dev ; cd /dev ; /bin/sh MAKEFILE all > 6. Update /etc/fstab and new disk devices per instructions in Updating > 7. reboot > 8. make -k installworld > 9. make installworld > 10. mergemaster > 11. rebuilt my kernel (make sure to update your kernel config file) and > rebooted > > I did one system this way feeling my way through, then did another > following these instructions and didn't have any problems. I never had > to go single user, although these were workstation machines. For servers > you'd probably want to use /var/run/nologin, or similar. (Just make sure > you open plenty of shells for yourself first. :) > > I hope this is useful, > > Doug I just wanted to let you know that I used this procedure on a very recent 3.4-STABLE to -CURRENT upgrade and it worked flawlessly. The whole procedure was performed multi-user and remotely (the two boxes are sitting right next to each other though). I had been following the upgrade threads on -current and reading UPDATING, and this procedure appeared to be the most coherent I had seen. Thanks Doug. - Matt -- Matt Loschert loschert@servint.com Software Engineer voice (703) 847-1381 ServInt Internet Services fax (703) 847-1383 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message