Mac OS X doesn't recognize hard disk I replaced my CD drive with a Western Digital 750GB hard drive using the iFixit guide.
My Mac for some reason throws error on any interaction with the hard drive,
for example on disk utility when I tried to create 1 partition of FAT:

When I try to setup BootCamp I get this error:

I have successfully managed to erase and format the hard drive while booting up to GParted, but I want to install windows on it.
Do you have any suggestions? Ideas?
I recently ran into this issue as well. I originally suspected a damaged SATA cable, but swapping the SSD into the optical drive bay and the HD into the primary hard drive bay solved the issue for me.