Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

I deleted the partition containing Ubuntu from my computer -- manage -- disk management and now my laptop is showing:

error: no such partition.
grub rescue> 3

Please tell me how can I open my regular Windows 7 now.

share|improve this question

marked as duplicate by psusi, Radu Rădeanu, Jorge Castro, gertvdijk, Basharat Sialvi Jun 30 '13 at 20:17

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.

add comment

2 Answers 2

I'm not 100% sure of this, but you could try those steps:

  1. Install Ubuntu again in the same partition you installed the deleted one.
  2. Install Boot-Repair in the installed Ubuntu

    1. Open the Terminal
    2. Run this command to add the ppa that contains Boot-Repair:

      sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update

    3. Run this command to install Boot-Repair:

      sudo apt-get install -y boot-repair && (boot-repair &)

After that: perform the "Recommended repair" (a topic at the link above)

Recommended repair

  1. launch Boot-Repair from either :

    1. the Dash (the Ubuntu logo at the top-left of the screen)
    2. or System->Administration->Boot-Repair menu (Ubuntu 10.04 only)
    3. or by typing 'boot-repair' in a terminal
  2. Then click the "Recommended repair" button. When repair is finished, note the URL (paste.ubuntu.com/XXXXX) that appeared on a paper, then reboot and check if you recovered access to your OSs.

  3. If the repair did not succeed, indicate the URL to people who help you by email or forum.

share|improve this answer
add comment

It's possible in that installing Ubuntu after Windows you replaced the windows boot manager with GRUB and therefore when you removed Ubuntu you damaged/removed GRUB files which only allowed you to access the GRUB menu you're presented with.

Try running the Windows 7 repair disc and accessing the CMD. From there try:

 bootrec /fixboot

And

bootrec /fixmbr

Your best bet is with the /fixmbr as it simply repairs the master boot record.

share|improve this answer
add comment

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