From owner-freebsd-questions Tue Feb 19 11:12:22 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by hub.freebsd.org (Postfix) with ESMTP id E4FB337B416 for ; Tue, 19 Feb 2002 11:12:16 -0800 (PST) Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Postfix) with ESMTP id C04715D09; Tue, 19 Feb 2002 11:12:16 -0800 (PST) To: Cliff Sarginson Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Dropping to single user In-reply-to: Your message of "Tue, 19 Feb 2002 19:44:28 +0100." <20020219184428.GA1191@raggedclown.net> Date: Tue, 19 Feb 2002 11:12:16 -0800 From: "Kevin Oberman" Message-Id: <20020219191216.C04715D09@ptavv.es.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Date: Tue, 19 Feb 2002 19:44:28 +0100 > From: Cliff Sarginson > 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." > > > > 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