any real documentation of the boot2 prompt?

Suleiman Souhlal ssouhlal at FreeBSD.org
Fri Jan 12 07:54:28 UTC 2007


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


More information about the freebsd-stable mailing list