Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Earlier I installed Ubuntu 10.04 from a USB flash drive.

Since the system was unable to detect Ubuntu in the initial menu that appears on reoboting, I deleted the partition onto which I had installed Ubuntu while in Windows 7.

I then installed PowerISO which prompted me to reboot the system.

Now however I get the following error:

error: no such partition
grub rescue>

How can I fix this?

share|improve this question

3 Answers 3

up vote 2 down vote accepted

I've just had the same problem. I found this article which explains how to fix it:


share|improve this answer
Sorry, what about if you do not have the Win 7 installation DVD? Is it possible to repair? –  user3019105 Jul 26 '14 at 17:07

Part of GRUB lives in the Master Boot Record (MBR), while the other parts live in the Linux boot partition. Since you killed the that partition, GRUB can't load all the other files that it needs.

To fix this, you need a Windows install CD so that you can get into the recovery console. From there, use the commands FIXMBR and FIXBOOT (I think) to remove the last remaining parts of GRUB. After that, your machine should boot up as normal.

share|improve this answer
I've just tried this, but neither of those command were found. –  Dan Sep 29 '11 at 21:29
@Dan: You're right, the procedure I described only works for Windows XP. I hadn't realized that it changed for Vista and 7 as I've never had to use it since XP. –  MBraedley Sep 30 '11 at 10:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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