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. Sure, it says drive:driver(unit,slice,part) But no combination of those three that I can find actually works. There's two LUNs: drive 0: single 2TB slice drive 1: 264GB, with root, swap, etc How do I tell boot2 to find the loader on disk1? 1:da(1,a) 1:da(1,1,a) 1:da(0,1,a) 1:da(0,a) 0:da(1,a) 0:da(0,a) ...etc none of them work. -- Jo Rhett senior geek Silicon Valley Colocation
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? And what is the difference between the drive number and the unit number anyway? That entire section is actually impossible to decipher except for the single drive IDE disk scenario which is documented there. -- Jo Rhett senior geek Silicon Valley Colocation
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. > > Sure, it says drive:driver(unit,slice,part) > > But no combination of those three that I can find actually works. > > There's two LUNs: > drive 0: single 2TB slice > drive 1: 264GB, with root, swap, etc > > How do I tell boot2 to find the loader on disk1? > > 1:da(1,a) > 1:da(1,1,a) > 1:da(0,1,a) > 1:da(0,a) > 0:da(1,a) > 0:da(0,a) > ...etc none of them work.Take a look at boot(8). I think you need to specify the file to load: 1:da(1,a)/boot/loader -- Suleiman
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. > > Sure, it says drive:driver(unit,slice,part) > > But no combination of those three that I can find actually works. > > There's two LUNs: > drive 0: single 2TB slice > drive 1: 264GB, with root, swap, etc > > How do I tell boot2 to find the loader on disk1? > > 1:da(1,a) > 1:da(1,1,a) > 1:da(0,1,a) > 1:da(0,a) > 0:da(1,a) > 0:da(0,a) > ...etc none of them work. > > --Jo Rhett > senior geek > Silicon Valley Colocation >What does lsdev or whatever it was say? Does it show any devices besides the raw disks? I had similar problem with ASUS Vintage-PE1 hardware. It never showed any devices to boot except two raw disks (I had GEOM Mirror setup). And I never found a way to work around this. -- VH -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 542 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20070112/f8de23e0/signature.pgp
V?clav Haisman wrote:> What does lsdev or whatever it was say? Does it show any devices besides > the raw disks?So I booted from CD and ran lsdev, and showed something like this (from memory) 0: Drive A 2: Disk 0 1: FFS -- Jo Rhett senior geek Silicon Valley Colocation