This message occurs during the startup Ckeckdisk in Windows XP when data is corrupted in HD. At the start, Windows XP does a verification standard disc that can be ignored is pressing a key when prompted.
The message "Inserting an index entry in the index $ 0 of file 25" indicates that there are corrupted files on a disk partition, and worse, verification of disk can never finish, or take long!
How to solve then? First, to make the verification of the disc is overlooked incialização on.
If your Windows boot normally go in the MS-DOS prompt and run for each partition, the following command: chkdsk / r / i and wait. It will take a lot, depending on the size of the partition and number of files.
If your Windows is not even booting, the problem is much more serious. You should run the same command chkdsk / r / i, however, from the console of the Windows XP Recovery, which can be incializado by the installation CD for Windows XP.
If all goes well ... you'll see something like this ...
(omitted several pages of the messages of stage 1 and 2).
...
CHKDSK is verifying the security descriptors (stage 3 of 5) ...
Verification of security descriptors completed.
Entering data on file attribute of 43,099.
Entering data on file attribute of 43,103.
Entering data on file attribute of 43,122.
Entering data on file attribute of 43,864.
CHKDSK is verifying the data files (step 4 of 5) ...
Verification of the data file complete.
CHKDSK is verifying the available space (stage 5 of 5) ...
Verification of available space completed.
Correcting errors in the BITMAP attribute of MFT.
Correcting errors in the volume bitmap.
Windows has made corrections to the file system.
105083968 KB total disk space.
92740660 KB in 143,204 files.
47,316 to 11,218 KB indices.
0 KB in bad sectors.
261,924 KB in use by the system.
65,536 KB occupied by the log file.
12034068 KB available on disk.
4096 bytes in each unit allocations.
26270992 total allocation units on disk.
3008517 allocation units available on disk.
Unable to get a handle to the event log.
D: \>
Good luck! And if you know of something better to solve this problem, comment here.