Convert a Xen disk image to VMware

    

I run my production virtual machines on NetBSD/xen. But I’m doing all the testings on VMware Fusion.

Last week, I wanted to grab my production machine and tweak it from my testing environment. Here’s how to convert and use a xen disk image on VMware software:

You should now have the qemu binaries in /opt/local/bin.

Now, convert the disk image:

# /opt/local/bin/qemu-img convert -O vmdk $HOME/luuna.img $HOME/luuna.vmdk 

From within VMware, attach that vmdk disk image and you’re done.

That’s All Folks!