BIOS doesnt detect the drive = Bad Cable, Bad Drive or *Non-Compatible Drive, Bad Power Connection from Power Supply to Drive, or the Drive Controller is dead on the motherboard. * It is very rare for a drive to not be compatible with a system especially since its SATA a worst case scenario should be that a newer faster drive is bottlenecked by an older controller but still function but slower than if it was in a modern build.
You said you got this and the original drive was trash, ... so it detected this drive, but the drive was damaged, and now a brand new drive is not detected at all?
What drive make/model is not working in this system?
Was this system trash picked or bought used... and if trash picked did this system get exposed to moisture such as left outside and picked up at a local dump etc?