I've had this problem also.  What I was able to do in my case was to
create two images of the drive.  One image was the space prior to the
error and the other was the space after the error.  I was then able to
generate a valid matching hash on the entire drive with the exception of
the bad blocks. 

-----Original Message-----
From: Willard Van Dyne [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 16, 2006 5:32 AM
To: [email protected]
Subject: Problem using dd to clone a hard disk with bad sectors.


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.






**DISCLAIMER
This e-mail message and any files transmitted with it are intended for the use 
of the individual or entity to which they are addressed and may contain 
information that is privileged, proprietary and confidential. If you are not 
the intended recipient, you may not use, copy or disclose to anyone the message 
or any information contained in the message. If you have received this 
communication in error, please notify the sender and delete this e-mail 
message. The contents do not represent the opinion of D&E except to the extent 
that it relates to their official business.

Reply via email to