KiltedTim wrote:
I would think if the issue was the hard drive not spinning up, you'd get an error message indicating a failure to boot. Failed hard drive doesn't seem to fit with the symptoms as outlined in my experience.
"after a long time of being plugged in (which seem to get longer each time) the electric noise stops and then I am able to power on the device"
I have encountered a fair number of Hard Drives which have "buzzing" noises which can sound like a bad fan bearing, or even marbles rattling in a can (yes that loud), buzzing, screeching, and even a few other sounds.
I have also seen a fair number of Hard Drives fail to such an extent that it will prevent anything from being displayed on the screen....never even see the flashing folder with the question mark. Yes, some failing drives can lock the system up that it never gets far enough to display anything on screen (or perhaps I never gave it enough of a chance to time out & display the blinking folder....I think I gave one at least 5 minutes).
Hard Drive failures are the number one failure with those older iMacs. Power Supplies were the second most common failures.....usually due to the large capacitor bulging & leaking.
It all depends whether "able to power on the device" means there was no power on at all.....however, most users cannot notice the subtle signs when there is no video on screen. I see users use "power on" and "booting" interchangeably.
I actually was thinking bad power supply at first until I read more of the OP's post where the other symptoms & behavior combined sounded more like symptoms of a Hard Drive failure to me. Typically there will be just one part failure, but with such an old system....especially if it has not been used for a while, it could have multiple failures. And it sounds like the OP just acquired this iMac so there is no background history. Usually you are buying other people's problems when you buy something used (may be Ok if you are skilled at fixing things & have access to the necessary items to fix it on a budget).
Unfortunately we will probably never know the answer here.