I am trying to recover a hard disk. The external hard disk is recognised, and the Disks software in Ubuntu that the disk is OK, but has one bad sector. Is it possible to recover the data? I tried testdisk and photorec as suggested by some solutions, but they report the recovery depends on the correct size of the hard disk
gparted
Error: /dev/sdb: unrecognised disk label
Model: ST1000LM 035-1RK172 (scsi)
Disk /dev/sdb: -512.00B
Ssector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
I guess, none of the recovery software is working because the size reported is wrong. I am attaching a screen shot of the Disk utility.
When I try to ddrescue, then the error is
sudo ddrescue /dev/sdb /home/user/copy.img
ddrescue: Input file is not seekable.
The objective is to recover photos from the hard disk.
sudo smartctl -i /dev/sdb
? The full output ofsudo smartctl -x /dev/sdb
would be nice too, but that's several pages — maybe a pastebin link then someone can edit in any interesting bits. If smartctl says something about an unrecognized bridge, you can try adding-d sat
...