VMware Fusion to KVM

mlanner

Renowned Member
Apr 1, 2009
190
1
83
Berkeley, CA
Hi,

I've got a couple of VMware Fusion 3 images that I've built on my Mac. Now I'd like to migrate them to PVE. I've followed the instructions on the wiki, but every time I run:

Code:
qemu-img convert -f vmdk myvm-flat.vmdk -O qcow2 myvm.qcow2
... I get an error saying:

Code:
 qemu-img: Could not open 'myvm.vmdk'
The VM I'm trying to move is an Ubuntu 8.04 Server.

Thanks in advance for any ideas.
 
Hi,

I've got a couple of VMware Fusion 3 images that I've built on my Mac. Now I'd like to migrate them to PVE. I've followed the instructions on the wiki, but every time I run:

Code:
qemu-img convert -f vmdk myvm-flat.vmdk -O qcow2 myvm.qcow2
... I get an error saying:

Code:
 qemu-img: Could not open 'myvm.vmdk'
The VM I'm trying to move is an Ubuntu 8.04 Server.

Thanks in advance for any ideas.

I personally do not know the mac version of vmware but maybe this is a newer vmdk version. so you need to use the vmware converter first to create a compatible vmdk file.
 
Hi Tom,

do you have try to convert the single files in the vmdk pakages?

On the Mac, right click on the VMware Container, select "Paketinhalte anzeigen" then you the all files in the Container. You can copy it to the proxmox server and convert them. Did this work?

Try it with

Code:
qemu-img convert myvm-flat.vmdk -O qcow2 myvm.qcow2

For me, it works.

Regards, Valle
 
Last edited:
Valle,

When you say "Paketinhalte anzeigen," what would that translate to into English? The only "reasonable" option I get from right-clicking is "Compress myvm," but that doesn't make much sense in this case, as I don't want/need a Zip file of my vmdk. Or, are you doing this from within VMware Fusion?

I did find a "Downgrade Virtual Machine" in VMware Fusion. I'll try that first to see if that works.

Thanks.
 
Last edited:
Hi mlanner,

if you go over the finder, and see the vmdk file, you can select click with the right mouse button on the VMware container, you can see all the contents.

If you copy the Container with scp to the proxmox server, you have a directory with all the VMWare container. The you can convert the file. I have converted a file from vmdk -> qcow2 without any error. But i didn´t have try the converted hdd image under proxmox.

Regards, Valle
 
Hi, i use it with Version 2 .. but i think it is working with version 3, too.

Please try the VMWare Converter. I think this will work, too.