MacOS – Downgrade El Capitan Developer Preview to Yosemite

downgrademacos

I've installed El Capitan Developer Preview .
Installation crashed at about 75% and then i could only boot in safe mode.

I wiped all the hard drive to reinstall Yosemite but it only displays 10.11 as an installation option.
However, installing it won't work either. It says this disk is locked (the one I just wiped).

Now I can not even unmount it again.

I tried in the Terminal to erase it, won't work either.

Anyone else having these issues, or has any clue how I can solve the problem (install Yosemite)?

Best Answer

If you're looking for a Terminal solution, you can try this:

diskutil eraseVolume free %noformat% disk0s2

or

diskutil eraseDisk free %noformat% GPT disk0

In this case, disk0 should be changed to match whatever your actual device node is. It will depend on whether you're using a USB stick to boot into recovery – in which case it's probably disk1 – or if you're actually booting off of the disk you're trying to erase.

And an important disclaimer: If you blow away your disk, you will not be able to boot into the onboard recovery mode. In fact, you probably aren't going to be able to do this without booting off of USB. I hope you have a recovery stick somewhere, or another computer from which you can make one.

It should go without saying that you will lose data if you run either one of these commands successfully.