bootcfg /scan and then bootcfg /rebuild - this will search you drives for all OS's and build a new boot.ini file. Answer A for All when prompted. If the command returns an error - reboot from the USB/CD and run the repair console again on a clean boot.
Check the boot.ini by typing
0) and not rdisk(1). e.g.
Ensure that the default entry is correct and has rdisk(
If your boot.ini looks like this
then it will be trying to boot from the 2nd hard disk and not your first internal hard disk. In this case you need to edit the boot.ini file (or copy over a new version).
Be warned: If you have booted a USB repair drive using a flat file structure, bootcfg may well set the boot.ini to rdisk(1)! Always boot from an ISO file (see Tutorial 30) or a CD.
map command to find the ISO/CdRom0 device letter) - type:
5. Assuming your target disk that you are trying to repair is C: and your USB/CD drive that has your XP install files on it is E: (use the
copy ntdetect.com c:\
copy ntldr c:\
here - click the link for more screenshots.
This information was first published