Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

How to Recover Data from Harddisk after formating using dd command [duplicate]

Writer 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/sdb

Please help me retrieve the lost data.

3

1 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.