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

Re: [Xen-users] Best way to convert pv to hvm?



Yves-gaël Chény wrote:
If i understand it's linux domain.

  1. make a disk file qemu-img for example
  2. mount the partition of you PV in the dom0 and the qemu disk-file
  3. make a rsync -a between the two mount point
  4. make a /boot with kernel, initrd ....
  5. running in hvm mode on a linux live cdrom
  6. install a grub or a lilo

Step 2 is an issue though, since it's a whole disk image you have a partition 
table -
you can't simply mount it, unless there's some way to convert it into a block 
device
in userspace (AFAIK loop devices only work on partitions).

Tony

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


 


Rackspace

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