The SSD in my Macbook Pro died suddenly. I bought a blank one, installed it as the internal drive, and booted into recovery mode by holding
Command + R.
After letting it connect to WiFi and download its tools, I tried installing OSX on the new hard drive. However, when it said "select the disk where you want to install OS X", the drive was not listed.
So I went into Disk Utility and tried to format the disk. Anytime I tried to partition or format it (and I tried many different options), it gave me an error like "File system formatter failed". It would successfully create partitions, but that's it. I could not make the drive mountable.
How can I get it to format this drive so I can install the operating system on it?