Reset BIOS to defaults, set SATA controller to AHCI to try install.
In BIOS setup see if HD is detected and how it is set to boot. If not detected check the cabling which may have caused the original error message if the HD was still accessible when moved to copy out data.
Next test the HD using maker's
HD Diagnostic extended CD scan, followed by
Disk Check run from installer command line accessed by Shift + F10 at first screen after booting. Then use diagnostics CD Quick Wipe function to run
Diskpart Clean Command, or run it from installer Command Line.