From owner-freebsd-questions Sat Oct 25 02:18:21 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA24040 for questions-outgoing; Sat, 25 Oct 1997 02:18:21 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from rvc1.informatik.ba-stuttgart.de (isdn046.stuttgart.netsurf.de [194.195.220.237]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA24033 for ; Sat, 25 Oct 1997 02:18:18 -0700 (PDT) (envelope-from helbig@Informatik.BA-Stuttgart.DE) Received: (from helbig@localhost) by rvc1.informatik.ba-stuttgart.de (8.8.7/8.8.5) id LAA00869; Sat, 25 Oct 1997 11:18:05 +0200 (MET DST) From: Wolfgang Helbig Message-Id: <199710250918.LAA00869@rvc1.informatik.ba-stuttgart.de> Subject: Re: Kernal... In-Reply-To: from Kwoody at "Oct 24, 97 10:50:12 pm" To: kwoody@citytel.net (Kwoody) Date: Sat, 25 Oct 1997 11:18:00 +0200 (MET DST) Cc: questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Ok, I'm ready (I think) to build a kernal. Now in case Ive screwed things ^^^^^^ kernel > up and before I build and install a custom one... > > kernal.GENERIC is a backup kernal? and kernal is the one that gets booted? Yes. > So if something goes foobar, when I'm at a BOOT: prompt I can type: > > boot: wd1(0,a)/kernal.GENERIC No. The root partition must be specified like ``wd(1,a)'' and you have to specify the bios drive number as well, e. g. boot: 1:wd(1,a)/kernel.GENERIC to boot from the second bios drive (``1:'') which is the slave drive on the first IDE controller``wd(1,a)''. But you probably don't want to specify bios drive and root partition at all, so just enter boot: kernel.GENERIC at the boot: prompt to load kernel.GENERIC. > and this would boot me a good kernal to recover from? > Or should I just use chflags noschg and move my /kernal to a safe place? This is done by the ``install'' target of the kernel make file. The /kernel is moved to /kernel.old. Wolfgang