How to migrate VMs from VirtualBox to VMware


When we talk about Virtual Machines (VMs) we always talk about VMware VMs. VMware has been dominating the x86 virtualization market for years. There are still other vendors out there that also deliver x86 virtualization solutions. One of those is Oracle VirtualBox for example.

VirtualBox is a free and open-source hypervisor for x86 virtualization that was originally released by Innotek GmbH in 2007. Sun Microsystems acquired Innotek in 2008 and Oracle bought Sun in 2010. Since then, the product is known as Oracle VirtualBox.

VirtualBox is a so-called “Type 2 hypervisor”, which means it runs on top of an operating system such as Windows, Linux or macOS. VMware Workstation for Windows/Linux and VMware Fusion for MacOS are type 2 hypervisors.

A “Type 1 hypervisor” runs directly on bare metal. KVM and VMware ESXi are examples of type 1 hypervisors.

Type 2 hypervisors are often used on workstations or laptops to spin up additional machines with isolated operating systems. For example, you can install Windows on a MacBook inside a type 2 hypervisor. Software developers also make frequent use of type 2 hypervisors because they can spin up isolated Dev/Test environments very easily.

This post will explain how to migrate Virtual Machines from Oracle VirtualBox to VMware Fusion and to VMware ESXi.


The environment used to detail the steps required for this migration is fairly straightforward.

Tools used

There are multiple ways to migrate a Virtual Machine between hypervisors and various tools can play a role. VirtualBox can export a Virtual Machine to an Open Virtualization Format Archive (OVA). OVA is an open standard for packaging and distributing virtual appliances and is widely supported. Finally, there are tons of third party solutions in the market that support this type of migration.

Step-by-step process

In this process, we are going to export the VirtualBox VM to OVA format which we will be importing in VMware Fusion and ESXi.

Exporting to OVA

  1. In VirtualBox, shut down the VM
  2. Go to File, Export Appliance and select the VM to export
  3. Click Continue
  4. Click Export

Importing the OVA in VMware Fusion

  1. In VMware Fusion, go to File, Import
  2. Select Choose File and select the exported OVA
  3. Click Continue
  4. Provide a name for the imported VM and click Save
  5. If you get an error on the OVF specification conformance or virtual hardware compliance, click Retry
  6. After the import completes, click Customize Settings to verify the VM specifications.
  7. If everything checks out, click Finish

Importing the OVA in VMware ESXi

Using the same exported OVA from the previous process, we will now be importing it into VMware ESXi, which is a bare metal Type 1 hypervisor.

  1. In the ESXi UI, click Create / Register VM
  2. Select Deploy a virtual machine from an OVF or OVA and click Next
  3. Provide a name for the VM and “Click to select files or drag/drop”
  4. Select the OVA and click Next
  5. Select a datastore and click Next
  6. Select a suitable network, disk provisioning method and click Next
  7. Click Finish and wait for the import to finish.


We have successfully migrated an Ubuntu VM to both VMware Fusion and to VMware ESXi. Typically, you would migrate more often from VirtualBox to Fusion because both are type 2 hypervisors that run on a workstation or laptop. ESXi is a datacenter product that mostly runs backend servers.


Leave a Comment

WC Captcha ten × one =