Friends

Selasa, 18 Januari 2011

MBR - Restore Windows 7 Master Boot Record

How to Restore the Windows 7 MBR (Master Boot Record)

information   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   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 (or to a "Repair CD"). At this screen choose to install now.
Click this bar to view the full image.


2. Select your language and click next.
Click this bar to view the full image.


3. Click the button for "Use recovery tools".


4. Then select "Command Prompt".
Click this bar to view the full image.


5. When open, the command prompt will look like this:
Click this bar to view the full image.


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
Click this bar to view the full image.


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)
Click this bar to view the full image.


8. To restore the "bootsector code":

Code:
TYPE: bootsect /nt60 SYS /mbr
and press Enter
Click this bar to view the full image.

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
Click this bar to view the full image.


11. Then you can reboot your computer into Windows.

0 komentar:

Posting Komentar

300Ribu Dapat Website
### ###