 | | Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks. | Windows 7 - MBR - Restore Windows 7 Master Boot Record MBR - Restore Windows 7 Master Boot Record How to Restore the Windows 7 MBR (Master Boot Record)
Published by iseeuu
08-14-2009
| MBR - Restore Windows 7 Master Boot Record How to Restore the Windows 7 MBR (Master Boot Record)  Information If you have been dual booting with Linux, then you probably know one of the Linux boot managers like Grub or LILO has been installed in the MBR of your hard drive. What can you do when you no longer want Linux on that hard drive? This tutorial will show you how to use your 7 DVD and BOOTSECT.EXE to restore the "bootsector code" of the MBR and allow you to begin booting to Windows 7 again.  Tip You can use this method to update the bootsector code for Windows 7, Vista, XP, 2000 or switch between Bootmgr and NTLDR. Just check the Microsoft TechNet site for the correct command. Here's How:1. Boot your computer to the Windows 7 DVD. At this screen choose to install now. 2. Select your language and click next. 3. Click the button for "Use recovery tools". 4. Then select "Command Prompt". 5. When open, the command prompt will look like this: 6. The command we will use, bootsect.exe, is in a folder (named boot) on the DVD.We need to know what drive letter has been assigned the DVD drive to access the folder. Code: Type: diskpart
and press Enter
Type: select disk 0 (zero)
and press Enter
type: list volume
and press Enter In this screen shot, the 7 DVD is letter: G  7. Use your DVD drive letter and Code: Type: exit
and press Enter
to close Diskpart
Type: G: (use the letter of your DVD drive)
and press Enter
Type: cd boot
and press Enter
Type: dir
and press Enter to verify that bootcect.exe is there (if you really need to) 8. To restore the "bootsector code": Code: TYPE: bootsect /nt60 SYS /mbr
and press Enter 
NOTE: If this method fails to restore the MBR, you can try the bootrec command as it is also a tool for repairing the MBR. 9. When completed successfully, Code: Type: exit
and press Enter This will close the command prompt window. 10. Now select Shut Down or Restart 11. Then you can reboot your computer into Windows.
|  Published by | | Donkeys are smart! Join Date: Feb 2009 Location: MO, USA Posts: 2,177 | |
 Tutorial Tools | | | | | | | | | System Manufacturer/Model Number Toshiba Satelite OS windows 7 RTM CPU AMD Athlon x 2 64 Memory 4gb |
08-28-2009
|
#2 | | 7 Home Pre x64, Windows XP Pro, Ubuntu 9.04 MO, USA |

Quote: Originally Posted by bluemoon4ever handy tip, thanks, Thanks, bluemoon4ever! You are most kind.
Please allow me to be the first to welcome you to Windows Seven Forums. Glad to have you!
Robert | My System Specs | | System Manufacturer/Model Number Custom OS 7 Home Pre x64, Windows XP Pro, Ubuntu 9.04 CPU AMD Athlon 64 3400+ (single core) Motherboard Foxconn NF4UK8AA Memory 2 X 1GB OCZ Platinum DDR400 Dual Channel Graphics Card PNY GeForce 7300 256MB PCIE Sound Card NVIDIA nForce4 Ultra Onboard Chipset Monitor(s) Displays 2 x Acer AL1716 Screen Resolution 1280 x 1024 PSU Antec Earthwatts EA-430D Hard Drives Maxtor 6Y060L0, WD 1600JS Internet Speed 3M Cable Other Info Windows Experience Index: 3.3 |
09-27-2009
|
#3 | | |
Just wondering. I currently have a dual boot with XP. If I want to delete the XP partition can I use this method to fix the mbr after I have deleted the XP partition and resized the Win 7 partition? Or do I need to fix the mbr first and then delete the Xp partition? | My System Specs | | System Manufacturer/Model Number zoostorm OS Win 7 64bit retail CPU Pentium D 3.0Ghz Motherboard Foxconn 945 Memory 4Gig Graphics Card nvidia 6800 Sound Card Realtek high definition Monitor(s) Displays Acer AL1913 Screen Resolution 1280 x 1024 Hard Drives 320Gig internal Sata: 1Tb external networked drive Internet Speed 2Meg (when ISP lets me) |
09-27-2009
|
#4 | | 7 Home Pre x64, Windows XP Pro, Ubuntu 9.04 MO, USA |

Quote: Originally Posted by Antony Just wondering. I currently have a dual boot with XP. If I want to delete the XP partition can I use this method to fix the mbr after I have deleted the XP partition and resized the Win 7 partition? Or do I need to fix the mbr first and then delete the Xp partition? Hello Antony! and welcome to Windows Seven forums, your questions are always welcome.
I can not give an accurate answer to your question until I know more about how your OSs are arranged on your hard drive(s). However, if you installed 7 after XP and now want to remove XP then the MBR probably does not need any repair in order to boot to 7. If you just want to remove the XP choice from the boot menu, you can use "msconfig" to delete the XP entry, no MBR fix necessary. (Thanks to Snuffy for this tip!)
Cheers!
Robert | My System Specs | | System Manufacturer/Model Number Custom OS 7 Home Pre x64, Windows XP Pro, Ubuntu 9.04 CPU AMD Athlon 64 3400+ (single core) Motherboard Foxconn NF4UK8AA Memory 2 X 1GB OCZ Platinum DDR400 Dual Channel Graphics Card PNY GeForce 7300 256MB PCIE Sound Card NVIDIA nForce4 Ultra Onboard Chipset Monitor(s) Displays 2 x Acer AL1716 Screen Resolution 1280 x 1024 PSU Antec Earthwatts EA-430D Hard Drives Maxtor 6Y060L0, WD 1600JS Internet Speed 3M Cable Other Info Windows Experience Index: 3.3 |
10-23-2009
|
#5 | | |
Hi
Wonder if you could help on a little problem I have.
I have got Windows 7 Ultimate and installed it on a new hard drive. After installation I partitioned the drive in Windows creating a 400GB, 100GB, 500GB. After this completed I also noticed a 100MB System Reserved section but just ignored it. Everything worked fine.
Then I think I did wrong. I wanted to create a dual boot system to also have XP on my PC and tried installing it on the 100GB partition but during instal everything crashed and now I get "Error Loading Operating System" when booting up. I have tried to repair using the Windows 7 DVD but no luck and when I look at the drives in Command Prompt they show as follows:
C: System Reserved
D: Spare Partition
E: Spare (my 2nd hard drive)
F: Windows 7 Partition
Have tried following the instructions on here and it said succesful but still will not boot. Anyone have any ideas?
Cheers | My System Specs | | |
11-01-2009
|
#6 | | 7 Home Pre x64, Windows XP Pro, Ubuntu 9.04 MO, USA |

Quote: Originally Posted by Hammer100 Hi
Wonder if you could help on a little problem I have.
I have got Windows 7 Ultimate and installed it on a new hard drive. After installation I partitioned the drive in Windows creating a 400GB, 100GB, 500GB. After this completed I also noticed a 100MB System Reserved section but just ignored it. Everything worked fine.
Then I think I did wrong. I wanted to create a dual boot system to also have XP on my PC and tried installing it on the 100GB partition but during instal everything crashed and now I get "Error Loading Operating System" when booting up. I have tried to repair using the Windows 7 DVD but no luck and when I look at the drives in Command Prompt they show as follows:
C: System Reserved
D: Spare Partition
E: Spare (my 2nd hard drive)
F: Windows 7 Partition
Have tried following the instructions on here and it said succesful but still will not boot. Anyone have any ideas?
Cheers Hi Hammer100! Welcome to Windows Seven Forums.
I am not sure what caused your booting problem. However, Windows 2000 and XP use NTLDR for their boot manager and Vista and Seven use Bootmgr. So by installing XP after installing 7 the Bootmgr has probably been overwritten breaking the boot path to 7. I would suggest you install XP first and then 7 because the 7 Bootmgr will include XP in the boot menu.
Here is a link to some tutorials for dual booting: Dual Boot Installation with Windows 7 and XP
If you are still having issues I can have this post moved to its own thread to get more help for you?
Cheers!
Robert | My System Specs | | System Manufacturer/Model Number Custom OS 7 Home Pre x64, Windows XP Pro, Ubuntu 9.04 CPU AMD Athlon 64 3400+ (single core) Motherboard Foxconn NF4UK8AA Memory 2 X 1GB OCZ Platinum DDR400 Dual Channel Graphics Card PNY GeForce 7300 256MB PCIE Sound Card NVIDIA nForce4 Ultra Onboard Chipset Monitor(s) Displays 2 x Acer AL1716 Screen Resolution 1280 x 1024 PSU Antec Earthwatts EA-430D Hard Drives Maxtor 6Y060L0, WD 1600JS Internet Speed 3M Cable Other Info Windows Experience Index: 3.3 |
11-02-2009
|
#7 | | |
Hi Robert
Thanks for the reply. What I ended up doing for the moment was to buy a new hard drive to install Windows 7, is it possible to multi boot from two different drives or do the two OS need to be on the same physical drive?
Thanks
Dave | My System Specs | | |
11-02-2009
|
#8 | | 7 Home Pre x64, Windows XP Pro, Ubuntu 9.04 MO, USA |

Quote: Originally Posted by Hammer100 Hi Robert
Thanks for the reply. What I ended up doing for the moment was to buy a new hard drive to install Windows 7, is it possible to multi boot from two different drives or do the two OS need to be on the same physical drive?
Thanks
Dave It is absolutely possible to dual boot from two or more hard drives; in fact it has some advantages. I highly recommend it to those who want to dual boot with Linux. For example, the Linux boot manager can be fully functional on its on hard drive and include your Windows OSs in its menu, while your Windows OSs can be managed with a Window's boot manager and include the Linux OS in its menu. You then control which boot manager you wish to use by using the bios to select the hard drive it will boot to. If a hard drive crashes you can still run the OSs on the good drive.
When you are installing an OS, just unplug all other hard drives and only work with one at a time.
Also, I like to set the current OS partition to C:, and give the other partitions different letters. That way the running OS is always drive C:.
There are a few Window's utilities that help edit the Window's boot manager so you can add and remove OSs from its menu, if you need them.
Later!
Robert | My System Specs | | System Manufacturer/Model Number Custom OS 7 Home Pre x64, Windows XP Pro, Ubuntu 9.04 CPU AMD Athlon 64 3400+ (single core) Motherboard Foxconn NF4UK8AA Memory 2 X 1GB OCZ Platinum DDR400 Dual Channel Graphics Card PNY GeForce 7300 256MB PCIE Sound Card NVIDIA nForce4 Ultra Onboard Chipset Monitor(s) Displays 2 x Acer AL1716 Screen Resolution 1280 x 1024 PSU Antec Earthwatts EA-430D Hard Drives Maxtor 6Y060L0, WD 1600JS Internet Speed 3M Cable Other Info Windows Experience Index: 3.3 |
11-07-2009
|
#9 | | |
this way did not work on my case. i have a laptop installed windows 7, it was okay. until today i saw a article about removing the 100MB of "system reserved" partition.......and yeah...i did removed it by using my Windows 7 installation dvd.. now my laptop wouldnt boot...it shows only operating systen not found"
i tried the method above but at Step 3, mine did not show up any operating system..all blank so i just clicked next
then at Step 9
it couldnt restore the bootsector code.
it only shows "the system partition was not found: the requested system device cannot be found"
and then everything remain the same, still cannot boot.
i know i am stupid to remove the system reserved partiton..
but i really need help here, i have imporant data in the laptop so i dont want to format and reinstall...
if anyone can help, i really appreciate | My System Specs | | All times are GMT -5. The time now is 08:11 AM. |  |