windows 7 - Checksums for Win7 installation files?

08
2014-07
  • Chris Bedford

    OK many thanks to the guys on Where do I download Windows 7 (legally from Microsoft)? who provided links to d/l the WIn7 .ISO images.

    Now where can we find a similar listing of the md5 hashes for those files? [I was using one of those downloads and was beating my head against a wall because of an error during file unpacking - turned out my image was corrupted. Downloaded again and it worked perfectly - could have saved myself 2 days of frustrated googling and lots of hair if I had just checked the hashes before starting :-( ]

    I managed to find one or two md5 nos but not for the specific file I'm looking for. Someone somewhere must have them all? I'd have thought the Digital River d/l site probably has them but I haven't yet found a way to access the parent pages of any of those downloads - the links in the page I referred to above all take you direct to the downloads.

  • Answers
    Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

    Related Question

    hashing - Can you use OpenSSL to generate an md5 or sha hash on a directory of files?
  • Kieveli

    I'm interested in storing an indicator of file / directory integrity between two archived copies of directories. It's around 1TB of data stored recursively on hard drives. Is there a way using OpenSSL to generate a single hash for all the files that can be used as a comparison between two copies of the data, or at a later point to verify the data has not changed?


  • Related Answers
  • AaronLS

    You could recursively generate all the hashes, concatenate the hashes into a single file, then generate a hash of that file.

  • John T

    You can't do a cumulative hash of them all to make a single hash, but you can compress them first then compute the hash:

    $tar -czpf archive1.tar.gz folder1/
    $tar -czpf archive2.tar.gz folder2/
    $openssl md5 archive1.tar.gz archive2.tar.gz
    


    to recursively hash each file:

    $find . -type f -exec openssl md5 {} +
    
  • Rudedog

    Doing a md5 sum on the tar would never work unless all of the metadata (creation date, etc.) was identical as well, because tar stores that as part of its archive.

    I would probably do an md5 sum of the contents of all of the files:

    find folder1 -type f | sort | tr '\n' '\0' | xargs -0 cat | openssl md5
    find folder2 -type f | sort | tr '\n' '\0' | xargs -0 cat | openssl md5