Repair Damage Master Boot Record & Boot Sectors

Introduction
Very often, computers cannot boot properly because there is a damaged Master Boot Record or Boot Sector; also, computers may run slow and may sometimes just re-start for no good reasons. This article will describe a way to repair that damaged record, boot sectors and the bad disk media.

FAQ
1. What is Master Boot Record (MBR) and Boot Sector?
When computer starts up, the BIOS (Basic Input/Output System) will start a small program stored in the first sector of the Master hard disk. This program, called the MBR, has a partition table that will tell which partition will be used for booting and transfer control to the partition boot sector of that partition to continue with the booting process. .

2. How Can MBR & Boot Sectors Get Damaged?
MBR and boot sectors can be damaged by virus attacks and sometimes, by power glitches or faulty disk medias.

3. What is the Common Messages for Damaged MBR?
One will receive messages such as "Invalid partition table when loading the operating system" or "Missing operating system". In some cases, one does not get any message at all, depending on the make of the system.

4. Would the Existing Files and Partitions Be Erased?
The repair would not erase existing files and partitions that have been created in the existing drive or the multi-partitions in one drive provided the partitions are of the standard partitions.

5. How Do We Repair ?
There are several ways to carry this repair to MB, of which, the
most common one is to use the Recovery Console of the Window XP system.

Preparation
One would need a copy of the XP installation disk. For those who does not have a XP installation disk, one can download filies from this Microsoft Website to make 6 floppy disks. One can also make CD by following the advice from this reader who had prepared a package which contains instructions in the readme file.

Next Steps
1. Detection of Hard Disk
Boot up the computer and in the first screen, hit Del or F2 or F10 depending on your computer make to get into the BIOS Setup Page. In the Main page, one should see the Hard disk being detected by the BIOS. If there is no harddisk detected, the harddisk could have a loose connection or the hard disk is faulty;

2. Set Boot Device Priority
If a harddisk has been detected, navigate to the Boot menu and set Boot Device Priority to start from CD or DVD drive;

3. Enter Recovery Console
a) Boot up the computer with the Windows XP installation disk in CD/DVD drive. At the prompt to "press a key to start the computer from CD/DVD drive", do so quickly;

b) After a few minutes, one should reach the following screen:


However, when PC has SATA drives, XP installation software may not be able to find it and display the screen shown. This is because XP, being an older technology, does not have the drivers for SATA drives. One would have to incorporate SATA drivers in the installation process.


c) At the prompt, press the R key to enter the Recovery Console.

4. Start Recovery Console
a) When Recovery Console started up, it will prompt one to enter a number corresponding to the Windows XP installation that one needs to repair. In most cases, one will enter "1" (which may be the only choice). If one presses ENTER without typing a number, Recovery Console will quit and restart your computer.


b) Enter your Administrator password. If one doesn't enter the correct password, the process cannot continue.

5) Check and Repair Damaged Sectors
While in Recovery Console and at the DOS prompt, the first thing to do is to check and repair the disk drives for damaged disk sectors.

In the prompt, type "chkdsk c: /r (without quote, same as rest. Change C: to other drive number to be checked) and hit enter. "Chkdsk" will repair bad sectors, lost clusters, cross-linked files, and directory errors caused by system crashes or freezes, power glitches, incorrectly turning off and other problems.

This process may take about 10 minutes to scan a harddisk depending on the capacity and the condition of the hard disk. It might take longer (more than 1 hour) if it detects multiple bad sectors; however, if Chkdsk takes much longer than 1 hours, it may indicate hard drive had gone bad. A good disk drive will take only minutes to complete the scanning.

If there is a bad sector detected, Chkdsk will respond "CHKDSK is performing additional checking or recovery" and may run a second scan automatically.

Sometimes, it might be necessary to dismantle the harddisk and remove the print circuit board(PCB) to clean the contacts between the PCB and the harddisk. After many years of operation, these contacts may need to be cleaned using contact cleaner.

6) Repair MBR
At the next DOS prompt, type "fixmbr" and then verify that one wants to proceed. The damaged MBR will be replaced with a good one from the XP installation disk. The user will be prompted if MBR detects more than one partition in the hard disk irrespective of the type of partitions..

7) Repair Boot Sectors
At the next prompt, type "fixboot" and then verify to proceed.

8) At the next prompt, type "Exit" to exit Recovery Console. Type "Ctl-Alt-Del" to reboot.

NOTE: Should one has a dual boot or multiple booting system installed in the computer, the procedures to repair the MBR and boot sector would be different as the MBR program would be different. For example dual booting of XP and Vista, one would have to amend the Boot Configuration Data with VistaBoot Pro after one has successfully repaired the MBR/Boot sector.

8) Making Recovery Console Available
One can make the Recovery Console always available during startups. With the XP installation disk in drive, click start button then run, in the drop down box, enter "F:\I386\WINNT32.EXE /cmdcons", where "F:" is the drive that has the XP installation disk.

The Recovery Console will always appear as one startup option when one turns on the computer. The default timing of the option is 30 sec. One can adjust this timing from the "startup and recovery" section of the advance tab in the "System Properties" windows.


Other Related Sites
1. How to Revive Faulty Hard Disk
2. How To Restart After Computer Hangs

5 comments:

Marce said...

Very good info!, I have a question maybe you can answer, I have a HP TX1410US and I forgot to make the recovery disc, I know that I have a Recovery Partition, and also when the system start I have the option to press esc fors setup F10 boot order and F11 for recovery, buet F11 dont work, dont respond when pressing. Well, there is a way to get the recovery? THANKS IN ADVANCE

David said...

Thanks... i've suffering this problem for last 2 weeks. and finally i success after getting your very comprehensive help. thanks a lot. hope you will post some more valuable information regarding this king of typical problems. in addition - i just add one thing - befor doing all the thing which mentioned in this guide; please check your CPU's fan is running or NOT. if NOT Then plug it. and folloew this guide. Because in my case - it is take another vital issue - i' mean - the CPU FAN ... :)

Sachin said...

thanks for the useful information. I do get the recovery console at start up but when I enter that I get a blue screen. I think XP drivers are not enough for my hard disk. It came from IBM with everything pre-installed and I don't really know the details.

Is there some way to make sure the hard drive is recognized so that the win recovery console can be used?

Sky Juice said...

Folks, sorry for the late reply and thanks for the comments.
Marce, Don’t have an answer for you. You can ask someone for a copy of the recovery disc, it will work.
David, it is a good added comment. CPU fan must be working.
Sachin, the blue screen you have got may be the blue screen of death (BSOD). It could have been caused by many reasons. Usually, when the harddisk is not recognized, Window installation program will prompt the users before showing the blue screen. It may be some faulty device drivers causing the problem. Try looking up the following article for a solution
http://www.pcstats.com/articleview.cfm?articleID=1647

Anonymous said...

Very soon this web site will be famous amid all blog viewers, due to it's pleasant articles or reviews
Visit my blog Go Here