VMWare/VMWare Virtual Machine to Physical Machine

From Wsms

Jump to: navigation, search

This is the opposite of Hack 86 in the second edition of Linux Hacks "Trun a Physical Machine into a VMware Virtual Machine".

Suppose you have a Linux VMWare virtual machine that you want to convert to an actual physical machine on a hard disk.

One complication is that each of the machines may use a SCSI disk (like /dev/sda) or an IDE disk (like /dev/hda). In my example the VM uses /dev/sda and the physical machine uses

The

There are a couple of interesting advantages to running Knoppix as a virtual machine. First you don't actually have to burn a CD-ROM. A VM is perfectly happy to boot from the Knoppix iso. Second, your hard disk is much faster than an optical drive, so your VM runs much faster than it would off of a genuine physical DVD. You have to do tell VMWare to use the iso for the optical drive. And you have to set the bios in the virtual machine to boot from the virtual optical drive. The tricky part is clicking in the VMWare screen and hitting F2 quickly enough to go to the bios setup before the VM boots from its hard disk. Set the bios so that the CD-ROM is the first boot device:
Image:20071223-020-vmware-bios.png

see also

Knoppix_Hacks_2nd_Edition
Personal tools