Subject: Re: NetBSD kernel in dom0
To: Andreas Wrede <andreas@planix.com>
From: Christian Limpach <chris@pin.lu>
List: port-xen
Date: 05/21/2004 04:40:20
Hi,
> xen-1.2-fixed.gz did the trick. Thanks.
good!
> I have two disks (wd0 and sd0) in the test machine. Xen is installed on
sd0a,
> and wd0 has the filesystems for dom1 etc. Right now, I have to build two
> kernels with two different 'config netbsd root on ..' config lines in
order to
> get them to use either wd0a or sd0a as root. How can I pass the boot
device
> info to the netbsd kernel so that 'config netbsd root on ? type ?' will
work?
bootdev=wd0a sets the boot device to wd0a. For domain0, you can set it in
grub's menu.lst on the xen12load line and for other domains you can set it
in the config file in /usr/pkg/etc/xc12, cmdline_extra = "bootdev=wd0a".
For other domains you can also only export the disk you need and/or play
some tricks with the disk ordering.
christian