SearingFrost, on Sep 12 2007, 06:41 PM, said:

!!!!!THANK GOD!!!!!
I just had this same problem and was reading this forum to try and find an answer (though sadly i did not). Instead i decided to boot from my original windows install disk and run the recovery console (press R). at this screen type 'FIXBOOT', it will prompt you for a confirmation so just say yes (type 'y'). It will write over your previous boot files BUT NOT YOUR PERSONAL DATA!!!!! after this runs and says that it has completed successfully, type 'exit' and the console should quit and your computer is back.
edit: caution, i think this is only a temporary fix (meaning you'll have to go through the same procedure every time you boot your computer) so i would recommend backing up all of your files onto an external hd and then reformatting your computer (by the way i have the same computer, Dell Inspiron 5100, so this fix will probably work the same for you as well).
I am posting my reply to this today, a year and a half after yours, to say THANKS.
I had the dreaded 'error loading operating system' and a black screen on my Windows XP HP Pentium machine after 2 years of satisfactory use. I use it incessantly and thought I had lost all my machine data.
Used my laptop, searched google and found this forum topic.
Your post, pointed me to using Windows XP original disk to repair as you described.
It worked and I am so grateful.
I will back up all my data just in case but how was the problem caused?
Depending on what you read on other forums, they point to an incompatibility between bios and hard disk.
It certainly wasn't that. My machine has been running happily for 2 years.
I have a suspicion malware may have done something.
The repair confirmed that I have NTFS installed which was correct and alsoo said it could not find the boot and then repaired it after I said Y to fix.
Thanks to this forum and yourself for overcoming this problem.
One final note is that the repair was only needed once and I have rebooted several times since