From owner-freebsd-questions Tue Oct 28 13:57:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA24294 for questions-outgoing; Tue, 28 Oct 1997 13:57:56 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA24286 for ; Tue, 28 Oct 1997 13:57:45 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.5) with SMTP id NAA15103; Tue, 28 Oct 1997 13:57:28 -0800 (PST) Date: Tue, 28 Oct 1997 13:57:28 -0800 (PST) From: Doug White Reply-To: Doug White To: Webmaster cc: questions@FreeBSD.ORG Subject: Re: Boot with BIOS drive 1 In-Reply-To: <345653D9.7F94140A@healthnet-sl.es> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, 28 Oct 1997, Webmaster wrote: > I have a system with an IDE HD (BIOS disk #0) and an SCSI one (BIOS disk > #1). I want the OS (FreeBSD 2.2.2) to boot from the SCSI and use the IDE > for simple storage, so I put the booteasy thing on both disks and > arranged to start from the SCSI part, but for some reason it looks for > sd(1,a) instead of sd(0,a), so it panics, etc. If I manually type > "1:sd(0,a)kernel" at boot, it does start correctly. > > So I edited /usr/src/sys/i386/boot/biosboot/boot.c, and put there the > same values of biosdrive, dosdev, maj, etc. that I see when booting to > sd(0,a) as mentioned above, and recompiled and installed the kernel. > However, I must be doing something wrong as nothing changes. You have to instll the bootblocks as they are not part of the kernel itself. Run `make' from the biosboot directory to get new boot1 and boot2, copy to /usr/mdec, then run disklabel -B wd0 to reinstall. if you have an Award BIOS, you can set them to boot SCSI first. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major