VirtualBox and VMware virtual machines convert each other

Source: Internet
Author: User
Tags windows 7 x64

If you've set up your virtual machine to your liking, you don't need to install it from scratch-you can migrate an existing virtual machine.

VirtualBox and VMware use different virtual machine formats, but they all support the standard open virtualization format. Convert existing virtual machines to Ovf/ova format to import other virtual machine programs.

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

VirtualBox converting to VMware
Before migrating Virtualbox (hereinafter referred to as Vbox) virtual machines to VMware, make sure that the virtual machines are "down"--not suspended--in Vbox. If this is a pending state, start the virtual machine and turn it off.

650) this.width=650; "style=" float:left; "title=" 141102083967251.png "alt=" Wkiol1ys3nqhti9paagt8b2ymwu554.jpg "src= "Http://s3.51cto.com/wyfs02/M01/74/DC/wKioL1Ys3Nqhti9PAAGt8b2YmwU554.jpg"/>

Click the Vbox Admin menu and select Export Virtual PC.

650) this.width=650; "title=" 141102083967252.png "alt=" wkiom1ys3vocgkhbaafnrpe_ccu047.jpg "src=" http:// S3.51cto.com/wyfs02/m02/74/df/wkiom1ys3vocgkhbaafnrpe_ccu047.jpg "/>

Select the virtual machine to export and choose where to save the file.

650) this.width=650; "title=" 141102083967253.png "alt=" wkiol1ys3acbf3unaahpvhx2t88936.jpg "src=" http:// S3.51cto.com/wyfs02/m00/74/dc/wkiol1ys3acbf3unaahpvhx2t88936.jpg "/>

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 while.

650) this.width=650; "title=" 141102083967254.png "alt=" wkiom1ys3zszbvbzaadvlddmf8u375.jpg "src=" http:// S3.51cto.com/wyfs02/m01/74/df/wkiom1ys3zszbvbzaadvlddmf8u375.jpg "/>

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

650) this.width=650; "title=" 141102083967255.png "alt=" wkiol1ys3evilwcraaffmyx17m0102.jpg "src=" http:// S3.51cto.com/wyfs02/m01/74/dc/wkiol1ys3evilwcraaffmyx17m0102.jpg "/>

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

650) this.width=650; "title=" 141102083967256.png "alt=" wkiom1ys3elxa19faag0ton73ic357.jpg "src=" http:// S3.51cto.com/wyfs02/m02/74/df/wkiom1ys3elxa19faag0ton73ic357.jpg "/>

After the process is complete, you can start the virtual machine in VMware, uninstall the Vbox enhancement (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 a VMware virtual machine to Vbox, make sure that the status of VMware is "power off"-non-pending. If it is pending, start the virtual machine and then shut down.

650) this.width=650; "title=" 141102083967257.png "alt=" wkiol1ys3jtgup3yaafylem-du0093.jpg "src=" http:// S3.51cto.com/wyfs02/m01/74/dc/wkiol1ys3jtgup3yaafylem-du0093.jpg "width=" 637 "height=" 396 "/>

Next, locate the directory where the Ovftool is located. 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 open the command-line window here.

650) this.width=650; "title=" 141102083967258.png "alt=" wkiol1ys3lsjwdpfaakphbgjjyw861.jpg "src=" http:// S3.51cto.com/wyfs02/m02/74/dc/wkiol1ys3lsjwdpfaakphbgjjyw861.jpg "/>

Run Ovftool in the following syntax:

Ovftool SOURCE.VMX EXPORT.OVF For example, if we convert a virtual machine that is located in C:\Users\NAME\Documents\Virtual machines\windows 7 x64\windows 7 X64.VMX, And to create the OVF 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 prompted " Failed to open this disk "error, it is likely that the virtual machine is still running or is not shutting down properly--start the virtual machine and perform a shutdown operation.

650) this.width=650; "title=" 141102083967259.png "alt=" wkiom1ys3k7xh01aaafh_2qpjfs021.jpg "src=" http:// S3.51cto.com/wyfs02/m00/74/df/wkiom1ys3k7xh01aaafh_2qpjfs021.jpg "/>

After the process is finished, you can import the. ovf file into Vbox using the import Virtual PC option in the Manage menu.

650) this.width=650; "title=" 1411020839672510.png "alt=" wkiol1ys3qibkytaaagouesigew818.jpg "src=" http:// S3.51cto.com/wyfs02/m00/74/dc/wkiol1ys3qibkytaaagouesigew818.jpg "/>

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

This article is from the IT dwarfs! "Blog, be sure to keep this provenance http://lqx049.blog.51cto.com/1919902/1706123

VirtualBox and VMware virtual machines convert each other

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.