Date: Fri, 1 Feb 2008 09:45:30 -0500 From: Gerard <gerard@seibercom.net> To: freebsd-questions@freebsd.org Subject: Re: CVSup update or upgrade Message-ID: <20080201094530.08c5689e@scorpio> In-Reply-To: <20080201141459.GA36143@owl.midgard.homeip.net> References: <1201823233.15358.40.camel@Caffiend.org> <20080131195749.0b6f551d@makeworld.com> <20080201074124.53afe5e3@scorpio> <20080201141459.GA36143@owl.midgard.homeip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/A_n5leLpbBMeF24K=4yEWv3 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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. >=20 > 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.)=20 From: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html 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. --=20 Gerard gerard@seibercom.net The greatest productive force is human selfishness. Robert Heinlein --Sig_/A_n5leLpbBMeF24K=4yEWv3 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEARECAAYFAkejMIsACgkQ6DWTaTcTwMkJGQCeM2G9Db7vPGPKaYMrZLgAzJts ji8An05/NA7dNy5XJw6E4SmaJi4NWHIo =FjwM -----END PGP SIGNATURE----- --Sig_/A_n5leLpbBMeF24K=4yEWv3--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080201094530.08c5689e>