From owner-freebsd-questions Tue May 7 15:03:16 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA13768 for questions-outgoing; Tue, 7 May 1996 15:03:16 -0700 (PDT) Received: from Fieber-John.campusview.indiana.edu (Fieber-John.campusview.indiana.edu [149.159.1.34]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id PAA13758 for ; Tue, 7 May 1996 15:03:13 -0700 (PDT) Received: from localhost (jfieber@localhost) by Fieber-John.campusview.indiana.edu (8.7.5/8.7.3) with SMTP id RAA17112; Tue, 7 May 1996 17:03:06 -0500 (EST) X-Authentication-Warning: Fieber-John.campusview.indiana.edu: jfieber owned process doing -bs Date: Tue, 7 May 1996 17:03:06 -0500 (EST) From: John Fieber X-Sender: jfieber@Fieber-John.campusview.indiana.edu To: "Craig A. Heilman" cc: questions@freebsd.org Subject: Re: PANIC: Cannot mount root In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 ================