How to convert VirtualBox and VMware virtual machines to each other

Source: Internet
Author: User
Tags windows 7 x64

Migrating to other virtual machine programs can intimidate a group of people. If you've set up a virtual machine to your liking, you don't need to install it again-you can migrate existing virtual machines.

VirtualBox and VMware use different virtual machine formats, but they all support standard, open virtualization formats. You can import other virtual machine programs by converting an existing virtual machine to Ovf/ova format.

Unfortunately, this does not always work. Because VirtualBox and VMware appear to use a slightly different OVA/OVF implementation, they are not fully compatible. If this does not work, you may need to reinstall the virtual machine's client operating system. VirtualBox conversion to VMware

Before migrating Virtualbox (hereinafter referred to as vbox--translator) virtual machines to VMware, make sure that the virtual machine is "closed" in Vbox-not suspended. If it is a suspend state, start the virtual machine and turn it off.

Click the Vbox Management menu and choose to export the virtual computer.

Select the virtual machines you want to export and choose where to save the files.

Vbox creates an open virtualization format package (OVA file) that enables VMware to import. Depending on the size of the virtual machine disk file, this process takes a little while.

To import this OVA file into VMware, click Open the Virtual machine option and find your OVA file.

VirtualBox and VMware are not perfectly compatible, so you may see a warning message telling you that the file "cannot be validated by OVF specification"--but if you click Retry, you may import and successfully run the virtual machine.

After the process is over, you can start the virtual machine in VMware, uninstall Vbox enhancements (VirtualBox Guest additions) in the Virtual machine Control Panel, and install the VMware tools in the Virtual machine menu. VMware conversion to VirtualBox

Before migrating VMware virtual machines to Vbox, make sure that the status of VMware is "power off"-not suspended. If it is suspended, start the virtual machine and turn off the computer.

Next, locate the directory where Ovftool resides. If you are using VMware Player, the directory is \vmware\vmware player\ovftool similar to C:\Program Files (x86). Hold down the Shift key and right-click to select the Command Line window to open here.

Run Ovftool with the following syntax:

Ovftool SOURCE.VMX export.ovf

For example, if we convert a virtual machine located at C:\Users\NAME\Documents\Virtual machines\windows 7 x64\windows 7 x64.vmx, and create a OVF located in C:\Users\NAME\ EXPORT.OVF, we need to execute the following command:

Ovftool "C:\Users\NAME\Documents\Virtual machines\windows 7 x64\windows 7 X64.VMX" C:\Users\NAME\export.ovf

If you are prompted to "open this disk failed" error, it is most likely that the virtual machine is still running or is not shutting down properly-start the virtual machine and perform a shutdown operation.

After the procedure is complete, you can import the. ovf file into Vbox using the Import virtual computer option from the Administration menu.

After the import is complete, you can start the virtual machine, uninstall the VMware tools, and install the Virtualbox Client Enhancement tool.

Http://www.cnblogs.com/zc520/p/3422636.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.