[lug] disk image with dd
Gary Hodges
Gary.Hodges at noaa.gov
Mon Jul 13 11:01:21 MDT 2009
Thanks for the suggestion of dd_rhelp. I'll give it a shot today.
Gary
Ben wrote:
> If you have any errors on the hard drive, dd will just stop. I'm a big
> fan on dd_rhelp (I think it is just a wrapper to ddrescue which is a
> wrapper to dd) as it jumps over bad regions (fills them with 0's) and
> comes back and figures out of the size of the bad region smartly. You
> can start/stop it many times and it picks up where it was left off.
> Basically it spends its time getting the 'easy' data and then
> progressively works harder on the data near bad regions. But otherwise,
> you are right about the mount command and making a disk image.
>
> Gary Hodges wrote:
>> Hi. I have a drive from a Windows machine (NTFS) that I think may have
>> some problems. I'd like to make a copy to play with so I can leave the
>> original undisturbed for now. Is this what I should do?
>> dd if=/dev/hdx of=/dev/hdy # where x=original, y=copy
>>
>> Along those lines, if I did the following
>> dd if=/dev/hdx of=/path/to/image
>>
>> would I be able to mount the image with something like?
>> mount -o loop /path/to/image /mnt/mountpoint
More information about the LUG
mailing list