- Jul 6, 2019
- Reaction score
- AG User Name
- AG Join Date
- Jul 10, 2013
In most cases you're better off using ddrescue to dump a disc instead of just dd, especially when the disk is potentially damaged. dd may run into read errors, but will just continue the dump leaving out the sectors it couldn't read. ddrescue will retry reads with different parameters if it doesn't succeed at first.
It also even shows progress by default! When it fails even upon retrying and splitting sectors, it logs the failed sectors into its log file as well, which is useful for later analysis and recovery.
ddrescue --direct /dev/<hdd> mydrive.img mydrive.log