From owner-freebsd-stable Wed Mar 15 14:26: 2 2000 Delivered-To: freebsd-stable@freebsd.org Received: from dt051n0b.san.rr.com (dt051n0b.san.rr.com [204.210.32.11]) by hub.freebsd.org (Postfix) with ESMTP id 7916F37BDAE; Wed, 15 Mar 2000 14:25:58 -0800 (PST) (envelope-from Doug@gorean.org) Received: from slave (doug@slave [10.0.0.1]) by dt051n0b.san.rr.com (8.9.3/8.9.3) with ESMTP id OAA02274; Wed, 15 Mar 2000 14:25:52 -0800 (PST) (envelope-from Doug@gorean.org) Date: Wed, 15 Mar 2000 14:25:52 -0800 (PST) From: Doug Barton X-Sender: doug@dt051n0b.san.rr.com To: Warner Losh Cc: Josef Karthauser , Ruslan Ermilov , stable@FreeBSD.ORG Subject: Re: HEADS UP: 3.x -> 4.0-STABLE upgrade instructions In-Reply-To: <200003152159.OAA89926@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 15 Mar 2000, Warner Losh wrote: > In message Doug Barton writes: > : You can find instructions at > : http://freebsd.simplenet.com/make-upgrade.html. I am planning to update > : that file for 3.4 -> 4.0 asap BTW. > > Let me know if the following doesn't work: Warner, Here's what I posted the other day, and what I planned to expand on for my new web page. I've had several positive comments on it, including a confirmation that it works for remote upgrades. 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. :) Doug -- "While the future's there for anyone to change, still you know it seems, it would be easier sometimes to change the past" - Jackson Browne, "Fountain of Sorrow" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message