Yesterday I performed a hard-reset while Linux was booting. This led to a hard issue with the HDD (UNC while recovering journal). I had to use ddrescue
instead of dd
because dd
crashed on I/O error.
I did the following:
# ddrescue -f /dev/zero /dev/sda
It went through the whole 250 GB of /dev/sda
. After rebooting, both BIOS and LiveCD didn't see the HDD.
When I launch a LiveCD, there is no /dev/sda
, and no HDD in /dev/disk/*
.
SATA controller is fine:
$ lspci | grep -i sata
00:1f.2 SATA controller: Intel Corporation NM10/ICH7 Family SATA Controller [AHCI mode] (rev 02)
Question is: did I dg too deep? Is my HDD gone forever or is it fixable?
ddrescue
command you posted in your question would have overwritten your entire HDD with zeroes, thereby destroying all data irrevocably.dmesg
in more detail, it might have some message about problems recognizing your disk. If there's nothing at all, check/replace cables. If it's still not recognized, it's probably dead. If you can get it to be recognized, have a look at the SMART data.