Dec 07

Talk about bad luck! Reader Fred Peatross has started running into two of the very worst kinds of XP boot errors:

“One of my computers keeps getting the message ntldr missing corrupt file; hit any key. Recently, the message changed to a hal.dll file, either missing or corrupt.

“I can always do a cold boot and go right back into Windows XP. Warm boot doesn’t get me into Windows, I get the missing or corrupt file prompt. I thought my hard drive might be going bad, so I purchased SpinRite. Ran SpinRite, and the HD had no errors and was fine. Is this going to come down to a reformatting of my HD?”

Intermittent problems can be among the hardest to troubleshoot. But the simplest thing to do to try to resolve this is to start with XP’s Rebuild command. The short form of the fix is as follows:

Step 1. Boot from your XP Setup CD and enter the Recovery Console
Step 2. Enter the command attrib -h -r -s c:\boot.ini
Step 3. Delete the file (del c:\boot.ini)
Step 4. Run bootcfg /rebuild
Step 5. Run fixboot

Those five steps can fix a number of thorny startup issues and may be all you need. But if the above is too telegraphic for you, you can read fully detailed instructions in my InformationWeek article, “XP’s Little-Known Rebuild Command.” Microsoft’s official instructions can be found in “Description of the Windows XP Recovery Console” and “Recovery Console Tools and Settings.”

If the Rebuild command doesn’t help, you may be able to solve the problem by attacking each error message separately. For example, Kelly Theriot’s excellent site has a very complete how-to on the Missing HAL.DLL problem. Also, Microsoft offers “How to troubleshoot the ‘NTLDR Is Missing…’ error message” and ” ‘NTLDR is missing’ error message when you install or upgrade Windows XP.”

Finally, if none of these software fixes work, or if the problem comes back, then indeed you may have a subtle hard-drive problem. It may be related to a marginal power supply, a heat issue, or simple old age (i.e., the drive’s actuators are wearing out and functioning erratically).

There’s no simple diagnostic for that, but making sure the software is OK is the first step to whittling down the variables you face.

-WindowsSecrets.com

Leave a Reply