LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (http://www.linuxquestions.org/questions/mandriva-30/)
-   -   How can I check the integrity Mandriva ISO file (http://www.linuxquestions.org/questions/mandriva-30/how-can-i-check-the-integrity-mandriva-iso-file-819272/)

alejandroye 07-11-2010 04:34 PM

How can I check the integrity Mandriva ISO file
 
I download I mandriva from a distributor and I was wondering How can I check the integrity of Mandriva ISO file

Thank you

acid_kewpie 07-11-2010 04:41 PM

just calculate the md5sum of the image and check it against the number listed where you downloaded the iso from

rjcooks 07-11-2010 06:47 PM

in windoz or Mac OSX os, get HashTab and install it.
Right click on the *.iso, select Properties and then "File Hashes" Tab. It auotmatically calculates MD5, CRC32 and SHA-1

in linux, in a shell
md5sum <path/to/iso/iso_name>
calculates the md5 hash and displays it.

Then compare the result to the <iso_name>.md5 file content. (or in windoz compare to the SHA-1 value)

E.g.
mandriva-linux-pwp-2010-spring-x86_64.iso.md5
Contains
c97d567e913b1d81314108757d85efcb mandriva-linux-pwp-2010-spring-x86_64.iso

c97d567e913b1d81314108757d85efcb is the md5 number to use for comparison.

In Linux, K3B automatically calculates the MD5 hash so you can burn and check at the same time.
Note that a download using a bittorrent client also checks the integrity of the downloaded files so no need to check it again unless you just want to.

Finally, if you are burning the iso to CD|DVD, what really needs to be checked is that the burn was properly done. K3B and most burner SW have an option to check the disk. Use it.


TIP: It is not necessary to check every character of that long hash sequence. As long as the last 4 are matched & in the same location of the sequence, both strings are the same.


HTH...


All times are GMT -5. The time now is 03:46 AM.