Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: why does dk(4) take precedence in boot device selection???



On Fri, Apr 24, 2015 at 12:07:06AM -0700, Greg A. Woods wrote:
> [...]
> Well, perhaps "shove" is the wrong word, but either the boot code is
> lying about where it loads the kernel from and it is filling in
> BTINFO_BOOTWEDGE info when it should not (why the heck would it even

For Xen dom0, the boot loader doens't provide any information about the
boot device (remember that the booted kernel is not NetBSD but Xen in this
case - NetBSD is a module provided to Xen). If you don't specify a root=
option in the boot loader configuration, the NetBSD kernel will use the first
disk device from its list (or something like that).
To avoid problems like that you should always specify a root= option
to a NetSBD/Xen dom0 boot.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index