How-to check an .ISO MD5 checksum

From Manjaro Linux
Jump to: navigation, search

How to check an .iso file with an MD5 hash

If your system doesn't have md5sum (used in the example here) or another MD5 hash checking tool, then you will need to install one. There are a number in the AUR that you will find by searching for md5sum.


First open a terminal and go to the correct directory to check a downloaded .iso file:

   $ cd /mnt/<path.to.directory>

Then run the following commands from within the download directory:

   $ ls

Highlight & copy the whole name of the .iso file & paste it after the following command & hit the Enter key:

   $ md5sum <name.iso>

md5sum should then print out a single line after calculating the hash:

   8044d756b7f00b695ab8dce07dce43e5 <name>.iso

Compare the hash (the alphanumeric string on left) that your machine calculated with the corresponding hash from the download page of the .iso . If they match your download is not corrupt. If they don't match you need to download the .iso again.


Entering the following in a console within a folder containing a correctly formed *.md5 and and ISO file will verify that the md5sum of the *.iso or other file, is the same as that specified in the *.md5 file:

   $ md5sum -c <name.iso.md5>

An example for the manjaro-xfce-0.8.8-i686.iso using manjaro-xfce-0.8.8-i686.iso.md5 file which should contain the following:

aaf7f906b476b08f87249e76200e6cb7 manjaro-xfce-0.8.8-i686.iso

  • separated by 2 spaces


Links