Difference between pages "Turn your physical computer into a virtual one" and "RecordmydeskTop"

From Linuxintro
(Difference between pages)
imported>ThorstenStaerk
 
imported>ThorstenStaerk
(Redirected page to ReCordMyDeskTop)
 
Line 1: Line 1:
Imagine you want your physical computer to run as a [[virtual machine]], maybe because you want to try some dangerous changes, maybe because you want to sell one of your two laptops. That's what this article is about. Your computer can be on [[Windows]] or [[Linux]], no matter.
+
#REDIRECT [[ReCordMyDeskTop]]
 
 
= How to =
 
 
 
Let's call the computer you want to virtualize ''moon'' and the computer you want to use as a host for the virtual machine ''earth''.
 
<ul>
 
<li /> Get an image of moon's harddisk. Do one of the following:
 
<ul>
 
;Option 1 - USB disk
 
<li /> Use a [[USB]] [[disk]] to store an image of the [[hard disk]]:
 
<code>
 
dd if=<i>/dev/sda</i> of=<i>/hdimage.img</i>
 
</code>
 
This can be used if your harddisk is ''/dev/sda'' and you want your [[image]] [[file]] at ''/hdimage.img''.
 
;OR Option 2 - Network transfer
 
<li /> Transfer moon's image over the network:
 
dd if=''/dev/sda'' | ssh root@earth "cat > hdimage.img"
 
</ul>
 
<li /> Download and [[install]] [[VmWare]] on your host computer.
 
<li /> 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
 
<li /> you can now use your vmware image to boot your virtual guest computer.
 
</ul>
 
[[Category:Guides]]
 

Latest revision as of 19:04, 24 February 2020

Redirect to: