[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dd - proper use or more suitable program



On 11/11/2016 11:49 AM, Nicolas George wrote:
Le primidi 21 brumaire, an CCXXV, Andy Smith a écrit :
You are better off using GNU ddrescue for taking images of
possibly-failing devices.

IIRC, there is a catch there: there is another program with a very
similar name that does not work the same way. Be careful when installing
it.

Jessie DVD's catch that. What Synaptic fetches is gddrescue, but after loading you invoke it as just ddrescue.


Amongst other issues, dd will either give up or produce zeroes when
it encounters problems whereas ddrescue will keep track of where it
was unable to read and keep trying.

For the record, when using dd to copy data from a damaged medium, always
use conv=noerror,sync. Without noerror, dd would stop at the first
error and without sync it would just skip the block, making the dump
useless.

But of course, as you say, ddrescue keeps a log of the parts that could
not be read, which is even more useful.

Also, I would advise to dump to a file, not a raw partition.


I was wondering about that.
https://www.gnu.org/software/ddrescue/manual/ddrescue_manual.html is not first time user friendly. Will re-read after a good night's sleep. Will also look for appropriate tutorials. Suggestions?




Reply to: