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

I had my computer dual booted with Windows 7 and Ubuntu Linux. My computer hasn't been running well at all, so I thought I'd use the nifty recovery program it came up with (which reinstalls my computer to it's factory settings from a partition).
Anyway, I was about to run that recovery, until I decided to delete the partition which held Ubuntu. And when I went to restart my computer for recovery, I was met by a Grub rescue screen.

How can I fix this?

share|improve this question
what make/model? recovery systems arn't standardised. – Journeyman Geek Jul 2 '11 at 8:35
Duplicates "error: no such partition. in GRUB". The difference between Windows XP and Windows 7 is unimportant, since it's actually GRUB that is the problem locus. – JdeBP Jul 4 '11 at 11:32
@JdeBP in both cases thou a potential answer is to get Windows to reinstall it's own bootloader, which I believe is different between the two versions (7 is pretty much automatic while XP requires intervention at the recovery console IIRC). Additionally, the linked question cannot use standard bootable install CD, so is much more constrained than this question. – DMA57361 Jul 4 '11 at 11:39
You haven't read the first answer to the duplicate question, which shows one way to boot the WRE without using a CD. These incidentals don't change the main thrust of the question, which in both duplicate cases is that GRUB is complaining and bringing up the rescue prompt because the questioner changed the partition table and pulled the rug out from beneath it. – JdeBP Jul 4 '11 at 12:03
And now there's a third duplicate, in two days, on ServerFault as well: "grub rescue prompt" – JdeBP Jul 4 '11 at 21:36

If you have a Windows 7 install CD then booting into the Repair mode. This guide includes screenshots, but the summary is:

  1. Boot using the install CD
  2. Select "Repair your computer" in the bottom-left
  3. Select the Windows 7 partition
  4. Chose Startup Repair
  5. Wait
share|improve this answer
Notice that it's step #1 that is the doozy that the questioner is asking about, and which you haven't directly answered yourself. – JdeBP Jul 4 '11 at 11:01

You can try using TestDisk to restore Windows-like MBR code. Note that the Windows partition needs to have the active flag set.

share|improve this answer

try Acronis OS Selector from boot CD.

share|improve this answer

You must log in to answer this question.

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