Today I performed a p2v conversion of a Windows XP workstation into VMWare ESXi using the free VMware Converter. This tool is really wonderful, but sometimes it likes to leave windows in an inconsistent state – especially if you resize the partition.
This case is complicated by the fact that the source computer has the Dell recovery partition, which I decided to bring along as well. After conversion, I shut down the source PC, and power on the VM, only to get Error loading operating system.
The internets failed me. Plenty of people have had the problem, but most of the solutions involved Linux or Vista+ (or reformatting. Obviously not an option). Additionally, I have encountered this problem when performing a p2v on a Server 2008 box…
I tried using the windows XP cd recovery console with fixboot and fixmbr. It didn’t work. I fooled around with the UBCD. Again, didn’t work (and wasted a lot of time) Finally, I fell back on previous experience, and found my solution: use the server 2008 CD to fix windows XP! (This would probably work with the Vista or windows 7 images as well)
So here are the steps to fix the “Error loading operating system” issue (with Windows XP ONLY) caused by vmware converter:
- Boot with a Server 2008 disk (Vista, Win 7 might work as well)
- At the language screen click next
- At the “Install windows” screen, click “Repair your computer” to the lower left
- The next screen “System Recovery Options” will have an empty list, but that is ok! Click Next
- Click “Command Prompt”
- At the command prompt, type the following:
bootsect /nt52 ALL /force /mbr
note: in my case, using “ALL” instead of “c:” or “SYS” was what finally solved it - exit out and reboot – with any luck, windows XP will now boot!
If you still have a problem, my only other suggestion would be to use diskpart to ensure that the correct partition is active. If that diesn’t solve it, maybe the other Google results will
Good luck, and please leave a comment if this helped!
Hi Thanks for your Tip. But it doesn’t work for me.. Same error.
Hey oneofakind,
Sorry to hear it didn’t work. I would suggest you also try running bootsect with the following options:
bootsect /nt52 c: /force /mbr
bootsect /nt52 SYS /force /mbr
There is a possibility that the startup repair option on a Vista or windows 7 disk might be able to help, but I’ve never tried.
I get “bootsect is not recognized as an internal or external command, operable program or batch file”
Going to the command prompt put me into the x:\sources directory. I had to change to the d:\boot directory to find the bootsect. Thanks
My windows 2008 32bit Standard did NOT have the bootsect utility. I had to use a windows 7 pro DVD
That is odd… glad you found a workaround though!
Actually, the startup repair on the windows 7 disk can be a lifesaver on server 2008 as well
Hello,
The simple solution for this is to change to SCSI Bus Logic instead of default Preserve Source.
Thanks,
Switching to SCSI Bus Logic instead of Preserve worked for me!!! YAY! Thanks!!!!
Thanks, you saved my day. I even mounted VM drive to another WindowsXP and tried to fix it with tools there, but the only thing that really worked was Windows7 bootable medium.
thank you for sharing this installation steps with details which proves to be really helpful.