From owner-freebsd-questions@FreeBSD.ORG Fri Feb 1 14:15:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AC9516A41A for ; Fri, 1 Feb 2008 14:15:08 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id EDCF813C44B for ; Fri, 1 Feb 2008 14:15:07 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-25-183.bredband.comhem.se ([83.253.25.183]:58600 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1JKwfZ-000196-4U for freebsd-questions@freebsd.org; Fri, 01 Feb 2008 15:15:07 +0100 Received: (qmail 56545 invoked from network); 1 Feb 2008 15:14:59 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 1 Feb 2008 15:14:59 +0100 Received: (qmail 36180 invoked by uid 1001); 1 Feb 2008 15:14:59 +0100 Date: Fri, 1 Feb 2008 15:14:59 +0100 From: Erik Trulsson To: freebsd-questions@freebsd.org Message-ID: <20080201141459.GA36143@owl.midgard.homeip.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <1201823233.15358.40.camel@Caffiend.org> <20080131195749.0b6f551d@makeworld.com> <20080201074124.53afe5e3@scorpio> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080201074124.53afe5e3@scorpio> User-Agent: Mutt/1.5.17 (2007-11-01) X-Originating-IP: 83.253.25.183 X-Scan-Result: No virus found in message 1JKwfZ-000196-4U. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1JKwfZ-000196-4U a674bbae5043833c965ea359bc534052 Subject: Re: CVSup update or upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2008 14:15:08 -0000 On Fri, Feb 01, 2008 at 07:41:24AM -0500, Gerard wrote: > On Thu, 31 Jan 2008 19:57:49 -0600 > Chris wrote: > > > Assuming you went from 6.3-RELEASE to 6.3-STABLE and also assuming you > > do not have customization in /etc - here's what I do... > > > > After a cvsup of the src tree (ensuring I want the STABLE branch > > (*default release=cvs tag=RELENG_6) > > > > # cd /usr/src > > # make buildworld > > # make buildkernel KERNCONF=GENERIC (Assuming you use GENERIC) > > # make installkernel KERNCONF=GENERIC (Assuming you use GENERIC) > > # shutdown -r now (no need for Single-User Mode if YOU are the only > > user) > > You can just type: "shutdown now" to go into single user mode. It > avoids the reboot sequence. Going to single user mode is the less important part of rebooting. The other part is that after the reboot you will be running the *new* kernel which might possibly be needed for a successful installworld. It is also a good test that the new kernel actually work. If the new kernel should fail to work it is fairly easy to use the old kernel instead. If you have already overwritten all userland programs with ones which require the new (non-working) kernel it can be difficult to recover from. Just going to single user mode without rebooting misses the point. The important thing is not to go into single user mode, it is to *reboot* into single user mode (or even into multi-user mode if you want to, but there are fewer things that can go wrong when going to single user mode.) > > > # cd /usr/src > > # make installworld > > I prefer to use the following after "make installworld" > > mergemaster -i -v -U > > Read the man pages for mergemaster for further details. > > > # shutdown -r now > > After rebooting, you might want to cd to the /usr/src directory and > run: "make delete-old-libs" to clear out any garbage. It is not > actually required however. > > -- > > Gerard > gerard@seibercom.net > > In the long run we are all dead. > > John Maynard Keynes > -- Erik Trulsson ertr1013@student.uu.se