Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Feb 2002 19:44:28 +0100
From:      Cliff Sarginson <csfbsd@raggedclown.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Dropping to single user
Message-ID:  <20020219184428.GA1191@raggedclown.net>
In-Reply-To: <200202191823.g1JINCa35372@zaphod.wox.org>
References:  <20020219180156.ADF165D09@ptavv.es.net> <200202191823.g1JINCa35372@zaphod.wox.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 19, 2002 at 01:23:11PM -0500, Richard Glidden wrote:
> On 19 Feb, Kevin Oberman wrote:
> 
> > Yes, a 'shutdown now' will "drop you to single-user mode, but you
> > REALLY want to reboot after you installkernel and before you
> > installworld. 
> 
> Actually, isn't this dangerous, since you would be booting a new kernel
> with an old world, which could cause problems if there are significant
> changes to the kernel that breaks the old world?  What I usually do is:
> 
> make buildworld
> make buildkernel KERNCONF=xxxx
> shutdown +15 "Upgrading the World.  Be right back."
>   <backup /etc, the old kernel, anything else that's critical>
> make installkernel KERNCONF=xxxx
> mergemaster
> make installworld
> shutdown -r now
> 
Yes, surely the mergemaster *has* to be done before the installworld
since the new world may expect certain new things to exist in /etc.

-- 
Regards
   Cliff Sarginson -- <csfbsd@raggedclown.net>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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