How to convert VMware to VirtualBox virtual machine

  • 07 March 2017
  • ADM

 

How to convert VMware to VirtualBox virtual machine - images/logos/vm.jpg

 

If you already have your virtual machines set up using VMware, you don't necessarily have to install them from scratch if you need it to be used in VirtualBox, the solution is to migrate your existing virtual machines.

VMware and VirtualBox use different virtual machine formats, but each supports the standard Open Virtualization Format (OVF). Converting your existing virtual machine to OVF or OVA, you will be able to import it into another virtual machine program.

Step 1 - Power off

Before migrating a virtual machine from VMware to VirtualBox, ensure it's "powered off" in VMware - not suspended. If it's suspended, launch the virtual machine and shut it down.

If you are using VMware Workstation:

How to convert VMware to VirtualBox virtual machine - /images/VMwareToVirtualBox002.png

If you are using VMware Player:

How to convert VMware to VirtualBox virtual machine - /images/VMwareToVirtualBox001.png

Step2 - Export the appliance

Browse to the OVFTool folder. If you are using VMware Player, you will find it at C:\Program Files (x86)\VMware\VMware Player\OVFTool. If you are using VMware Workstation you will find it at C:\Program Files (x86)\VMware\VMware Workstation\OVFTool.

Hold Shift, right-click inside the OVFTool folder, and select Open command window here.

How to convert VMware to VirtualBox virtual machine - /images/VMwareToVirtualBox003.png

Run ovftool with the following command:

ovftool sourceVM.vmx exportVM.ovf

In my case:

C:\Program Files (x86)\VMware\VMware Workstation\OVFTool>ovftool.exe d:\admfactory.com\vmware\Windows7_x64.vmx d:\admfactory.com\virtualbox\Windows7_x64.ovf

Now it's time to wait. Depending on the virtual machine size and the PC power this will take some time.

How to convert VMware to VirtualBox virtual machine - /images/VMwareToVirtualBox004.png

Step3 - Import the appliance

Once the process is complete, you can import the .ovf file into VirtualBox.

How to convert VMware to VirtualBox virtual machine - /images/VMwareToVirtualBox005.png

Select the .OVF file and press Next to continue.

How to convert VMware to VirtualBox virtual machine - /images/VMwareToVirtualBox006.png

You can edit the virtual machine details. Press Import to start the import.

How to convert VMware to VirtualBox virtual machine - /images/VMwareToVirtualBox007.png

Now it's time to wait again. Depending on the virtual machine size and the PC power this will take some time.

How to convert VMware to VirtualBox virtual machine - /images/VMwareToVirtualBox008.png

After the process completes, you should uninstall VMware Tools from the Control Panel inside the virtual machine, and install VirtualBox Guest Additions from the virtual machine's menu. This will activate the sharing tools between the host and the guest.

 

References