Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.