In my case (iMac wont boot up past the white apple screen with the spinning circle.) it is a motherboard faulty: capacitors burst. HDD Test passed.
open