From owner-freebsd-stable Wed Apr 24 13:50:42 2002 Delivered-To: freebsd-stable@freebsd.org Received: from empty1.ekahuna.com (empty1.ekahuna.com [198.144.200.196]) by hub.freebsd.org (Postfix) with ESMTP id 7D35C37B41F for ; Wed, 24 Apr 2002 13:50:36 -0700 (PDT) Received: from pc-02 (pc02.ekahuna.com [198.144.200.197]) by empty1.ekahuna.com (Post.Office MTA v3.5.3 release 223 ID# 0-0U10L2S100V35) with ESMTP id com; Wed, 24 Apr 2002 13:48:56 -0700 From: "Philip J. Koenig" Organization: The Electric Kahuna Organization To: stable@FreeBSD.ORG Date: Wed, 24 Apr 2002 13:48:56 -0700 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: mergemaster theory (was: Re: /etc/defaults/rc.conf theory) Reply-To: pjklist@ekahuna.com Cc: "Kevin Oberman" References: Your message of "Tue, 23 Apr 2002 22:59:46 PDT." <20020424055947185.AAA739@empty1.ekahuna.com@pc02.ekahuna.com> In-reply-to: <20020424182347.D2E1A5D08@ptavv.es.net> X-mailer: Pegasus Mail for Win32 (v3.12c) Message-ID: <20020424204856186.AAA756@empty1.ekahuna.com@pc02.ekahuna.com> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 24 Apr 2002, at 11:23, Kevin Oberman boldly uttered: > > > On Tue, 23 Apr 2002, Philip J. Koenig wrote: > > My usual sequence is: > > > > [multi-user] > > - cvsup > > - buildworld > > - buildkernel > > > > [restart into single-user, since shutting down to single-user can > > cause problems with ie kern securelevel] > > - mount filesystems, swap, run adjkerntz -i > > - installkernel > > - installworld > > - mergemaster > > - final cleanup/backup > > - reboot > > > > Reason being I've always read/been told that this is standard > > practice because changing system files while in multi-user mode can > > cause various problems. I always thought mergemaster had to come > > after the install step. > > This is NOT standard practice. You need to do the installkernel before the > reboot. Either do this immediately after the buildkernel or just > make kernel which is the same as "make buildkernel installkernel". > > If you reboot before installing hte kernel, you are NOT confirming that > the new kernel will run. > cvsup > buildworld > buildkernel > installkernel > reboot new kernel > mount -a -t ufs > installworld > mergemaster > reboot or exit > > R. Kevin Oberman > Network Engineer > ESnet--The Energy Sciences Network You are correct - I diverge from the usual recommendation in that I usually install the kernel with the world. In the past I actually found that worked better for me, although in the future I may re- evaluate that. However the point I had been making was unrelated - it was re: running mergemaster in single-user mode (the natural progression when having to boot single-user to finish the steps prior to mergemaster), which entails certain limitations about how one can run mergemaster. Some people have made some suggestions about how to workaround that - ie Mike suggested CTRL-Z while in mergemaster, I've never used that feature so I now consider myself duly enlightened on that :-), and I mused about perhaps running screen prior to mergemaster. (all in the interest of looking/backing up/changing things while mergemaster is running) -- Philip J. Koenig pjklist@ekahuna.com Electric Kahuna Systems -- Computers & Communications for the New Millenium To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message