Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Oct 1997 11:18:00 +0200 (MET DST)
From:      Wolfgang Helbig <helbig@Informatik.BA-Stuttgart.DE>
To:        kwoody@citytel.net (Kwoody)
Cc:        questions@FreeBSD.ORG
Subject:   Re: Kernal...
Message-ID:  <199710250918.LAA00869@rvc1.informatik.ba-stuttgart.de>
In-Reply-To: <Pine.BSF.3.91.971024224018.6409A-100000@mybsd.net> from Kwoody at "Oct 24, 97 10:50:12 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710250918.LAA00869>