Friday, July 24, 2009

how to repair boot sector in xp

If your pc wont be able to boot from xp there might be a damaged boot sector or a missing or corrupt ntldr or ntdetect.com files, to repair these items follow these steps.

To repair a damaged Boot Sector
  • go to the recovery console
  • type following command and press enter
  • fixboot
  • press Y and proceed
Note - the boot sector is written to the partition that's currently labeled as the C: drive

To replace damaged ntldr and ntdetect.com

To replace damaged ntldr and ntdetect.com you can copy fresh files from the XP CD using the COPY command. Boot with the XP CD and enter the Recovery Console.At the Command Prompt type the following (where "X" is your CD-Rom drive letter) allowing the files to overwrite the old files.
  • COPY X:\i386\NTLDR C:
  • COPY X:\i386\NTDETECT.COM C:

No comments:

Post a Comment