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 had a Windows 7/Ubuntu dual-boot set up on my laptop. I deleted Ubuntu, and when I load up my computer, I am now met with a screen displaying the following:

error: no such partition. grub rescue>

How can I have my computer boot straight into Windows 7 again?

Solved: I created a win7 system repair disc using another machine, and fixed the problem using the bootrec command within command prompt.

share|improve this question

marked as duplicate by psusi, Radu Rădeanu, Eric Carvalho, Braiam, Warren Hill Sep 29 '13 at 8:08

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

4 Answers 4

up vote 4 down vote accepted

The easiest method is to boot up with your Windows 7 disc, choose System Recovery Options and then click Startup Repair. That should generally remove grub from your master boot record and allow you to boot into Windows normally.

share|improve this answer
add comment

The Ubuntu partition is an extended partition. If you are in Ubuntu, C:(os) is mounted in Ubuntu with wine.

You have to boot with Windows rescue-cd and go to command prompt cmd. Use diskpart more information diskpart/help

Then list disk select disk list partition select partition => set c:os active

Reboot

With easeus partition master you can change extended partition into basic of logical

Install GRUB on Windows if you still have to choose between Ubuntu / Windows during startup.

share|improve this answer
add comment

In Windows 7 recovery, type bootrec.exe /fixboot and then type bootrec.exe /fixmbr.

share|improve this answer
add comment

Reinstall the windows bootloader http://www.howtogeek.com/howto/33433/restore-the-windows-boot-loader-after-an-ubuntu-update/

share|improve this answer
    
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. –  Peachy Oct 8 '12 at 14:37
add comment

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