From owner-freebsd-stable Wed Aug 7 9:26:46 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE16837B400 for ; Wed, 7 Aug 2002 09:26:41 -0700 (PDT) Received: from sage-one.net (adsl-65-71-135-137.dsl.crchtx.swbell.net [65.71.135.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 225E743E4A for ; Wed, 7 Aug 2002 09:26:41 -0700 (PDT) (envelope-from jackstone@sage-one.net) Received: from sagea (sagea [192.168.0.3]) by sage-one.net (8.11.6/8.11.6) with SMTP id g77GQdB15384; Wed, 7 Aug 2002 11:26:39 -0500 (CDT) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20020807112638.02d62db8@mail.sage-one.net> X-Sender: jackstone@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Wed, 07 Aug 2002 11:26:38 -0500 To: Chris BeHanna , FreeBSD-Stable From: "Jack L. Stone" Subject: Re: make buildworld In-Reply-To: <20020807121022.G20616-100000@topperwein.dyndns.org> References: <3.0.5.32.20020807100608.02d62db8@mail.sage-one.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 At 12:13 PM 8.7.2002 -0400, Chris BeHanna wrote: >On Wed, 7 Aug 2002, Jack L. Stone wrote: > >> Why this: >> shutdown -r now >> # (make sure the system comes up) >> shutdown -r now >> # (come up in single-user mode this time) >> >> Rather than this? >> Drop to single user mode: >> # shutdown +10 "ALERT Upgrading the OS. Please log off now." >> # reboot >> # hit spacebar at timer notice to stop boot >> # boot -s >> # fsck -p >> # mount -u / >> # mount -a -t ufs >> # swapon -a > > If the new kernel has a problem, you won't get any warning with >your method. It's easier to back out a bad kernel than a bad >installworld. Furthermore, fsck -p is superfluous given a clean >shutdown (although it certainly doesn't hurt). > >-- >Chris BeHanna http://www.pennasoft.com >Principal Consultant >PennaSoft Corporation >chris@pennasoft.com > No, no... I was only referring to your multi-user boot method vs single-user. I just didn't show what I do before the boot. Of course, I ALWAYS test the new kernel first, like so showing step #5 down to #8 again: 5) Compile and install the new kernel: # cp kernel kernel.org 6) Compile the kernel. # cd /usr/src # make buildkernel KERNCONF=MYKERNEL 7) Install the new kernel. # make installkernel KERNCONF=MYKERNEL 8) Drop to single user mode: # shutdown +15 "ALERT Upgrading the OS. Please log off now." # reboot # hit spacebar at timer notice to stop boot # boot -s # fsck -p # mount -u / # mount -a -t ufs # swapon -a Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message