Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to repair an invalid boot.ini file, but I don't have a Windows XP CD.

Does anyone know how to repair the boot.ini file, without a Windows XP CD?

share|improve this question

You can boot from an Ubuntu Live CD and edit the file C:\boot.ini, You just open it in notepad and this is an example of it's structure:

[boot loader]
timeout=5
default=multi(0)disk(0)rdisk(1)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /fastdetect
share|improve this answer

From "Invalid Boot.ini" error messages when you start your computer:

To resolve this issue, start the computer from the Windows XP CD, start the Recovery Console, and then use the "Bootcfg.exe /rebuild" tool to rebuild the Boot.ini file.

See the above article for step-by-step instructions.

EDIT:

You can use the DiskInternals Boot CD to boot and do some repair operations.

If you need an Emergency Boot CD (XP SP2 Pro & XP SP2 Home), there is apparently also a mini-iso here, but I haven't tried it.

share|improve this answer
2  
It was stated in the question that the poster did not have a Windows XP CD. – Insomnic Oct 6 '09 at 14:09
    
OK - fixed. (because required at least 15 characters) – harrymc Oct 6 '09 at 17:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .