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.

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

3 Answers 3

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

Your Answer

 
discard

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.