KVM Virtual machine conversion VMware can use the VMKD format

Source: Internet
Author: User
Tags virtual environment

Convert the KVM virtual machine format to VMware for work needs, and share your ideas with us


First, locate the KVM virtual machine address, and then execute
Cd/path/to/vm_disk
Qemu-img Convert Test_vm.img-o vmdk/tmp/test_vm.vmdk #将img格式转换为vmdk


Next, create a new virtual machine, and then choose to use an existing virtual environment, in the following steps


Open VMware Workstation10, go to the home page, select "Create a new virtual machine" and select "Custom (Advanced)" option



The following options select the default compatible 10.0 mode, and then select "Install the operating system later".



Select the Linux system and select Ubuntu in the dropdown, then select the storage directory for the virtual machine



The number of processors by default, if you think 1 is not enough to be added as a personal situation, but the premise is that their computer's processor enough


Choose to run memory, my Computer 6 g memory, here is selected 2G, everyone according to their own computer memory how much and the virtual machine required memory reasonable allocation


The next three steps are to use the default recommended configuration




The next step is to select "Use an existing virtual hard disk" and then locate and open the VMDK file that you downloaded or previously had.



Can look at the configuration information of the virtual machine, click "Done" to go to the interface to open the virtual machine


Then remove some unnecessary things, click on "Edit Virtual machine settings", you can generally remove the "printer", and other see the situation to remove the added


When configured, click "Turn on this virtual machine" and wait for the system to boot.


The virtual machine can be created to the directory where the virtual machine files are stored see what files, it is best to put the VMDK files and files in the directory together, easy to manage.


Finally, execution

Rm-rf/etc/udev/rules.d/70-persistent-net.rules

Reboot

Then configure IP to


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.