My Hard disk is not accessible on my computer

Why is my hard disk not accessible on my desktop computer? The desktop PC is selecting hard disk. Immediately after post test check, the computer is complaining of missing hard disk while the hard disk is on board. I have recently removed the hard disk and test it on another personal computer and it was working fine. Could it be that the hard disk is bad or another component of the system is at fault?
