WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: Martti Kuparinen <martti.kuparinen@xxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] NetBSD-domU on debian-dom0?
From: "Dirk H. Schulz" <dirk.schulz@xxxxxxxxxxxxx>
Date: Mon, 06 Feb 2006 18:32:24 +0100
Delivery-date: Mon, 06 Feb 2006 17:43:22 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <43E7818C.40209@xxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <43D7603C.9040107@xxxxxxxxxxxxx> <43D763F4.6030803@xxxxxx> <43E72E95.1000603@xxxxxxxxxxxxx> <43E7818C.40209@xxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.7 (Macintosh/20050923)
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=217.64.170.28']
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
       "phy:/dev/LVMvg01/NetBSDTest-boot,wd0d,w"
means
"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.

Dirk

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>