Date: Fri, 12 Jan 2007 10:25:15 -0500 From: John Baldwin <jhb@freebsd.org> To: freebsd-stable@freebsd.org Cc: Jo Rhett <jrhett@svcolo.com> Subject: Re: any real documentation of the boot2 prompt? Message-ID: <200701121025.15555.jhb@freebsd.org> In-Reply-To: <09710CBA-0006-4502-B5F7-6048B290D3B8@svcolo.com> References: <E22808FA-5C42-443E-AA32-0DA3247077AC@svcolo.com> <09710CBA-0006-4502-B5F7-6048B290D3B8@svcolo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701121025.15555.jhb>