Insert your XP CD and when you see ?Press any key to boot from CD? press a key. Now wait for the XP installer to finish loading up and you will be presented with the option to press R to Repair.
Press R.
The next screen will ask you which Windows? installation you would like to log on to. Normally the following will be listed:
1: C:\WINDOWS
Press 1, then Enter to continue.
You may now be asked for the Administrator password. If you know this type it and press Enter. If you don't know the Administrators password it may be blank. Just press Enter or type your username and password.
At the command prompt type:
attrib -h -s -r C:\boot.ini
del C:\boot.ini
bootcfg /rebuild and press Enter
fixboot and press Enter
Once you are back to the Recovery Console remove the XP CD and restart your PC.
Edit formatting gets changed