Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Nov 2005 14:01:02 +0100
From:      Claus Guttesen <kometen@gmail.com>
To:        Pete French <petefrench@ticketswitch.com>
Cc:        stable@freebsd.org
Subject:   Re: upgrading 5.4 -> 6.0 without reinstalling. safe ?
Message-ID:  <b41c75520511090501nbef3235j@mail.gmail.com>
In-Reply-To: <E1EZp9T-0008i7-Kg@dilbert.firstcallgroup.co.uk>
References:  <E1EZp9T-0008i7-Kg@dilbert.firstcallgroup.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
> usually when I upgrade across major versions of BSD I wipe the whole
> machine and re--install from scratch. But I understand that the move
> to 6.0 from 5.4 is nowhere near such a big leap.
>
> So I was wondering hether I could just do this from source without any
> ill effects, as if I was upgrading 5.4->5.5. I have nnever tried this bef=
ore
> though, and was wondering if there are any major pitfalls (i.e. is it act=
ually
> a really bad idea?)

The easiest would be to

1. cvsup to RELENG_6 (or RELENG_6_0)
2. cd /usr/src
3. make buildworld
4. make buildkernel
5. make installkernel
6. mergemaster -p
7. reboot into single-usermode and verify your new kernel works
8. mount -a
9. make installworld
10. mergemaster
11. reboot

All described in /usr/src/Makefile (and the handbook). You may need to
reinstall some apps, but most should work with compat5x in place.

regards
Claus



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