LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Transferring qemu image to physical hard disk (https://www.linuxquestions.org/questions/linux-newbie-8/transferring-qemu-image-to-physical-hard-disk-4175507806/)

nandkishor 06-12-2014 01:19 AM

Transferring qemu image to physical hard disk
 
I have installed windows xp in qemu. Virtual disk format is qcow2 on installation then i converted it to raw. Syspreped it and tried to dd it to a physical hard disk with following command -
dd if=winxp.raw of=/dev/sda

Now when i tried to boot system from this hard disk , it is rebooting.
Is there any other way to do it.

Thanks in advance

goumba 06-12-2014 03:45 AM

So, Windows starts to boot, and then reboots in the middle?

Last I remember, you couldn't switch certain hardware with Windows. There is a significant change going from a VM to actual hardware, so Windows is probably crashing due to the hardware change. Although, IIRC, it would give a STOP error, not reboot.

See the section on Replacing a Failed Motherboard, this may help you. http://support.microsoft.com/kb/824125

jefro 06-12-2014 02:59 PM

Three little words usually. HAL.

http://support.microsoft.com/kb/828287

nandkishor 06-13-2014 03:24 AM

reply to all answers
 
Quote:

Originally Posted by nandkishor (Post 5186795)
I have installed windows xp in qemu. Virtual disk format is qcow2 on installation then i converted it to raw. Syspreped it and tried to dd it to a physical hard disk with following command -
dd if=winxp.raw of=/dev/sda

Now when i tried to boot system from this hard disk , it is rebooting.
Is there any other way to do it.

Thanks in advance


On first starting the system - Windows is restarting , without showing the windows logo
After Restart - Windows advance options screen (safe mode , ..., last known good ...) is shown and on choosing start windows normally , again restart. Same with safe mode.

goumba 06-13-2014 02:57 PM

Check out my link, they give a suggestion as to how to attempt a fix on an non-bootable system. Basically what you've done as far as Windows is concerned is change the motherboard (and a whole bunch of other hardware). Windows isn't like Linux where if it doesn't find the hardware it expects it will try another driver. The required (and for the most part only the required) drivers are installed at the time Windows is (or after for some 3rd party drivers) and so you're missing what it needs.


All times are GMT -5. The time now is 09:55 PM.