Virtualization

Bill Davidsen davidsen at tmr.com
Sat Apr 3 16:57:45 UTC 2010



Petrus de Calguarium wrote:
> Javier Perez wrote:
> 
>> do I have to reformat my HD, reinstall FC12, and then
>> install win2k, or can I just install yum install the
>> virtual parts for kvm and have it start as a guest
>> the already isntalled win2k ?
>>
> 
> In my experience, this does not work (I have tried to use a 
> windows version installed on another partition -- to no 
> avail). Maybe you can get it to work?
> 
This is how I got it to work. I suspect that it's dangerous at boot time, use at 
your own risk.

- create a qcow of the whole drive
   qemu-img -b /dev/sda -f qcow2 -b /dev/sda dcopy.img
- start the image
   qemu-kvm -m 1000 -hda dcopy.img
- boot Windows

After testing that, enable whatever network, sound, etc, you wish

If you are *really* brave just put the whole disk in a VM and don't boot another 
copy of Linux

   qemu-kvm -m 1000 -hda /dev/sda

That "worked for me" in FC10 and XP.

-- 
Bill Davidsen <davidsen at tmr.com>
   "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot



More information about the users mailing list