Date: Mon, 15 Oct 2001 22:21:33 +0100 From: Mark Drayton <mark.drayton@izr.com> To: freebsd-questions@freebsd.org Subject: Re: Upgrading to 4.4 Message-ID: <20011015222132.B36840@drex.staff.izr.com> In-Reply-To: <20011015154852.D4944@acadia.ne.mediaone.net>; from leblanc%2Bfreebsd@acadia.ne.mediaone.net on Mon, Oct 15, 2001 at 03:48:53PM -0400 References: <Pine.OSF.3.95.1011015143523.11638F-100000@isua5.iastate.edu> <20011015154852.D4944@acadia.ne.mediaone.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Louis LeBlanc (leblanc+freebsd@acadia.ne.mediaone.net) wrote: > On 10/15/01 02:37 PM, legg@iastate.edu sat at the `puter and typed: > > [upgrading using cvsup] > > You don't have to be a developer to use cvsup. Just cvsup to > RELENG_4_4_0_RELEASE, then use the following: > cd /usr/src > make buildworld && make install > > Which will upgrade your userland. Once this is done, you should do > this: > > mergemaster -ia > > which will merge config/startup/etc. files from the upgraded source to > the installed versions. Then reboot. > > Next, you will want to rebuild your kernel. If you have a custom > kernel, use that, otherwise use GENERIC. > > cd /usr/src make buildkernel KERNEL=GENERIC && make installkernel > KERNEL=GENERIC > > Of course if you do use GENERIC, you can leave out the KERNEL > parameters. Once this is done, reboot. > > Now, you are running 4.4 release. And not one line of code had to be > touched :) Sorry to be finicky, but this is potentially a very dangerous way of upgrading. IMHO the safest way is follows: make buildworld make buildkernel make installkernel (reboot) make installworld mergemaster (reboot) You should build a new kernel then reboot to ensure the new kernel works. It's easy to recover from a broken kernel but not from a system that won't work because the world is too new for the kernel (which could happen if you install world before kernel). When you know the new kernel is okay you can get on with installing the new world and mergemastering. Cheers, -- Mark Drayton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011015222132.B36840>