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.

I done goofed.

I decided that I really didn't need Ubuntu anymore (and that I wanted to give Mint a try) so instead of doing a smart thing I went ahead and wiped the partition that Linux was running off of. Now everytime it boots it boots into the grub rescue screen.

From other readings I'm thinking that this is because my Windows boot loader was over written by Ubuntu.

My main problem is that I can't fix the boot loader (tried some command prompts from an article I read) and I can't install Win because it has to reboot during instillation and that brings me right back to the error screen!

Please help!! Thanks!

share|improve this question
1  
Since you say you want to try Mint, just install it. Mint will install its own copy of GRUB and you should be able to dual-boot with Windows again. –  Rod Smith Dec 8 '13 at 0:20
add comment

1 Answer

The problem is because you deleted the Ubuntu partition, and hence Grub's (the bootloader manager which took care of your multiboot system) configuration files. Since you've decided to use Windows OS, you'd have to restore Windows bootloader.

Here are the ways to fix your Windows XP/Vista/7/8 bootloader:

Using Windows installation disc:

  • Boot with your Windows 7 installation DVD or USB (read: how to make a Windows 7 bootable USB),
  • Choose your regional settings, select your Location/Keyboard setting then click next,
  • Click on Repair your computer,
  • Choose the correct installation of Windows from the operating system list box and then click next,
  • Then in the System Recovery Options screen choose Command Prompt,
  • From there, type in the following 2 commands:

    bootrec /fixboot

    bootrec /fixmbr

Now close the two windows and click "Restart." Take out your Windows DVD and hopefully, you will be left with your Windows bootloader.

Using Boor-Repair disk:

In Advanced options of the Boot Repair disc, choose to Restore MBR under the Main options. Next under MBR options select the Windows 7 partition for Partition booted by the MBR option. Then click the Apply button.

share|improve this answer
    
boot-repair is enough. –  Avinash Raj Dec 8 '13 at 15:59
add comment

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.