From owner-freebsd-questions@FreeBSD.ORG Fri Feb 1 15:01:37 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 5B2D516A41A for ; Fri, 1 Feb 2008 15:01:37 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id D2AE713C455 for ; Fri, 1 Feb 2008 15:01:36 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-25-183.bredband.comhem.se ([83.253.25.183]:51102 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1JKxOY-0005Ik-7C for freebsd-questions@freebsd.org; Fri, 01 Feb 2008 16:01:34 +0100 Received: (qmail 56850 invoked from network); 1 Feb 2008 16:01:33 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 1 Feb 2008 16:01:33 +0100 Received: (qmail 36601 invoked by uid 1001); 1 Feb 2008 16:01:33 +0100 Date: Fri, 1 Feb 2008 16:01:33 +0100 From: Erik Trulsson To: freebsd-questions@freebsd.org Message-ID: <20080201150133.GA36528@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> <20080201141459.GA36143@owl.midgard.homeip.net> <20080201094530.08c5689e@scorpio> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080201094530.08c5689e@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 1JKxOY-0005Ik-7C. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1JKxOY-0005Ik-7C 38bcc3418f6e1beb3b9e0cb8776d3ce6 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 15:01:37 -0000 On Fri, Feb 01, 2008 at 09:45:30AM -0500, Gerard wrote: > On Fri, 1 Feb 2008 15:14:59 +0100 > Erik Trulsson wrote: > > {snip] > > > 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.) > > From: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html >From the same document: 23.4.9 Reboot into Single User Mode You should reboot into single user mode to test the new kernel works. Do this by following the instructions in Section 23.4.5 /usr/src/UPDATING (which contains the really official instructions for how to upgrade) also tells you to reboot. Just going into single user mode without rebooting is not very useful. The section of the handbook you quote below should probably be rewritten somewhat. > > 23.4.5 Drop to Single User Mode > > You may want to compile the system in single user mode. Apart from the > obvious benefit of making things go slightly faster, reinstalling the > system will touch a lot of important system files, all the standard > system binaries, libraries, include files and so on. Changing these on > a running system (particularly if you have active users on the system > at the time) is asking for trouble. > > Another method is to compile the system in multi-user mode, and then > drop into single user mode for the installation. If you would like to > do it this way, simply hold off on the following steps until the build > has completed. You can postpone dropping to single user mode until you > have to installkernel or installworld. > > As the superuser, you can execute: > # shutdown now > > from a running system, which will drop it to single user mode. > > -- > > Gerard > gerard@seibercom.net > > The greatest productive force is human selfishness. > > Robert Heinlein > -- Erik Trulsson ertr1013@student.uu.se