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-devel

[Xen-devel] using domain0 file as root disk for domU

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] using domain0 file as root disk for domU
From: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Date: Sat, 16 Jul 2005 06:11:08 -0700
Delivery-date: Sat, 16 Jul 2005 13:09:47 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcWKB9QIu+T3V+yRQJaEvFAT3tvO7Q==
Thread-topic: using domain0 file as root disk for domU
I know I've seen this before but can't find it...

Can someone provide a pointer to (or if simple,
just a quick reply) how to use a domain0 file as
a root disk for a domU?

I am able to mount the file as a loopback device:

mount -o loop,offset=512 -t ext2 /var/xen/sda /mnt

But how do I specify it in xmdefconfig?  I tried:

disk = [ 'phy:/mnt,hda1,w' ]

disk = [ '/mnt,hda1,w' ]

Thanks,
Dan

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

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