This type of problem is mainly caused by the cables between the hard disk and the motherboard.
So here we suggest that you might want to switch the cable between the hard disk and the motherboard if it's not a problem with the cable.
Then you take a look at the hard disk on the master-slave line is set correctly, how to set the master-slave jumper status will generally be in the hard disk above the tip, according to your own needs will be set to the hard disk as the master disk or slave disk can be dealt with this kind of problem.