Import OVF and OVA Virtual Machine Images in VMware and Virtualbox


To totally unlock this section you need to Log-in


Login

This guide explains how to import virtual machine images in the vendor neutral OVF and OVA format into VMware and Virtualbox. Virtualbox is totally a free tool. VMware comes in free version too (VMware Player and VMware ESXi) but it have certain limitations in its functionality.

In Virtualbox, when you create a new virtual machine, the default file format is .VDI. While there are options to use the VMDK (for VmWare), or VHD (for VirtualPC) format, there doesn’t seem to be a way to import in an existing VM of OVA format.

OVF, also known as Open Virtualization Format, is one of the way to standardize virtual appliance so they can be imported and use in different virtualization software. A virtual appliance in OVF format usually consist of a series of files. The OVA format is merely a single file distribution of the OVF, stored in the TAR format. In this tutorial, we will show you how to import and export an OVA file into/from Virtualbox.

Importing OVA file to Virtualbox

Assuming you already have your OVA file ready, in Virtualbox, you just have to go to “File -> Import Appliance” in the menu bar.

Import OVF and OVA Virtual Machine Images in VMware and Virtualbox

Click the “Open Appliance” button to select your OVA file. Once you have selected the file, click “Next”.

Import OVF and OVA Virtual Machine Images in VMware and Virtualbox

The next window will show you the configuration of the current virtual appliance. You can scroll through the configuration list and double click on any item (or check/uncheck the box) to make changes to it. Lastly, click “Import”.

Import OVF and OVA Virtual Machine Images in VMware and Virtualbox

Virtualbox will proceed to import the virtual machine into your library. Depending on the size of your OVA file, the import process could take quite a while.

Once the process is completed, you should be able to see the new VM in your list.

Import OVF and OVA Virtual Machine Images in VMware and Virtualbox

Exporting VDI to OVA file

To export a VDI file (the default format for Virtualbox) to a OVA file so you can re-import in another virtual machine, you just have to go to “File -> Export Appliance” in the menu bar.

Import OVF and OVA Virtual Machine Images in VMware and Virtualbox

It will then prompt you to select the disk image that you want to export. In this case, we select the “Windows 7” image. Note that you can select multiple image at the same time.

Import OVF and OVA Virtual Machine Images in VMware and Virtualbox

Next, select the path and filename where the OVA file will be exported. You will notice that Virtualbox will automatically append a .ova extension to the end of the appliance. You can, if you wish, change it to the .ovf extension. In this case, multiple files will be created instead of a single file.

Import OVF and OVA Virtual Machine Images in VMware and Virtualbox

The next screen is the Appliance Settings page where you can review and edit the appliance configuration. In most cases, we will just leave this as the default.

Import OVF and OVA Virtual Machine Images in VMware and Virtualbox

Lastly, click the “Export” button. Note that Virtualbox will first convert your image to vmdk format (the default in VMWare) first before packaging it in OVA format.

Import OVF and OVA Virtual Machine Images in VMware and Virtualbox

That’s it.

Export VM from VMware vCenter 5 in OVF

To start with we need power off the virtual machines that we are going to export.

Import OVF and OVA Virtual Machine Images in VMware and Virtualbox

Once the virtual machine is powered off we are ready to export the virtual machine as an OVF. Highlight the virtual machine in question the select File > Export > Export OVF Template.

Import OVF and OVA Virtual Machine Images in VMware and Virtualbox

Then give the OVF a simple name, the directory on the system you would like to save it to and leave the OVF format as standard. Make sure you take the tick out of the option to also copy mounted media with the OVF.

Import OVF and OVA Virtual Machine Images in VMware and Virtualbox

The process will start. Be aware this may take a LONG time depending on the size of your VMDK`s. Have a coffee.

Import OVF and OVA Virtual Machine Images in VMware and Virtualbox

Once finished you will see the message stating the the export has been successful. Now, we nee to launch VMware Workstation (8 in my case ). Then select File > Open.

Import OVF and OVA Virtual Machine Images in VMware and Virtualbox

In the open screen, change the open format to OVF and then select your OVF and import it.

Import OVF and OVA Virtual Machine Images in VMware and Virtualbox

Import OVF and OVA Virtual Machine Images in VMware and Virtualbox

The system will now go away and import the OVF file into workstation 8.Again, be aware this will take a fair amount of time depending on the size of the OVF. Then you will be able to power the machine on with no problems.