The one that your trying to use might be a bad harddrive for installing the os onto.
You will need to find another harddrive somewhere that you know is good and only install it, no others..
Do a full format and install windows xp.
If it still crashes after this then it has to be the motherboard or the bios is failing.