It could even be that the SATA controller chip is bad, so if you remove the HD, partition it, and put it back in it still may not work if the chip is bad.

If you have an extra SATA drive you might want to try it in place of what's in the machine before buying a case to see if it is the controller or the HD.