From owner-freebsd-stable Sun Feb 21 14:20:15 1999 Delivered-To: freebsd-stable@freebsd.org Received: from chmls11.mediaone.net (chmls11.mediaone.net [24.128.1.112]) by hub.freebsd.org (Postfix) with ESMTP id 2FBC210E36 for ; Sun, 21 Feb 1999 14:20:09 -0800 (PST) (envelope-from veldy@visi.com) Received: from visi.com (h-182-143.mn.mediaone.net [209.32.182.143]) by chmls11.mediaone.net (8.8.7/8.8.7) with ESMTP id RAA03149; Sun, 21 Feb 1999 17:20:05 -0500 (EST) Message-ID: <36D086DD.AFDD2E23@visi.com> Date: Sun, 21 Feb 1999 16:21:17 -0600 From: "Thomas T. Veldhouse" X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 3.1-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: "Joe \\" Marcus\ " Clarke" Cc: freebsd-stable@FreeBSD.ORG Subject: Re: 3.1 boot loader question References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Also use: set root_disk_unit = 2 Tom Veldhouse veldy@visi.com Joe \"Marcus\" Clarke wrote: > I am running 3.1-RELEASE on a system with a mix of IDE and SCSI drives. > Everytime I boot, the kernel loads, then tries to switch root to da1s1a. > This is an invalid root. Root should be on da0s1a. I have even compiled > into the kernel root on da0, but that does not seem to help. There have > been two ways I found to correct this: > > 1. create a /boot.config file with 1:da(0,a)/kernel in it > 2. get to a boot loader prompt and set root_disk_unit=0 > > Both work, but here is my question. With solution 1, I don't get access > to the cool new boot loader. I rather like it, and would like to be able > to use it from time to time. With option 2, I can't autoboot the system. > IT seems I always have to get to a prompt and set that variable. Is there > a way to save that variable for each boot, or is there a way to make > FreeBSD use da0s1a as root and still use the new BTX loader? Thanks. > Here are some boot loader stats: > > disk 0: Floppy drive > disk 1: IDE internal C: drive with Windows 95 > disk 2: SCSI external D: drive with one partition and the following slices > slice a: FFS (/) > slice b: swap > slice e: FFS (/var) > slice f: FFS (/usr) > slice g: FFS (/usr/local) > slice h: FFS (/home) > disk 3: IDE internal E: drive with one partition and the following slices > slice e: FFS (/usr/ports) > slice f: FFS (/usr/src) > disk 4: SCSI external ZIP drive > FAT 32 > > currdev is set to disk2s1a, but it always panics trying to change root to > da1s1a. > > Joe Clarke > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message