2009 mac mini won’t boot
a few months ago I started up my mac mini again and it has been having problems ever since. Firstly it show that it had kernel issues but I “fixed” that by restarting it. However, a few weeks ago it started to have problems when booting up. I would turn it on and when the gray screen with the Apple logo and the loading bar appeared it would stay there forever. But again, I would turn it off and back on and it booted fine. Now it stays on that screen forever and when it reaches the end it shuts down.
this is all i have done: safe mode, first aid, /sbin/fsck -fy in single user mode. Nothing worked.
Yesterday I tried reinstalling OS but when i have to choose the hard drive Macintosh HD doesn’t appear and Recovery HD is locked.
Any information is greatly appreciated.