How to Recover Data from Harddisk after formating using dd command [duplicate]
Sophia Terry
How do I recover data from an external hard disk? I used the dd command by mistake on the disk. Specifically, I used:
dd if=xyz.iso of=/dev/sdbPlease help me retrieve the lost data.
31 Answer
You could try testdisk
$sudo aptitude install testdisk
and launch by
$testdisk
I suppose that you could recover some data in the HDD, but for sure not all of it, because the data of the ISO you wrote on it by accident overwrote the original data.