LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-12-2014, 01:19 AM   #1
nandkishor
LQ Newbie
 
Registered: Mar 2012
Posts: 2

Rep: Reputation: Disabled
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
 
Old 06-12-2014, 03:45 AM   #2
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
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
 
Old 06-12-2014, 02:59 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Three little words usually. HAL.

http://support.microsoft.com/kb/828287
 
Old 06-13-2014, 03:24 AM   #4
nandkishor
LQ Newbie
 
Registered: Mar 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
reply to all answers

Quote:
Originally Posted by nandkishor View Post
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.

Last edited by nandkishor; 06-13-2014 at 03:25 AM.
 
Old 06-13-2014, 02:57 PM   #5
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
qemu: could not open disk image : TonyC Linux - Virtualization and Cloud 1 05-22-2010 08:38 AM
qemu: use physical hard disk (host drives) - dangerous? gernonimo Linux - Software 10 09-18-2008 07:44 PM
Error transferring install image. You are probably Out of Disk Space gonzalo76 Fedora - Installation 4 09-04-2004 01:35 PM
Transferring installation to a new hard disk? mconsidine Linux - General 6 05-16-2004 09:14 AM
Redhat 8.0 stalls on transferring install image to hard drive cgkitab Linux - Distributions 7 10-19-2002 05:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration