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

Re: [Xen-users] NetBSD-domU on debian-dom0?

Hi Matti,

Martti Kuparinen schrieb:

Dirk H. Schulz wrote:

kernel = "/boot/netbsd-INSTALL_XENU"
memory = 256
name = "NetBSD-Test"
vif=['mac=ae:00:00:78:bd:00, ip=']
disk = [ 'file:/var/xentemp/i386cd-3.0.iso,cd0a,r',
'phy:/dev/LVMvg01/NetBSDTest-boot,wd0d,w' ]
root = "/dev/wd0d"
When I try to start the domU for installing NetBSD I get:

xm create NetBSD-starter.cfg -c
Using config file "NetBSD-starter.cfg".
Error: Error creating domain: vbd: Device not found: wd0d

I assume you don't have /dev/wd0d in your Linux filesystem...
No, as I understand it, the line
"mount the Linux filesystem /dev/LVMvg... into the NetBSD-domU as wd0d".

And the line "root = "/dev/wd0d"" describes the view of the domU (= NetBSD), not of the Linux filesystem (at least it does when I start my Linux domUs) like this:

disk=['phy:/dev/LVMvg01/webstatown01-boot,sda1,w' ...]
root="/dev/sda1 ro"

In this case the given root filesystem is on the block device that is seen from the domU (sda1).

Look at http://www.netbsd.org/Ports/xen/howto.html and see "Creating
Linux unprivileged domains" for instructions how to use hexadecimal
numbers instead of wd0d.
I did not understand that part at all because I do not need hexadecimal numbers with Linux filesystems (at least I never have until now).

Thanks for your help.


Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.