Installed WUBI on windows and ubuntu installation completed, at first Ubuntu login it updated full patches and asked for REBOOT.

Now after reboot it is showing me the error:

no such devices found

grub rescue>

Can you share some commands, so that I could recover at least Windows. It is not even asking for the Windows login at the boot time.

Thnx.

link|improve this question

50% accept rate
feedback

migrated from serverfault.com Aug 19 '10 at 12:27

This question came from our site for system administrators and desktop support professionals.

3 Answers

up vote 0 down vote accepted

Cause: Grub2 is not supposed to replace the original bootloader

Conditions: Windows 7, Netbook, no optical disc drive, no rescue CD, repair startup not found in Windows Rescue Environment (Press F8 before Windows logo appears), failed to uninstall Grub and restore Windows bootloader

Solutions: 1. Get SuperGrubDisk to boot into Windows partition. 2. In Windows, get Mbrfix.exe to fix Mbr (e.g. run Mbrfix /drive 0 fixmbr /win7). Do read the instruction on the documentation.

Outcome: Perfect!

link|improve this answer
feedback

It is not possible to recover Windows from there. You'll need the Windows DVD (Windows 7 DVD for example if you have Windows 7). Boot the DVD up, select Recovery. When it offers to repair it automatically, say no.

Select recovery prompt and type these commands one-by-one:
bootrec.exe /FixMbr
bootrec.exe /FixBoot

After you have done this, close the prompt with the X, and close the Windows 7 installer. Reboot, there you go.

(As a side note: Wubi is not really recommended. It's really just for playing around. As you experienced, the system may break very easily even with some updates. You should just resize your main partition with the Windows partition manager or some commerical software like Acronis Disk Director and install Ubuntu to a new partition.)

link|improve this answer
yipee!! it worked...thanx a tonne. – cyrilsebastian Aug 19 '10 at 14:30
feedback

For completeness sake: it should be possible to boot Windows from that GRUB "rescue prompt", but it requires knowledge about GRUB and how your disks are partitioned etc. Overwriting the MBR as explained by Shiki is certainly a quicker solution if you (only) want Windows to boot ASAP...

Most documentation for GRUB2 can be found at: http://grub.enbug.org/ (in case anybody wants to try fixing such an issue "the hard way")

link|improve this answer
True enough. It's a life-saver if you learn this or just print it out. When the sh.t hits the fan, there is no better solution. – Shiki Aug 20 '10 at 7:51
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.