The first step towards repairing the MBR is to get into the "Advanced Boot Options" screen by repeatedly pressing the "f8" key on the keyboard just after powering the system on. That will take you here:
Select "Repair Your Computer", wait for everything to load, select your keyboard layout and login. Once you login, you will see this screen:
You want to select "Command Prompt". Now that you have command prompt open, you can start fixing the MBR. Please follow the commands below in order:
bootrec /fixboot
bootrec /fixmbr
bootrec /rebuildbcd
If all worked correctly, your screen will look like this:
diskpart - launches the diskpart utility
list disk - lists the hard disks that are available, you need the OS disk (usually the c:\ drive)
select disk x - once you find the disk you want to select, replace x with the correct disk number
list partition - lists the partitions that are available, you need the OS partition (usually the biggest one)
select partition x - once you find the OS partition, replace x with the correct partition number
active - sets the currently selected partition to active
exit - exit diskpart back to recovery console
Once you have the correct partition set as active, you can retry the bootrec commands and they should succeed this time. That is all there is to it!
No comments:
Post a Comment