any real documentation of the boot2 prompt?

John Baldwin jhb at freebsd.org
Fri Jan 12 15:26:40 UTC 2007


On Thursday 11 January 2007 23:55, Jo Rhett wrote:
> On Jan 11, 2007, at 8:50 PM, Jo Rhett wrote:
> > So I've been searching for hours now, and it appears that short of  
> > reading the C code, there's no documentation of the boot2 menu prompt.
> 
> I'd like to add to this that the handbook is riddled full of  
> undocumented terms, like BIOS Drive #.  How do you determine this for  
> a SCSI drive?

A BIOS driver number is the number you pass to the BIOS to access a drive.
Typically drive 0x0 is a floppy drive and hard drives start at 0x80.
Usually the SCSI BIOS will list the BIOS driver number during the POST
messages and it will look like 80, 81, etc.  There is no standard way
as it is at the BIOS' discretion.

> And what is the difference between the drive number and the unit  
> number anyway?

Completely unrelated.  Drive number is assigned by the SCSI BIOS, unit
number is assigned by the kernel driver.

To answer your question: you need to first make sure your SCSI BIOS is
registering your second disk with the BIOS.  Assuming it's mapped as
drive 81, you can then use '1:da(1,a)'.  If it shows up as drive 82, then
use 2:da(1,a)', etc.

-- 
John Baldwin


More information about the freebsd-stable mailing list