Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jan 2010 13:18:35 +0200
From:      Volodymyr Kostyrko <c.kworr@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Help! Upgrade from fbsd 5.4 to 8.x
Message-ID:  <4B65670B.6070201@gmail.com>
In-Reply-To: <20100130225014.C36480@fw.skeleton.org>
References:  <20100130225014.C36480@fw.skeleton.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 31.01.2010 06:08, Jeff Mitchell wrote:

> Strikes me most people will recommend (3) -- nice big new drive, no risk
> of destroying a working machine (can always slap old drive back in),
> easy migration of service by service, etc and so on. Strikes me as a
> PITA, but then again .. the others are probably all PITAs as well given
> the age of the box. Something will break, so maybe its best to just
> start fresh with a nice new install and go from there.

Get a stick of flash, build system, install it on the flash and boot 
from it. Try to keep all of your old binaries - I personally don't think 
that all what you have installed will work nowadays. Keeping binaries 
gives you a choice to make a 5.4 jail and put there everything you can't 
install from ports.

> *ugh* but that'll teach me to stay on top of it more :)
>
> Aside -- whats the recommended way to stay on top of upgrades anyway? It
> used to be a tortuous process back 5 years ago, but hopefully things are
> much more streamlined now .. nightly 'make upgrade' ftw :)

Personally I have one computer running X_STABLE or switching to 
X_CURRENT before release. When I see that everything on that machine is 
safe and sound I try to update (after RELEASE of course) least crucial 
servers and so on. By the time I move on to mission critical servers I 
have already found all smelly places. When I was moving from 7.2 to 8.0 
it was just:

# cd /usr/src
# idprio 15 make -j8 buildworld buildkernel && make installkernel 
installworld
# cd /usr/ports/misc/compat7x ; make install clean
# shutdown -r now
# cd /usr/src ; yes | make delete-old ; yes | make delete-old-libs
# portupgrade -fr '<date of kernel compile'

This can sound silly to install kernel and world at once but in this 
situation most of my servers are on ZFS, and ZFS won't come up if you 
boot 8.0 kernel over 7.2 userland - you just need to have correct libs 
installed.

-- 
Sphinx of black quartz judge my vow.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B65670B.6070201>