VirtualBox 和 vmdk vmx 文件

我看到网上有人提供特定 Linux 设置的映像,他们提供的是 VMDK/VMX 文件或 ISO 文件。现在 ISO 似乎可以用于 VirtualBox,因为我可以告诉它挂载一个 CD/DVD 驱动器并使用 ISO 而不是物理驱动器,但是 VMDK 和 VMX 文件总是被列为用于 VMWare/VirtualBox。

那么如何在 VirtualBox 中使用这些文件呢?当我尝试设备导入向导时,它告诉我它只处理 OVF 文件。

(我使用的是 Sun VirtualBox3.0.4)

166486 次浏览

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 :)

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.