Anna83
Contributor
Contributor

Import Xen HVM guest disk image to ESX 3.5

I have a 50GB Xen HVM disk image that is stored in a file on my ESX server. It contains a MBR and multiple partitions, so it is the representation of a whole disk. How can I convert this into a usable VMDK disk that I can attach to one of my VMs running on ESX ?

Would it be possible doing this with qemu-img ?

qemu-img convert -f raw disk.img -O vmdk disk.vmdk

I am asking here upfront as I expect this process to take quite a while. Also, is there anything else I need to do ?

Thanks,

Anna

0 Kudos
1 Reply
M__Y_
Enthusiast
Enthusiast

Hi,

I think that it is possible.

A link to convert HVM to VMDK:

Other way: I remember that Xen HVM is Microsoft VHD. If I am right, there is an article on VHD to VMDK conversion :

If the guest is a Windows server, a better way was to use VMware Converter to convert the guest directly from the Xen host to the VMware ESX host.

Regards.