Date: Wed, 28 Jan 2009 05:07:46 -0700 From: Tim Judd <tajudd@gmail.com> To: Zbigniew Szalbot <zszalbot@gmail.com> Cc: User Questions <freebsd-questions@freebsd.org> Subject: Re: Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE Message-ID: <49804A92.904@gmail.com> In-Reply-To: <94136a2c0901280332n7301fe50tc85408a9f20c6a22@mail.gmail.com> References: <94136a2c0901280332n7301fe50tc85408a9f20c6a22@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Zbigniew Szalbot wrote: > Hello, > > I would like to confirm the steps required to upgrade a 7.0 system > with a custom kernel to 7.1 so many thanks for all suggestions! > > 1/ Back up /etc (of course backups are regularly done, but based on > what I saw on the list I think such a backup just prior to upgrade may > be quite beneficial) > # cp -pR /etc/ /etc-7.0 > > 2/ Go for the upgrade and merge files (if any) > # freebsd-update -r 7.1-RELEASE upgrade > > 3/ Install the updates > # freebsd-update install > > 4/ Reboot with a GENERIC kernel (I do have it) > # nextboot -k GENERIC Make sure freebsd-update downloads the GENERIC kernel. it typically leaves it completely alone when asked to update/upgrade a system with a custom kernel. Nothing really beats the CVS way. And when I tried a 7.0 to a 7.1, it wanted like >30,000 updates and was taking forever. So because of this, you might want to: download CVS source make buildkernel; freebsd-update -r 7.1-RELEASE upgrade; freebsd-update install; make installkernel; > 5/ Reboot with a custom kernel > # shutdown -r now > > 6/ Finish the update process > # freebsd-update install > > 7/ Recompile the custom kernel > # cd /usr/src > # make buildkernel KERNCONF=MYKERNEL > # make installkernel KERNCONF=MYKERNEL And remake your custom kernel here. Personally, I try to keep an updated GENERIC in /boot/kernel.GENERIC always. > 8/ Final reboot > # shutdown -r now > > I was told earlier that 7.0 -> 7.1 journey is a minor one and so I do > not need to rebuild all the ports. Is that correct? > > Once again, many thanks for your advice! > My 2 cents. --Tim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49804A92.904>