No disk available when reinstalling macOS
My macOS was working perfectly fine a week ago when I tried to factory reset and discovered my bootcamp was not deleted properly. After removing bootcamp through recovery mode, I have attempted to reinstall OS X Yosemite but there are no disks available to select and install after agreeing to licence agreement.
Starting the macOS brings me a flashing folder with a question mark. Restarting and going into recovery mode, a spinning global pops up with "Starting Internet Recovery" at the bottom.
In recovery mode when OS X Utilities comes up, I go to:
- Reinstall OS X
- OS X Yosemite - continue and agree and agree to pop up window
- Then in select disk where I want to install OS X there is no disk to select from
Finally, in Disk Utility my HDD has a message shown in the picture attached. My computer was working perfectly fine so it is hard to understand how this could be a hardware problem all of a sudden.
Any help is appreciated.
iMac 21.5″, macOS 10.15