Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Mar 2000 13:29:04 -0500 (EST)
From:      Matt Loschert <loschert@servint.com>
To:        Doug Barton <DougB@simplenet.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: Alternative way to do -stable to -current upgrade
Message-ID:  <Pine.BSF.4.21.0003101323410.14767-100000@delft.servint.com>
In-Reply-To: <38C5F109.476539B0@simplenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0003101323410.14767-100000>