Follow the procedure below to repair original boot.ini file

  1. Firstly arrange a Bootable Windows XP setup CD.
  2. Boot from bootable Windows XP setup CD and press R to enter recovery console which allows to restore the corrupted boot.ini file to original.
  3. Now enter your administrative username and password, when you get the command prompt type the following command “bootcfg /rebuild” (without double quotes) and press Enter.
  4. Bootcfg utility on the Windows XP setup CD will scan your drives for any Windows XP installations and then display the results which you can select to repair the corresponding boot.ini file.
  5. The first prompt asks to Add installation to boot list? (Yes/No/All).  type “Y” (without double quotes) and press enter.
  6. The next prompt asks to Enter Load Identifier ” This is nothing but the name of the operation system which appears at the time of Booting ” :type Windows XP Professional or Windows XP Home Edition or simply Windows XP and press Enter.
  7. Now it will ask to Enter OS Load options: type /Fastdetect and press Enter.
  8. Take the Windows XP bootable CD out from the tray and Type exit and then press Enter to restart your PC.