Just before you computer restarts, do you hear a strange clicking noise? If so, then you have a physical error on the HDD, which is pretty much unrepairable.
If not, try booting up from a boot disk.
_________________________
I swear, troubleshooting is a science: the best discoveries are always on accident...