How to Convert VMware Virtual to Physical

Written by mark pool
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Convert VMware Virtual to Physical
(Jeffrey Hamilton/Digital Vision/Getty Images)

VMware virtual machines exist as files on the hard drive of the host computer. VMware vCenter Converter can convert a physical computer to a virtual machine, but not the reverse. A VMware virtual machine can be cloned using a program such as Norton Ghost, dd or PartImage. The downside of cloning is that it is a multiple-step process, which can be complicated. A simpler alternative is Qemu, an open-source virtual machine platform that supports VMware virtual machine images and can convert them to physical disks.

Skill level:
Moderate

Other People Are Reading

Things you need

  • External hard drive enclosure
  • USB memory stick 1GB or larger - when using VMware in Windows

Show MoreHide

Instructions

    Converting in Linux

  1. 1

    Remove the hard drive from the computer in which you intend to install the virtual machine. Consult the manufacturer's manual for specific instructions.

  2. 2

    Insert the hard drive in the external enclosure and plug it into the computer running VMware. Consult the enclosure manual for specific instructions.

  3. 3

    Install Qemu using your package manager. In Ubuntu, this can be found in the "System" folder of the "Administration" menu. In Fedora, click the "System" menu. For other versions of Linux, consult your system manual.

  4. 4

    Open a terminal window and type the following command to install the virtual machine in the hard drive:

    qemu-img convert /PathToVM/VirtualMachine.vmdk -O raw /dev/sdb

    Replace "/PathToVM/VirtualMachine.vmdk" with the location and file name of the virtual machine. If the computer has more than one internal drive, replace "/dev/sdb" with the name of the external drive. Drives are named using letters -- the first drive is "sda," followed by "sdb," "sdc," and so on -- with only the final letter changing. Be sure the virtual machine is not running when you enter this command. Depending on the size of the virtual machine and speed of your computer, it can take up to several hours for this process to complete.

  5. 5

    Unplug the external hard drive.

  6. 6

    Remove the drive from the external enclosure.

  7. 7

    Install the hard drive back into the target computer. Restart the system, the virtual machine is installed as a physical system and will boot normally.

    Converting in Windows

  1. 1

    Download and install Linux Live USB Creator.

  2. 2

    Download the Ubuntu Live CD.

  3. 3

    Insert a USB memory stick and run Linux Live USB Creator.

  4. 4

    Click the "Choose Your Key" drop-down menu and select the USB memory stick.

  5. 5

    Click "ISO / IMG / ZIP" in the "Choose a Source" section, then browse to locate the Ubuntu Live ISO image.

  6. 6

    Click the "MB" text box and enter "200."

  7. 7

    Click the lighting icon at the bottom of the window to install Linux.

  8. 8

    Restart the computer and boot using the USB memory stick. Consult your system manual for instructions on enabling USB booting.

  9. 9

    Remove the hard drive from the computer you intend to install the virtual machine in. Consult the manufacturer's manual for specific instructions.

  10. 10

    Insert the hard drive in the external enclosure and plug it into the computer running VMware. Consult the enclosure manual for specific instructions.

  11. 11

    Click the "Administration" menu, open the "System" folder, and click "Synaptic Package Manager."

  12. 12

    Type "qemu" and press enter to search.

  13. 13

    Click the "qemu" package and select "Mark for Installation," and then click "Apply" to install it.

  14. 14

    Open a terminal window and type the following command to mount your Windows hard drive:

    sudo mkdir /media/windows && sudo mount -t ntfs-3g /dev/sda1 /media/windows

  15. 15

    Type the following command to convert the virtual machine:

    qemu-img convert /media/windows/location/VirtualMachine.vmdk -O raw /dev/sdb

    Replace "/location/VirtualMachine.vmdk" with the file name and location of the virtual machine. If the computer has more than one internal drive, replace "/dev/sdb" with the name of the external drive. Drives are named using letters -- the first drive is "sda," followed by "sdb," "sdc," and so on -- with only the final letter changing. Depending on the size of the virtual machine and speed of your computer, it can take up to several hours for this process to complete.

  16. 16

    Unplug the external hard drive.

  17. 17

    Remove the drive from the external enclosure.

  18. 18

    Install the hard drive back into the target computer. Restart the system, the virtual machine is installed as a physical system and will boot normally.

Don't Miss

Filter:
  • All types
  • Articles
  • Slideshows
  • Videos
Sort:
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the eHow.co.uk site, you consent to the use of cookies. For more information, please see our Cookie policy.