Importing Virtual Machine Disk (VMDK) on VirtualBox (EN)

In this short article we set up a Virtual Machine using VirtualBox [1] from a virtual disk format VMDK [2] . Assume that the disk VMDK has already been prepared by a working operating system. The disc used as an example for this article was prepared by the Environment SUSE Studio, has a distribution with installed openSUSE 11.3 64bit development tools for Java environments. The version of VirtualBox reference is 4.0 for Mac OS X.

The import procedure is very simple and done entirely through the VirtualBox GUI, the steps are:

  • Start process of creating new virtual machine;
  • Naming the virtual machine;
  • Selecting the type and version operating system;
  • Setting the ram memory;
  • Set storage.

For our purpose, the virtual machine must be initially created without any storage allocated for it later.  Below shows all the steps needed to complete the creation of a virtual machine from a disk VMDK.

The VMDK file used as an example for this article is not currently available on network, it is still available on the network created a Virtual Appliance few months ago to the development environment WSO2 WSF / PHP , you can download the image VMDK at http://susegallery.com/a/2Vav5p/wso2-wsfphp-linux-virtual-appliance .

Figura 1 Step 1 Creazione nuova macchina virtuale.Figure 1 Step 1 Create a new virtual machine.

From the menu Machine-> New you start the process of creating a new virtual machine.

Figura 2 Step 2 Creazione nuova macchina virtuale.Figure 2 Step 2 Create new virtual machine.

Naming, selection of the operating system and version of the new virtual machine.

Figura 3 Step 3 Creazione nuova macchina virtuale.Figure 3 Step 3: Create new virtual machine.

The value should be chosen based on the resources required applications installed or will install the virtual machine.

Figura 4 Step 4 Creazione nuova macchina virtuale.Figure 4 Step 4: Create new virtual machine.

It should not be created any boot disk because it will be assigned later. Going forward, warns that VirtualBox is not selected any boot disk, ignore the warning proceeding anyway.

Figura 5 Step 5 Creazione nuova macchina virtuale.Figure 5 Step 5: Create new virtual machine.

Figura 6 Step 6 Creazione nuova macchina virtuale.Figure 6 Step 6 Creating new virtual machine.

Figura 7 Step 7 Creazione nuova macchina virtuale.Figure 7 Step 7: Create new virtual machine.

The newly created virtual machine appears in the list of virtual machines configured.

Figura 8 Step 8 Creazione nuova macchina virtuale.Figure 8 Step 8 Create a new virtual machine.

Now we need to add the disk to the VMDK virtual machine. Open the settings of the virtual machine and be positioned to the “Storage”. Select the “SATA Controller” and click the Highlight button to add the disk VMDK.

Figura 9 Step 9 Creazione nuova macchina virtuale.Figure 9 Step 9 Creating new virtual machine.

At the request of adding a new disk then “Choose an existing disk. Select the VMDK file to be used as a boot disk for the virtual machine.

Figura 10 Step 10 Creazione nuova macchina virtuale.Figure 10 Step 10 Creating new virtual machine.

Figura 11 Step 11 Creazione nuova macchina virtuale.Figure 11 Step 11 Create a new virtual machine.

About the VMDK disk set as a boot disk for the virtual machine.

Figura 12 Step 12 Creazione nuova macchina virtuale.Figure 12 Step 12 Creating new virtual machine.

Figura 13 Step 13 Creazione nuova macchina virtuale.Figure 13 Step 13 Creating new virtual machine.


[1] VirtualBox is a virtualization software business owner (with an abridged version distributed under the terms of the GNU General Public License) for the x86 architecture that supports Windows, GNU / Linux and Mac OS X (Beta) as host operating systems, and able to run Windows, GNU / Linux, OS / 2 Warp, OpenBSD and FreeBSD as guest operating systems.

[2] VMDK (Virtual Machine Disk) is a file format used by VMware products. This format is described and documented the operational environment of the virtual machine and the manner in which it is stored.

Antonio Musarra

I began my journey into the world of computing from an Olivetti M24 PC (http://it.wikipedia.org/wiki/Olivetti_M24) bought by my father for his work. Day after day, quickly taking control until … Now doing business consulting for projects in the enterprise application development using web-oriented technologies such as J2EE, Web Services, ESB, TIBCO, PHP.

You may also like...

  • http://support.jodohost.com/members/rhysl16.44538/ Boyce

    Terrific blog and fantastic style and design.