Turn your physical computer into a virtual one

From Linuxintro
Revision as of 07:20, 26 August 2008 by imported>ThorstenStaerk (New page: Imagine you want your lapTop to run in a virtual machine, maybe because you want to try some changes, maybe because you want to sell it. That's what this article is about. Your not...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Imagine you want your lapTop to run in a virtual machine, maybe because you want to try some changes, maybe because you want to sell it. That's what this article is about. Your notebook can be on Windows or Linux, no matter.

How to

dd if=/dev/sda of=/hdimage.img

This can be used if your harddisk is /dev/sda and you want your image file at /hdimage.img.

  • Download and install vmWare on your host computer.
  • use qemu-img from the qemu package to transform your harddisk image to a vmware image:
qemu-img /mnt/usb/hdimage.img -O vmdk /hdimage.vmdk
  • you can now use your vmware image to boot your virtual guest computer.