From owner-freebsd-stable@FreeBSD.ORG Sun Sep 21 04:13:22 2003 Return-Path: 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 42FAA16A4BF for ; Sun, 21 Sep 2003 04:13:22 -0700 (PDT) Received: from solfertje.student.utwente.nl (solfertje.student.utwente.nl [130.89.167.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82E9943FEC for ; Sun, 21 Sep 2003 04:13:21 -0700 (PDT) (envelope-from dalroi@solfertje.student.utwente.nl) Received: from solfertje.student.utwente.nl (failways.internal [10.236.150.2]) by solfertje.student.utwente.nl (Postfix) with ESMTP id 94A6A410; Sun, 21 Sep 2003 13:13:34 +0200 (CEST) Date: Sun, 21 Sep 2003 13:13:11 +0200 (CEST) From: Alban Hertroys To: Matthew Seaman In-Reply-To: <20030921104920.GB47741@happy-idiot-talk.infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Message-Id: <20030921111334.94A6A410@solfertje.student.utwente.nl> cc: Jacob cc: stable@freebsd.org Subject: Re: upgrading X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Alban Hertroys List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Sep 2003 11:13:22 -0000 On 21 Sep, Matthew Seaman hit a keyboard in the following places: > # shutdown -r now Hmm, I usually prefer to do just: #shutdown now so that I end up in single user mode immedately. I usually check 'ps' to see whether no daemons are running (fleeing?) that should have died. This method has the effect that you're still running the same kernel, but I'm now unsure whether that's a good or a bad thing. If you reboot (with '-r'), you are booting a system where the kernel is upgraded, but the rest of the system isn't. That could cause startup scripts to fail and the like. OTOH, if you don't, are you using the installed install tools or the upgraded ones (which may require the new kernel) when running installworld? I'm getting a bit confused here... > (Various output will scroll past. When prompted for what shell to > run, just hit return) > > # fsck -p > # swapon -a > # mount -a Careful there, you don't want to mount NFS mounts and the like. I usually do (depends on your partitioning): mount -u / mount /tmp mount /var mount /usr I usually leave out /home and other mount points that aren't needed by installworld, so that they can't get corrupted if something gets screwed up (likely by me). Looking at the mount man page, you could also create an alternate "minimal" fstab file, and do mount -a -F . I think I'll have a (f)stab at that... ;) -- Alban Hertroys http://solfertje.student.utwente.nl - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - No, it's not a bug! It's a six-legged feature!