If The pc is under Warranty call the service guy and replace HDD. if not buy a new HDD and replace by self
before just check data cable. try to refix memory, I don't feel it have Self test utily in Bios. try with any HDD utily and conform before replace HDD is it is the issue with HDD