G5 Freezes on Boot
My G5 (A1047, mid-2003, 10.5) is having booting issues - when I try to boot normally it freezes on the grey boot screen. The fans go crazy, and the machine sounds like a freight train. When I attempt to boot into safe mode, I can get into the login screen, but it freezes when I try to input text to the password field (fans go crazy at this point). I tried repairing the disk in single-user using fsck, to no avail.
I have been able to boot from the recovery disk (oddly, the fans behave normally when I do). I attempted repairing permissions with disk utility, but it the system just hangs (I let it sit for ~1hr, so I promise I wasn't being impatient), and I'm forced to restart. I thought it might be an issue with a corrupt file system or OSX install, so I tried reinstalling OSX, but I got kernal panics during every attempt.
Any ideas what the issue might be? My main suspects are HDD or video card, however I have no extras of either, so I can't test my theory easily. I've reset the PRAM and PMU, so I don't believe it's those either.