Date: Tue, 19 Feb 2002 11:12:16 -0800 From: "Kevin Oberman" <oberman@es.net> To: Cliff Sarginson <csfbsd@raggedclown.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Dropping to single user Message-ID: <20020219191216.C04715D09@ptavv.es.net> In-Reply-To: Your message of "Tue, 19 Feb 2002 19:44:28 %2B0100." <20020219184428.GA1191@raggedclown.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Tue, 19 Feb 2002 19:44:28 +0100 > From: Cliff Sarginson <csfbsd@raggedclown.net> > Sender: owner-freebsd-questions@FreeBSD.ORG > > 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. Actually, this is probably irrelevant as you should be doing the installworld and mergemaster in single-user mode. It's long been listed as mergemaster last but I just ran though the flow quickly and it looks to me like it will work as well in either order. But it is critical that both installworld and mergemaster be run before the system returns to multi-user mode. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 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?20020219191216.C04715D09>