From owner-freebsd-hackers Thu Dec 12 14:51:38 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA14797 for hackers-outgoing; Thu, 12 Dec 1996 14:51:38 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id OAA14785 for ; Thu, 12 Dec 1996 14:51:28 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id XAA00873; Thu, 12 Dec 1996 23:51:19 +0100 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id XAA13637; Thu, 12 Dec 1996 23:51:18 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.2/8.6.9) id XAA13029; Thu, 12 Dec 1996 23:32:48 +0100 (MET) From: J Wunsch Message-Id: <199612122232.XAA13029@uriah.heep.sax.de> Subject: Re: 2.1.5-R kernel root on sd0 fails To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Thu, 12 Dec 1996 23:32:48 +0100 (MET) Cc: lada@ws2301.gud.siemens.co.at (Hr.Ladavac) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199612121819.AA221754747@ws2301.gud.siemens.co.at> from "Hr.Ladavac" at "Dec 12, 96 07:19:07 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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. ;-)