[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Best way to convert pv to hvm?
Tony Hoyle wrote: Yves-gaël Chény wrote: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 deviceIf 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 liloin userspace (AFAIK loop devices only work on partitions). You can mount it, using the lomount utility provided in /usr/lib/xen/bin: lomount -diskimage /dev/vg/lv -partition 1 /mnt/wherever Tony _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users -- Didier Trosset-Moreau Agilent Technologies Geneva, Switzerland _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |