Monday, May 07, 2012

Recover Windows7 MBR after GRUB

Repair MBR in Win7/Win8


There are several commands to fix MBR. A lot of web pages suggest using “bootsect”. However, this did not fix anything. The fact that it was for use on individual partitions was probably a clue on that. Some web pages even used “bootcfg” which is for older Windows installs such as XP (it affects your boot.ini), but is still included on the Windows 7 disc to add to the confusion.

bootrec /RebuildBcd
bootrec /fixMbr
bootrec /fixboot
Exit

Now go ahead and reboot your system. In some cases you may need to run some additional commands

  • bootsect /nt60 SYS or bootsect /nt60 ALL

1 comment:

Anonymous said...

wonderful post.Never knew this, regards for letting me know.