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

This question is an exact duplicate of:

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

marked as duplicate by Mokubai Mar 24 '15 at 18:57

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

From Ramkrishn Saini: Boot Repair Disk utility resolved my issue. Info and instructions:, download: – fixer1234 Mar 24 '15 at 16:42
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
Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – Mokubai Mar 24 '15 at 18:55

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

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