Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm publishing a set of documentation to be delivered on CD. My Company's European production manager is concerned that he has no way to verify that the data on the discs he produces is correct. He asked that either I send him a CD to compare to, or he sends me a disc and I do the first article inspection. This would negate all the advantages of sending the ISO file instead of the physical CD.

My first thought is to use md5 hashes. I could take the sum of the ISO I created, and he can compare the sum of his copy of the ISO, and to the physical disc.

However, I can't seem to figure out how to get the md5sums utility to hash the disc as a whole rather than reporting the sums of each file on the disc. Then, should I even expect the sum of the ISO to match the sum of the disc's contents?

The solution I come up with must work on both Windows XP and Windows 7.

share|improve this question
    
What is wrong with running md5sum against the individual files on the disk? You could include a copy of md5summer on your disk, and send him the sums via email or something. –  Zoredache Jul 20 '11 at 17:16
    
I would send him the iso with checksum, and have him burn and verify it with his software. –  Joe Internet Jul 20 '11 at 18:54
    
I should have mentioned initially, what we are doing is first article inspection from our production house. They are sending my counterpart a proof of the CD and the printed documentation that comes with it. Unless the burning software can do an after-the-fact verification, that sort of thing won't work. –  daxlerod Jul 21 '11 at 11:50
add comment

2 Answers

up vote 2 down vote accepted

Corz's checksum

http://corz.org/windows/software/checksum/

Best utility I've used for checksums, IMO. It will checksum a whole disk like you ask, unlike other incompetent programs. . .

edit:

In case you aren't reading the comments, there was a question about creating an aggregated hash of an entire folder tree. I've only used two checksum programs. MD5deep and Corz's checksum. So the only program that I know of that will create an aggregated hash of a folder tree is Corz's checksum, which is linked in my answer.

share|improve this answer
    
This one's nice, though I'm pretty content with this one: nirsoft.net/utils/hash_my_files.html. Thanks! –  Isxek Jul 20 '11 at 18:37
    
It's a portable application FYI. But ya. Don't fix it if it ain't broke. –  surfasb Jul 20 '11 at 18:40
    
This creates checksums for each for each file and lists them all in a single text file. That looks nice. However, how does it account for files in one location, and not the other? Say my iso has foo.bar, but it isn't on the disc, and the disc (somehow) has baz.bar. When I validate the checksums, will it give errors on extra and missing files? –  daxlerod Jul 21 '11 at 11:55
    
The format is space delimited. RelativePath+FileName [ ] Checksum. So if baz.bar is not on a child node, you'll need to specify an absolute path. It will only give errors for individual files. –  surfasb Jul 21 '11 at 12:03
    
Let me make sure I understand: Say Joe Blow at the printers decided to add a file, baz.bar, to the physical CDs he manufactures. When my overseas contact validates the checksums, no error will be given. If Joe Blow deletes foo.bar, an error will be given. I know neither scenario is likely, but these are the questions I will have to answer. –  daxlerod Jul 21 '11 at 13:29
show 4 more comments

You can use dd for Windows to extract an iso from the CD, and then run md5sum on the retrieved image.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.