How to fix a corrupt boot.ini file

What is boot.ini?

Boot.ini is a text file that tells Windows XP and earlier how to load and where each Windows OS is located.
If more than one OS is installed, you will be prompted to choose one each time your computer starts.

My boot.ini file is corrupted, how do I fix it?

  1. Enter the Recovery Console (instructions here)
  2. Type type C:\boot.ini (note - replace C: with the drive letter where Windows is installed)
    There should be one of two results.If your boot file is OK, it will be shown. This screenshot shows an example of a healthy boot.ini file:
    If your boot.ini file is corrupt, you should get a message like " The system cannot find the file specified."
    If your file is corrupt:
  3. Type bootcfg /rebuild This command scans your hard disk for installations and asks you to add them to a new boot.ini file.
    It may take a little while, so be patient.
  4. Choose to add the desired installations to the boot.ini file (you probably want all of them).
  5. When prompted to "Enter Load Identifier" type the name of your OS.
    For example, "Microsoft Windows XP Home Edition"
  6. For "Enter OS Load Options," type /fastdetect and press Enter
  7. Type exit to reboot your computer and see if it worked.