Here I was restoring my HP Desktop to its manufacturing state by using HP’s recovery discs and supplementary disc, the process went smoothly until the HP Desktop automatically restarted, and I was presented with an error screen said something about unknown filesystem — grub rescue command prompt was blinking as if it was begging me to do something with it. I was baffled. With a little research on the Internet, I found out that the Grub bootloader of Ubuntu 9.10 (or Linux) was not able to detect Windows 7 installation, because Windows 7 from recovery process was installed after the Grub bootloader had been installed. To fix this little problem, I had to use a Windows Vista’s disk to repair in order for Windows 7′s bootloader to work.
If you’re experiencing this, it’s best to have a Windows Vista or Windows 7 installation DVD next to you. Boot your computer off of the Windows Vista/7 installation DVD, you see a first screen that shows you the regional settings and so on, apply those settings as if you’re reinstalling the Windows Vista/7. The second screen comes up, click “Repair your computer,” if it shows that Windows 7 installation is detected, make sure it’s not selected, but if there is nothing detected (no installation), then it’s a good sign. Click next, and then you see a screen with list of options for you to meddling with. You don’t have to care about those options, but pay attention to only one option which is “Command prompt,” click on that to start a command prompt. In command prompt, type in bootrec.exe /fixboot and then type in bootrec.exe /fixmbr, and to finish up the bootloading repairing process, you can close all the windows and click restart.
After the fix of the Windows’ bootloader, my recovery process continued on as if nothing had interrupted it. Manufacturer’s bundled software began to reinstall and drivers were loaded. If you’ve done all of those things above correctly, your recovery process using HP’s recovery disks is probably going well like mine. If your PC is not a HP one, I could be wrong, but I think the instruction of how to recover your PC to a manufacturing state is going to work for you too, that’s if you had a Linux or a Ubuntu installation and now you want to get rid of Linux and doing a recovery to get back to your PC’s manufacturing state. Source.
Comments
Humbleforcupcakes, there is nothing that you could do besides calling up your computer maker to order the recovery disc since you didn't make a backup of system image and create a system repair disc. I think the cost for recovery disc from your computer maker is way cheaper than go out and buy Windows 7.
Thank you very much! I had an ubuntu installation crashed in the middle and ending up with a dead GRUB. This howto helped me to get windows back, at least
You're welcome!