I would also recommend checking the physical connection between the drive itself and the motherboard. I presume it's a SATA cable, so make sure both ends are put in correctly and firmly.
Then, make sure the OS can properly detect the drive. To do that, simply follow Shine's advice.
Keep us posted.