How to fix Windows 7 boot loader

I recently installed debian 7 after booting it from my pen drive. Then i did some mistake while installing it. Well, Debian is not installed. And when I rebooted my system it says- No boot device found.

Then I installed ubuntu 12, after installing it on my second separate partition, I rebooted after I installed ubuntu in it.

After rebooting, boot manager of ubuntu opened up, option of windows7 also came up, i selected that option and my windows 7 opened up successfully, and I formated my whole drive which contained ubuntu. My question is- How to delete ubuntu boot manager and install windows boot manager?

1

1 Answer

All you need — repair Windows boot loader.

  1. Boot From the Windows Installation Disc

  2. The first thing you’ll need to do is boot off the install disc, and then click through until you see the "Repair your computer" link in the lower left-hand corner.enter image description here

  3. You’ll need to choose the correct installation of Windows and then click the Next button.enter image description here

  4. And then you’ll get to the System Recovery Options screen.enter image description here

  5. Choose "Startup repair. Automatically fix problems..." option and click Continue

  6. Choose your Windows installation drive’s letter (usually C:) and click on Automated Repair

  7. Easy Recovery Essentials will now begin to fix the error automatically.


If start-up repair cannot repair your computer automatically return to 4 - You need manually repairing the Master Boot Record

  1. Choose "Command Prompt" options.

  2. You need restore the master boot record. Simply type in the following command:

    bootrec /fixmbr

  3. Then you need write a new boot sector onto the system partition with this command (which is often more useful):

    bootrec /fixboot

  4. And then

    bootrec.exe /rebuildbcd

  5. And of course, if you just use bootrec /? you’ll be able to see all the options.

enter image description here

6

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like