Dual Boot. Broken Windows 7 MBR and Grub

33,641

Solution 1

There is no way to fix the windows 7 bootstrap from Ubuntu, you will need to do so with the windows 7 DVD but, which size is sda1, if it is +/- 100Mb, you should not have much troubles fixing it but, will need to reinstall grub to another partition. If it is way bigger than 100Mb, this mean it was not the system reserved space and that you have installed Grub over your windows 7 thus, deleting windows 7 completly....

Solution 2

I had same issue. After trying other solutions on the internet, I ran from Ubuntu terminal:

> sudo update-grub

It located the Windows and Ubuntu installations automatically fixing the boot issues.

Hope this helps someone.

Solution 3

  • Here is a link for a recovery ISO,download and burn it into a cd.
  • Boot with your Windows 7 recovery disk.
  • Hit Enter at the language selection prompt and then hit R for Repair to get to the Repair section.
  • Select the command prompt and type in the following command

    bootrec.exe /fixmbr

Share:
33,641

Related videos on Youtube

Toktik
Author by

Toktik

Updated on September 17, 2022

Comments

  • Toktik
    Toktik over 1 year

    At the beginning I have been Windows 7 on /dev/sda1. After that I have installed Ubuntu in /dev/sda7 and set Grub partition to /dev/sda1. Which broked down Windows 7 boot. Ubuntu have booted normally from Grub Menu, but when I choosed Windows 7, grub disappared and after 1 second appeared, and doesn't load. After that I have searched for some fixes for Windows 7 boot, and I do some "fixings". The result - Grub doesn't load.

    At this moment I have broken Windows 7 loader and broken Grub. And sitting with Ubuntu Live CD. How can I fix this with Ubuntu live CD? If possible please give step by step explanation, because I newbie in Ubuntu and Linux.

    EDIT: Grub loader fixed. But anyway... Windows 7 doesn't load from Grub. I'm using Grub2.

    EDIT2 As I understand I need to run bootrec.exe /fixboot to fix Windows 7 bootloader. But I don't have Win7 DVD at this moment. Any way to do same from Ubuntu?

    EDIT3 Boot Info Script RESULTS.txt is here: http://pastebin.com/Z70fKQHJ

    • karthick87
      karthick87 over 13 years
      Post the results of bootinfoscript.sourceforge.net so that we can help you.
    • Toktik
      Toktik over 13 years
      results.txt is here: pastebin.com/Z70fKQHJ
    • karthick87
      karthick87 over 13 years
      I dont think you can repair it from ubuntu.You need windows 7 disk.
  • Toktik
    Toktik over 13 years
    I have changed grub partition to /dev/sda. So at this point, I need to only do bootrec.exe /fixboot?
  • Mobidoy
    Mobidoy over 13 years
    yes, unless you had put Grub over Win7. Once your win7 boot is restored, you may need to log again with the ubuntu live disk, go in a terminal and type "sudo grub-update" so it points the items (ubuntu and win7) to the proper partition
  • Takkat
    Takkat over 13 years
    Toktik most likely did overwrite the Windows partition boot record on /sda1 when he installed Grub2 there.
  • snayob
    snayob almost 12 years
    The proposed solution links to a PAID download. There are links on the internet to download full Windows 7 installation images (containing recovery) from DigitalRiver without paying a cent !
  • Darryl Williams
    Darryl Williams over 11 years
    First do this and after fix grub
  • udog
    udog almost 11 years
    This worked for me today. Fixed grub using the amazing Rescatux (supergrubdisk.org/rescatux), then ran update-grub and all is well in my dual-boot world.