VMWare to Virtual Box conversion with OVF Tool

To transfer a virtual machine from VMWare Workstation 6.5.1 to Oracle Virtual Box 4.2.6 the virtual machine must be converted to the Open Virtualization Format.

To do this VMWare offers a tool called OVF Tool. It’s available for download from the VMWare homepage.

Converting a virtual machine is quite simple:

In my case I used the command without any options.

After that is done go to Virtual Box and import it through “Import appliance”. The screenshot shows the imported settings. In my case the Virtual Machine failed to import!

vmware-to-vbox-import-first-attempt

The error message “Device is already attached to port 1, device 0 of controller ‘IDE Controller’ of this virtual machine” and some error codes appeared during the import process.

To solve it cancel and close the import process window and open the “Virtual Media Manager”. Check for the created virtual hard drive from the import attempt and delete it.

virtual-media-manager_2013-01-05_13-04-36

If you keep it you might get some error message like “Cannot register the hard disk” when doing the next import attempt.

virtualbox-error-cannot-register-hard-disk

When done with deletion start the “Import appliance” process again and remove the DVD drive from the appliance settings window.

import-virtual-applicance-dvd-drive-removed

Start the import again and it should work now. At least for my case it did.

You can add a DVD drive again later without any issues.

See also