VirtualBox and vmdk vmx files

VirtualizationVirtualbox

Virtualization Problem Overview


I've seen people on the net offering images of a particular Linux setup, and they offer it as either VMDK/VMX files or ISO files. Now an ISO seems to work with VirtualBox, because I can tell it to mount a CD/DVD drive and use the ISO instead of a physical drive, but the VMDK and VMX files are always listed as being for use with VMWare/VirtualBox.

So how do I use those files with VirtualBox? When I try the Appliance Import Wizard it tells me it only deals with OVF files.

(I'm using Sun VirtualBox 3.0.4)

Virtualization Solutions


Solution 1 - Virtualization

VMDK/VMX are VMWare file formats but you can use it with VirtualBox:

  1. Create a new Virtual Machine and when asks for a hard disk choose "Use an existing hard disk"
  2. Click on the "button with folder and green arrow image on the combo box right" which opens Virtual Media Manager, it looks like this (you can open it directly pressing CTRL+D on main window or in File > Virtual Media Manager menu)...
  3. Then you can add the VMDK/VMX hard disk image and setup it for your virtual machine :)

Solution 2 - Virtualization

Actually, for the configuration of the machine, just open the .vmx file with a text editor (e.g. notepad, gedit, etc.). You will be able to see the OS type, memsize, ethernet.connectionType, and other settings. Then when you make your machine, just look in the text editor for the corresponding settings. When it asks for the disk, select the .vmdk disk as mentioned above.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionLoveMeSomeCodeView Question on Stackoverflow
Solution 1 - VirtualizationeveliotcView Answer on Stackoverflow
Solution 2 - VirtualizationmusicmanView Answer on Stackoverflow