Date: Tue, 7 May 1996 17:03:06 -0500 (EST) From: John Fieber <jfieber@indiana.edu> To: "Craig A. Heilman" <craigh@bugsoft.com> Cc: questions@freebsd.org Subject: Re: PANIC: Cannot mount root Message-ID: <Pine.NEB.3.93.960507165358.14157A-100000@Fieber-John.campusview.indiana.edu> In-Reply-To: <v02130506adb52bdd2da5@[205.213.64.30]>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 7 May 1996, Craig A. Heilman wrote: > As you can see, if I enter hd(1,a)/kernel at the Boot prompt, it finds the > correct root partition, but if I let it default, it incorrectly attempts to > use sd1a as the root partition. What is the EASIEST way to fix this so it > defaults to the proper partition? You need the kernel source (or at least one critical part of it, but I don't know offhand what other dependencies there may be). in /usr/src/sys/i386/boot/biosboot/Makefile add: CFLAGS+= -DBOOT_HD Then make Then (as root) make install disklabel -B sd0 Then reboot. (Note: This does *not* work with FreeBSD-current, nor does -DBOOT_HD_BIAS=1, contrary to what the documentation says. Some slight hackery on boot.c is necessary.) -john == jfieber@indiana.edu =========================================== == http://fallout.campusview.indiana.edu/~jfieber ================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.93.960507165358.14157A-100000>