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 a dual-boot setup with Windows 7 and Windows Vista. I used Easus Partition Manager and shrank my Windows 7 partition. In the empty space, I installed Linux Mint. I decided I didn't want it anymore, I simply deleted the Linux Mint partition. Now when I boot, all I get is this:

GRUB loading.
error: no such partition
grub rescue>

I don't have my Windows 7 install disk because it was pre-installed.

share|improve this question
add comment

4 Answers

up vote 3 down vote accepted

I do not have any MS operating system so I could not try this myself, from this page on the windows 7 forums - though - it seems like the startup repair utility (SRU) is also included in OEM distros of the system.

My understanding of that page is that you can then boot, with the help of a liveCD or usb drive into your existing windows 7 and from there run the SRU. If my understanding is correct, then you can most probably boot your system from the linux installation CD you originally used to install linux or by means of a dedicated tool, like the Super Grub Disk. Two scenarios that might fit your bill seem to be this and this.

Another less elegant solution would be to repair Grub [the Super Grub Disk comes in help in this scenario too] and let GRUB launch Windows 7 for you.

share|improve this answer
add comment

The easiest thing you can do is put a Windows 7 disk in to your machine and boot from it, then click repair and go to Command Prompt.

Navigate to c:\boot and run this command:

bootsect /nt60 c:
bootsect /nt60 sys
bootsect /nt60 all
bootsect /nt60 sys /mbr

Try them all until your system boots.

share|improve this answer
    
comment from Kris: bootsect /nt60 sys /mbr worked!!!!!!!!!!!!!!!!!!!!! thanks alot!!!!!!!!!!!!!!! –  quack quixote May 19 '10 at 12:45
    
This worked for me, too. Thank you @Robin! –  Roman Luštrik Feb 21 '11 at 6:52
add comment

The easiest thing you can do is put a Windows 7 disk in to your machine and boot from it.

After you choose your language and keyboard layout, click Repair in the bottom left and go to Startup Repair – if it doesn't do this automatically.

This should be able to re create the Windows bootloader and all the system files required to start Windows again.

share|improve this answer
    
I don't have a Windows 7 disk. –  nateify Nov 22 '09 at 22:11
    
@nironan12: borrow one. –  quack quixote Nov 23 '09 at 1:38
add comment

Bootsect.exe Modifies the Bootsector Not the MBR!! | The NeoSmart Files

The above prompts did not work for me. I am running Windows Vista and deleted Linux partitions and was dealing with the grub error at start up. The above link worked for me.

After booting using a recovery DVD and entering repair and command prompt enter the following.

bootrec.exe /fixmbr 
bootrec.exe /fixboot 
bootrec.exe /rebuildbcd 
share|improve this answer
add comment

protected by Diago Oct 1 '10 at 13:54

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

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