I was trying to install El Capitan. I went to erase Macintosh HD in recovery> disk utility as I wanted to do a clean install. It then deleted the Macintosh partition then gave me an error code saying it couldn't delete the disk image or something like that.
After that I go to partion my fusion drive and the partition button does nothing. I am now left with just the 'Fusion Drive', nothing else in terms of partitions. I tried to check the disk but that button didn't work either. After some research I think disk utility must have deleted the partition table?
Basically I need to create a new partition in my Fusion Drive hard drive. However disk utility is not letting me. I have gone into the properties of the fusion drive and it says 'Writeable: No'.
I think my only option is to create a partition using the terminal in recovery but I don't know how to do that.
Any help would be greatly appreciated.