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 just deleted the Linux partition. As far as I know that volume also contained GRUB and when that's installed it overwrites the Windows boot record. How do I make Windows boot again?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

This eHow article should help you:

How to repair MBR on Windows 7:
http://www.ehow.com/how_4836283_repair-mbr-windows.html

From that article:

  1. Insert Win 7 installation DVD and boot from DVD drive. While in some older systems you may have to change boot order through system BIOS, most newer systems allow booting from DVD without changing boot order by simply clicking on any key when prompted to doing so.
  2. Choose your default "Language", "Time", and "keyboard Input" on the first window and click next.
  3. You're now presented with 3 choices. Click on "Repair Your Computer" to gain access to the System Recovery window. Now choose "Command Prompt" in order to run the desired utility which is called "bootsect.exe". Bootsect is located inside the boot folder so change your directory to boot. Now run "bootsect /nt60 C:\" if you had Win 7 initially installed in the C partition. Alternatively, you can run "bootsect /nt60 SYS" or "bootsect /nt60 ALL" to repair the system partition or all partitions. Eject the DVD, and restart computer. Your computer should now boot Win 7 again.
share|improve this answer
    
I don't have a win-7 disk atm, is this possible to fix from within windows? –  user64775 Jan 28 '11 at 11:37
    
If you can get your hands on the bootsect utility normally found on the DVD, you may be able to run ` bootsect /nt60 C:\ ` from inside Windows (as an administrator). –  oKtosiTe Jan 28 '11 at 11:41
    
@Gjorgji: You may also have the option to create a system repair disc: ` All Programs > Maintenance > Create a System Repair Disc ` –  oKtosiTe Jan 28 '11 at 11:45
    
It's saying bootsect is not a recognised command when trying it run it from command prompt –  user64775 Jan 28 '11 at 11:45
    
I did say "If you can get your hands on [it]". @Gjorgji –  oKtosiTe Jan 28 '11 at 11:48

Try using this command:

bootrec /fixmbr
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.