From owner-freebsd-questions Wed Jun 26 00:20:37 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA14207 for questions-outgoing; Wed, 26 Jun 1996 00:20:37 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id AAA14196 for ; Wed, 26 Jun 1996 00:20:32 -0700 (PDT) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id JAA11359; Wed, 26 Jun 1996 09:20:20 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id JAA24165; Wed, 26 Jun 1996 09:20:19 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id JAA10435; Wed, 26 Jun 1996 09:01:08 +0200 (MET DST) From: J Wunsch Message-Id: <199606260701.JAA10435@uriah.heep.sax.de> Subject: Re: Need to figure out how to install a new kernel on boot floppy To: sameer@c2.org Date: Wed, 26 Jun 1996 09:01:08 +0200 (MET DST) Cc: freebsd-questions@FreeBSD.ORG Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199606260121.SAA17741@clotho.c2.org> from "sameer@c2.org" at "Jun 25, 96 06:21:11 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-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As sameer@c2.org wrote: > I need to boot from a custom kernel, from a floppy, and have > it use sd0a as the root device. I tried taking a floppy, installing > boot blocks, building a kernel, and copying the kernel over to it > (using a 2nd machine, which is working) but when the kernel boots, it > tries to use fd0c as the root device even though the kernel config > file said to use sd0a as the root device. boot -r is supposed to do this (see boot(8)). If you need it permanently, i suggest hacking the bootblock source to always set the RB_DFLTROOT flag, and install these bootblocks on the floppy. (The sources are in /sys/i386/boot/biosboot/.) -- 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. ;-)