Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Oct 1997 13:57:28 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Webmaster <webmaster@healthnet-sl.es>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Boot with BIOS drive 1
Message-ID:  <Pine.BSF.3.96.971028135612.15098A-100000@gdi.uoregon.edu>
In-Reply-To: <345653D9.7F94140A@healthnet-sl.es>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971028135612.15098A-100000>