I am selling my iMac and I formatted every disk which also included startup disk and there is none. Now when I go to reinstall macOS, it shows the disk is locked. When I go to disk utility, it shows me no option of format e.g. Journal etc. It only has AFPS option.

What can I do to reinstall the OS?


In disk utility you will want to choose "View" in the upper left and then select "Show All Devices". From there you should be able to select the Internal drive at the very top of the list and select erase as you're used to.

Disk Utility - erase drive

Once you've erased the drive you can now quit Disk Utility, and go back to the Mac OS installer as you had been doing. The drive should now not be locked.

| improve this answer | |
  • How do I install macOS on a locked drive? – Nofel Jun 6 at 13:46
  • First get through erasing the drive as mentioned -- I've updated my answer to give a visual. Once the drive is successfully erased it should no longer be locked. – wizdomonwheels Jun 6 at 21:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .