Ethical Hacking Training at InfoSec Institute Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | RE: Problem using dd to clone a hard disk with bad sectors. |
|---|---|
| Date: | Sun, 19 Feb 2006 14:44:56 -0800 |
From: Willard Van Dyne Sent: Thursday, February 16, 2006 2:32 AM
[...]
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?
Did you compare the block counts copied both when you checksummed the original drive, and when you imaged it? Is it possible that a differing number of error sectors was encountered, between the dd run that made the image, and the dd run that was used to calculate the checksum? One of the advantages of using dcfldd versus regular dd, is that it can calculate the md5 checksum on the fly, thus requiring that the source drive be read only once. Also, just to be on the cautions side, I'd recommend explicitly specifying bs=512, though it is likely the default.
| Previous by Date: | Re: Problem using dd to clone a hard disk with bad sectors., svetlik |
|---|---|
| Next by Date: | Re: Problem using dd to clone a hard disk with bad sectors., subscribe |
| Previous by Thread: | Re: Problem using dd to clone a hard disk with bad sectors., Simson Garfinkel |
| Next by Thread: | Re: Problem using dd to clone a hard disk with bad sectors., subscribe |
| Indexes: | [Date] [Thread] [Top] [All Lists] |