Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Feb 2008 16:01:33 +0100
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        freebsd-questions@freebsd.org
Subject:   Re: CVSup update or upgrade
Message-ID:  <20080201150133.GA36528@owl.midgard.homeip.net>
In-Reply-To: <20080201094530.08c5689e@scorpio>
References:  <1201823233.15358.40.camel@Caffiend.org> <20080131195749.0b6f551d@makeworld.com> <20080201074124.53afe5e3@scorpio> <20080201141459.GA36143@owl.midgard.homeip.net> <20080201094530.08c5689e@scorpio>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 01, 2008 at 09:45:30AM -0500, Gerard wrote:
> On Fri, 1 Feb 2008 15:14:59 +0100
> Erik Trulsson <ertr1013@student.uu.se> 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
> 



-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080201150133.GA36528>