iMac Freezes right at a tenth of booting up on the loading bar
Every time I boot up my iMac it shows the apple logo for a few seconds, then it shows the loading bar at approximately 1 tenth of the way up. It never shows it loading to that point, and it never shows it going past that point. Now, this gets even worse/or better when this happens on every disk I boot up from. It happens on recovery and my os install drive. This seems like I should reset my pram, but whenever I hold option+cmd+p+r, it boots into internet recovery, almost like the p never existed. This is a wireless keyboard, as I do not have any wired mac keyboards (but plenty of windows) maybe somebody can tell me the keybinds of a windows keyboard on mac recovery. The iMac is a mid 2011. Maybe the firmware is buggy?
More details: This mac was on el capitan when I recieved it. I wiped the drive in recovery and attempted to install el capitan but it said resource temporarily unavailable. Then I made a bootable install drive and installed el capitan that way. Then I updated it to High Sierra. All was well until I clicked restart to update. When I checked on it in the morning, the boot screen showed a tenth of the way, like I described above.
iMac 21.5", macOS 10.13