I struggled with the same issue and it turns out it was a bad motherboard that couldnt mantain a stable sata connection.