VirtualBox 4: Importing and Exporting Virtual Machines




[Return to VirtualBox: LSU Overview]
 

General Information

VirtualBox is capable of importing and exporting virtual machines in the standard Open Virtualization Format (OVF). The Open Virtualization Format is uniform across a wide range of virtualization software products, which allows for virtual machines to be imported to a program like VirtualBox. OVF is supported by VirtualBox with the graphical user interface as well as the command line. This creates the option to package Virtual Appliances, which are disk images combined with configuration settings to be distributed with ease from one virtualization product to another.

A virtual appliance will contain the following files, which must be located in the same directory for the files to be imported by VirtualBox:

  • One or more disk images (usually in VMDK format)
  • A textual description file with the .ovf extension (in XML dialect)
     

To import a virtual appliance in OVF format

1. Select File | Import Appliance from the taskbar at the top of the window. 

screenshot of the import appliance command.


2. The Appliance Import Wizard will appear. Open the file dialog and select the OVF text file with the .ovf file extension.

screenshot of the welcome screen.


3. The wizard will then display the virtual machines in the OVF file. Users can double-click on the description items to configure the settings of the VM. Upon clicking Import, the disk images will be copied and the virtual machines will be created according to the settings that are explained in the dialog.

Note: The VMDK images of virtual appliances will need to be decompressed and copied before the VM is able to use it. This is so due to the large size of these files which are usually delivered in a compressed format.


To export a virtual appliance in OVF format

1. Click the VM. Select File | Export Appliance from the taskbar at the top of the window.

screenshot of the export appliance command.


2. The Appliance Export Wizard will then appear. Various windows will allow users to merge many virtual machines into an OVF appliance and to choose a target location where the VMDK and OVF files will be stored. The conversion process will then be initiated.

screenshot of the welcome screen.

screenshot of the export screen.



Referenced from: Virtualbox.org
 



13838  
10/3/2013 12:21:58 PM  

We love feedback! Please help us improve this article.


Article Rating:
Email Address:
(Optional, unless you would like to hear back from us)
Comments:
GROK is a resource of Louisiana State University developed and maintained with support of the LSU Student Technology Fee.  We love getting feedback from the general public, but our one on one support efforts are generally dedicated to the LSU community.  Thanks for your understanding!
"" ""

Information Technology Services
200 Frey Computing Center · Baton Rouge, LA 70803
Telephone: 225-578-3700 · Fax: 225-578-3709 · E-mail: helpdesk@lsu.edu

Copyright © 2006. All Rights Reserved. Official Webpage of Louisiana State University.