"Disk Locked" macOS reinstall!

I have just wiped my iMac, and something must have gone wrong in the process as i cant change the boot drive by holding down option key and when i go to install reinstall macOS through macOS utilities when i select the 500GB hard drive the main one it just says "Disk is locked". Can anyone help me with this issue?


You have to create a new volume prior re-installing OS X. Otherwise you can’t select your drive.

Disk Utility

  • Select Disk Utility from the utilities window of macOS Recovery, then click Continue.
  • Select your harddrive in the sidebar
  • Click the Erase button (MAKE SURE YOU DO HAVE BACKUP)
  • Format: Choose Mac OS Extended (Journaled)
  • Scheme: Choose GUID Partition Map.
  • Go back to the OS X installation guide.

I believe you followed the official guides and you tried to factory reset your Mac and you find yourself in this situation: the disk is locked and you cannot select it for re-installation

enter image description here

You already tried to partition the disk multiple times but it keeps erroring with the Error: -61

enter image description here

In this case you can try:

  • Cmd+R : For the normal reinstall but the problem still persists
  • Shift+Alt+Cmd+R : For the internet reinstall but the problem still persists

The solution for me was to restart the Mac just pushing Alt

In this case you will see this:

enter image description here

Arriving at this point you need to select not your MacintoshHD but the one on the right instead which is the image of your Mac.

Once selected you will have the chance to format MacintoshHD (this time the right way) and then, without rebooting, choosing to reinstall MacOS:

enter image description here

At this point you are good to go and you will see the actual MacintoshHD which you can select to reinstall:

enter image description here

Special thanks to my uncle Artiade and his bloody book from the early 2000:

enter image description here