Hi Paul,

We had a problem like this with a iMac G5 and we concluded it was a logic board issue.

It took a long time to boot and lots of red dots appeared on screen before it froze.

Try running an Apple Hardware Disc to see if your logic board is broken