From owner-freebsd-questions Mon Oct 15 14:21:38 2001 Delivered-To: freebsd-questions@freebsd.org Received: from drex.staff.izr.com (drex.staff.izr.com [195.26.38.16]) by hub.freebsd.org (Postfix) with ESMTP id 28C5437B403 for ; Mon, 15 Oct 2001 14:21:33 -0700 (PDT) Received: by drex.staff.izr.com (Postfix, from userid 1001) id 12D90337A8; Mon, 15 Oct 2001 22:21:33 +0100 (BST) Date: Mon, 15 Oct 2001 22:21:33 +0100 From: Mark Drayton To: freebsd-questions@freebsd.org Subject: Re: Upgrading to 4.4 Message-ID: <20011015222132.B36840@drex.staff.izr.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <20011015154852.D4944@acadia.ne.mediaone.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011015154852.D4944@acadia.ne.mediaone.net>; from leblanc+freebsd@acadia.ne.mediaone.net on Mon, Oct 15, 2001 at 03:48:53PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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