Article ID: 945380 - View products that this article applies to.
NoticeSupport for Windows XP Service Pack 2 ends on July 13, 2010. The Client Migration
(http://support.microsoft.com/ph/1131#tab4)topic in the Windows 2000 End-of-Support Solution Center
(http://support.microsoft.com/?scid=http%3a%2f%2fsupport.microsoft.com%2fwin2000)is a starting point for planning your migration strategy from Windows XP SP2. For more information, refer to the Microsoft Support Lifecycle Policy
In Windows XP Service Pack 2 (SP2), you may receive the following error message:
Windows could not start because the following file is missing or corrupt.
Please re-install a copy of the above file.
This problem may occur if one of the following problems occurs.
Problem 1You have a bad partition or a bad boot record.
Problem 2A file system or disk corruption causes the primary boot record, the Hal.dll file, or the Ntoskrnl.exe file to become damaged.
Problem 3The Hal.dll and the Ntoskrnl.exe files are mismatched.
Advanced troubleshootingIf you are not comfortable with advanced troubleshooting, you might want to ask someone for help or contact support. For information about how to contact Microsoft support, visit the following Microsoft Web site:
Problem 1To resolve this problem, use one of the following methods.
Method 1Repair the master boot record by using the fixmbr command from the Windows XP Recovery Console.
For more information about how to use the Recovery Console in Windows XP, click the following article number to view the article in the Microsoft Knowledge Base:
307654For more information about an error message that you may receive when you use the fixmbr command, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/307654/ )How to install and use the Recovery Console in Windows XP
(http://support.microsoft.com/kb/266745/ )Error message when you run fixmbr command
Method 2If the primary boot partition is a FAT partition, use the fixboot command from the Windows XP Recovery Console to write a new boot sector on the system partition. Then, use the fixmbr command to repair the master boot record.
Problem 2To resolve this problem, start the computer by using the Recovery Console in Windows XP, and then run the chkdsk /r command.
For more information about how to install and to use the Recovery Console in Windows XP, refer to the resolution in the "Problem 1" section.
Note You do not have to include the /p switch in the chkdsk command because the /r switch causes the Chkdsk utility to locate bad sectors and to recover readable information. The chkdsk command implies the /p switch.
Problem 3To resolve this problem, start the computer from the Windows XP installation media, start the Recovery Console, and then use the Bootcfg.exe tool to rebuild the Boot.ini file. To do this, follow these steps:
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
314477For more information about how to use the System Restore feature, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/314477/ )Error message: Windows could not start because of a computer disk hardware configuration problem
(http://support.microsoft.com/kb/306084/ )How to restore the operating system to a previous state in Windows XP
Contact us for more help
Connect with Answer Desk for expert help.