Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Installed WUBI on Windows and the Ubuntu installation completed. The first time I logged in to Ubuntu it updated a full set of patches and asked to reboot.

Now after reboot it is showing me the error:

no such devices found

grub rescue>

Can you share some commands I could use to recover at least Windows? It is not even asking for the Windows login at boot time.

share|improve this question

migrated from Aug 19 '10 at 12:27

This question came from our site for system and network administrators.

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


  1. Get SuperGrubDisk to boot into the Windows partition.
  2. In Windows, get Mbrfix.exe to fix the MBR (run Mbrfix /drive 0 fixmbr /win7).

Do read the instructions in the documentation.

share|improve this answer

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.)

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

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: (in case anybody wants to try fixing such an issue "the hard way")

share|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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .