computer freezes after a minute after startup
My iMac (2009) will boot up normally. But after about 1 minute, completely freezes. I can't run first aid because it freezes before I can get it loaded. I tried booting up in Safe Mode but the computer never makes it to the log in screen and turns off. I also tried rebooting with Option + Command + P + R, but same result, froze before I could do anything.
I just tried booting with CMD + R and ran disk utility. I was able to run disk repair and received no errors or issues.
Running out of ideas.
Thanks
iMac, OS X El Capitan (10.11.4)