Date: Wed, 26 Jun 1996 09:01:08 +0200 (MET DST) From: J Wunsch <j@uriah.heep.sax.de> To: sameer@c2.org Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Need to figure out how to install a new kernel on boot floppy Message-ID: <199606260701.JAA10435@uriah.heep.sax.de> In-Reply-To: <199606260121.SAA17741@clotho.c2.org> from "sameer@c2.org" at "Jun 25, 96 06:21:11 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606260701.JAA10435>