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

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


  • To: "Paul Larson" <plars@xxxxxxxxxxxxxxxxxxxx>
  • From: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
  • Date: Sun, 17 Jul 2005 15:29:44 -0700
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Sun, 17 Jul 2005 22:29:11 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcWKE7qikKH7hGYcTemCQx4yvgdm+gBCzOrw
  • Thread-topic: [Xen-devel] using domain0 file as root disk for domU

Error: Error creating domain: cannot concatenate 'str' and 'NoneType'
objects 

> >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' ]
> >  
> >
> disk = [ 'file:/var/xen/sda,hda1,w' ]
> 
> Make sure you unmount it in dom0 first! :)

Hmmm... when I try this, I get:

Error: Error creating domain: cannot concatenate 'str' and 'NoneType'
objects 

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


 


Rackspace

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