Willard, It may be that you're doing nothing wrong. There may be a sector that is marginal that sometimes the drive can read and sometimes it can't. If it can read it one time, and not another, then you're going to end up with different hash values.
You can try something like: dd if=/dev/hdb conv=noerror,sync | tee /mnt/hda7/image.dd | md5sum tee will send the output to a file plus route it through stdout. md5sum calculates the MD5 hash on what is coming in right from the drive. Then you run an md5sum on the output file (md5sum /mnt/hda7/image.dd). The two should now match. Matt >>> "Willard Van Dyne" <[EMAIL PROTECTED]> 02/16/06 2:31 AM >>> Hi all. I'm trying to properly clone a 4.3GB (it's old, I know) hard disk which unfortunately has a lot of bad sectors. I am using Helix 1.7 as an operating environment, not mounting the old drive at all. I used the command: dd if=/dev/hdb of=/mnt/hda7/image.dd conv=noerror,sync My problem is that the md5 hash of the image file is different from that of the original HD (acquired via the command: dd if=/dev/hdb conv=noerror,sync | md5sum > /mnt/hda7/orig_disk_md5sum.txt) Can anyone please enlighten me as to what I'm doing wrong? Thanks in advance.
