Causes for iMac G4 to freeze up.

My iMac G4 1.25 ghz, 2 gb of ram, 17 in model number M9168lla failed to load OS 10.5, froze 20 min into install, I replaced hard drive with a 320gb, in fire wire target mode I installed 10.4, once finished I restarted the iMac and it ran nicely for 20 min, then froze up. Any ideas as to what causes this?

crwdns2893858:0crwdne2893858:0 crwdns2893862:0crwdne2893862:0

crwdns2894050:0crwdne2894050:0

crwdns2889612:0crwdne2889612:0 0
crwdns2892346:0crwdne2892346:0