For those who have a new iMac and cannot use the Yosemite boot Flash disc solution as outlined above because the newer iMac's with pre-installed El Capitan will not allow previous versions to be installed....I found a solution online that thus far seems to have worked.
My story.....I have an old 2010 iMac that is showing signs of impending Hard Drive Failure.....so I purchased a new iMac 27 inch Retina 5K that came with El Capitan pre-installed.
During my Migration from the old iMac to the new one my User settings, folders, passwords, applications registrations did not come over. I thus had a new iMac with all my software but nothing else. So I thought I would try again.
I used the Disc Utility in El Capitan to try and erase the Hardrive and re-install the OS X El Capitan. It failed....gave me some odd cocoa error....I tried again and it seemed to work. I reinstalled El capital only to see that it had not erased all the transferred apps etc.
Next I went on the web and found articles described how to use Terminal commands to erase the fusion drive.....dumb *** me only succeed in erasing the fusion and ending up with two drives unfused. Frustration!! I encountered your posts here and tried by making a Yosemite boot drive but given this mac is new it won't allow the older system to be loaded.
Several hours of searching later I found the link below. It suggested using Terminal command to make a group using the HDD and SDD disks.....then to create a new volume. This worked....at least I think it did.
If any experts out there would let me know if I did anything wrong....
On my iMac Disk 1 is the SSD and Disk 0 is the HDD
I used the command diskutil cs create GROUPNAME disk# disk#s# to create group called "fusion" from Disk 1 and Disk0s2
Next: I used- diskutil cs createVolume UUID jhfs+ VOLUMENAME 100% to create a volume called Macintosh HD
At this point I quit terminal and launched Disc Utility. I ran a repair to make sure it was ok and then re-installed El Capitan. It seems to have worked.
The only question I have is should I have proceeded with the last steps in the article in which the new Volume is encrypted. I did not.
I hope this helps any others out there that find themselves in this situation.
Best
Carlos
Link to article here: http://www.cnet.com/how-to/how-to-make-a-custom-corestorage-drive-in-os-x/