24 inch iMac doesn't boot up, stuck on apple logo, I/O Error
Hi there, I'm not really a apple user but a friend brough to me a iMac 24 inches bought on 2009, basically the thing doesn't start up, when the apple logo shows up the loading bar just doesn't go right at all, he says it has been like that for 2 years.
Anyways I've tried several things like resetting nvram, verbose mode, there it just shows I/O Error all the time, according to another friend that knows linux the error might mean that there's something wrong with the hard drive, here photos of the errors and more on verbose mode:
Also Single User Mode using the command fsck, but that didn't work either, lots of node errors
Basically everything that I could do with this iMac from here: https://appletoolbox.com/mac-fix-white-screen/
Also I tried making a usb drive with imageUSB (from windows) with an iso of mac osx El capitan and while it look like it was gonna do something https://i.imgur.com/ua9Zg9y.jpg it just showed up the "bad" icon when the load bar finished https://i.imgur.com/qr3eqjB.jpg
The idea was to try to reinstall osx to see if the hard drive was working properly or not in case the only thing wrong is the os installed inside that it's corrupted
I noticed there's a "windows" partition or something when pressing alt I noticed, If I try to start up that it just shows some ASCII symbols and a blinking underscore on the top left https://i.imgur.com/vzwipr2.jpg
If the hard drive is broken I don't know werever I can just tell my friend to buy an ssd, open it remove old one, put new ssd, close it and and try to install osx el capitan, because of that "bad" icon
Help, what should I do to fix it?
iMac Line (2012 and Later)