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:
- Transfer the disk image to you VMware host machine. Beware that the filesystem might be corrupted if you copy a disk from a running machine ;
- Grab Qemu for the Mac and install it ;
You should now have the qemu binaries in
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!