Date: Thu, 12 Dec 1996 23:32:48 +0100 (MET) From: J Wunsch <j@uriah.heep.sax.de> To: freebsd-hackers@freebsd.org (FreeBSD hackers) Cc: lada@ws2301.gud.siemens.co.at (Hr.Ladavac) Subject: Re: 2.1.5-R kernel root on sd0 fails Message-ID: <199612122232.XAA13029@uriah.heep.sax.de> In-Reply-To: <199612121819.AA221754747@ws2301.gud.siemens.co.at> from "Hr.Ladavac" at "Dec 12, 96 07:19:07 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
As Hr.Ladavac wrote:
> I added
>
> kernel root on sd0 swap on sd0
This should not be needed, unless you boot with the -r option.
> to the config file, re-ran config and had a panic: cannot set sd1
> root device.
Ah, wait a minute... you had the IDE drive still enabled in the BIOS?
Then it's obvious: you gotta boot with
1:sd(0,a)/kernel
Disabling the IDE drive in the BIOS is also an option (you could still
use it from BSD anyway).
> I did manage it afterwards by hardcoding makedev(4,0) in autoconfig.c
> and swapgeneric.c as the rootdev, but this is not exactly the solution
^^^^^^^^^^^^^
> I sought for.
swapgeneric.c is only used if you configure your kernel as
config kernel swap generic
--
cheers, J"org
joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612122232.XAA13029>
