Page 1 of 1

Recovering WinXP system as Virtual Machine on Linux

Posted: 9. Jul 2009, 19:38
by coldspring
I am a total new comer to virtual box but to the best of my effort I have not seen this question answered this forum.
I ask a question that is already in the form please point me in the right direction.

Here is the situation:

Every machine I own runs some flavor of Linux, with the exception of one WinXP machine that I keep for the purposes of running Quick books. I because quickbooks does not run on Linux and my business is so dependent on it I will always have to have some sort of Windows environment. I was hoping to avoid Windows Vista and was limping along on my old WinXP machine waiting for Windows7.

Now the problem:

My mother board in the windows machine died. I don't want to go out and by a new machine at this time because It would be bundled with Vista, or I would have to pay to "UPGRADE" to winXP. I would like to wait until Win7 is released and I can buy a machine with win 7 or just buy a copy of Win7 and virtualize it on a Linux box. What I don't want to do is buy a copy of WinXP now and then 6 months later buy a copy of Win7.

Now My question:

I was able to take the hard drive out of my old WinXP machine and get it running in a USB case, such that I have the complete Win Operating system and all the supporting programs and data on a 300G USB hard drive. The WinXP is set up to run on an Dell Optiplex 270.

IS THERE A WAY TO USE THIS EXISTING OPERATING SYSTEM AS A VIRTUAL MACHINE WHEN THE USB DRIVE IS PLUGGED INTO A UBUNTU 9.04 MACHINE RUNNING VIRTUAL BOX? If so how?

Thanks for the help.

Chris

Re: Recovering WinXP system as Virtual Machine on Linux

Posted: 9. Jul 2009, 21:56
by fixedwheel
have the complete Win Operating system and all the supporting programs and data on a 300G USB hard drive.
VBox cant boot from USB, so it might be better to install the HDD using native IDE or SATA (there are IDE to SATA adaptors, so external SATA could be a way even if the HDD is IDE and you cant install internal) :arrow: read the sticky thread in this subforum Howto: Windows XP in both VM and native

Re: Recovering WinXP system as Virtual Machine on Linux

Posted: 10. Jul 2009, 22:42
by Rolf Fankhauser
I would convert the harddisk to an image using dd (linux command, see man dd), then convert this image to a virtual harddisk in vdi format using VBoxManage (see UserManual.pdf under VBoxManage reference VBoxManage convertfromraw). Now you can setup a XP VM and boot from the virtual harddisk. Maybe it works!

Regards, Rolf