How to check the integrity of the iso


Back to the home page


Checking is important! A method that's often used to verify the integrity of an iso file that you've downloaded, is the SHA256sum method.

On a website where you can download an iso file from, for example an iso of Linux Mint, there's often also a text file which contains the correct SHA256sum of that iso. You can compare this with a digital fingerprint of the iso.

When you calculate the SHA256sum from the iso file after you've downloaded it, you can compare the outcome with what it should be. The file is only then intact, when both "fingerprints" are exactly the same.

Note that the method I describe below, only provides a corruption check. Not an authenticity check. So it only protects you against an iso that has accidentally been corrupted during the download process, not against a deliberate falsification. Therefore: make sure you download your iso from a reliable mirror!

Such a calculation can be done as follows. An example makes it easy.

1. Suppose you've downloaded the iso of Linux Mint 21.3 Cinnamon, 64-bit. This file is called linuxmint-21.3-cinnamon-64bit.iso. Simply leave the iso file in the folder Downloads.

2. Then launch a terminal. (You can launch a terminal window like this: *Click*)

3. Type (copy/paste):

cd Downloads

Press Enter.

4. Then copy/paste this command line into the terminal:

sha256sum linuxmint-21.3-cinnamon-64bit.iso

Press Enter.

5. Finally, compare the outcome with what it should be.

Tip: launch a simple text editor like Xed. Then copy/paste both lines of gibberish into a text document, one below the other. That makes comparing them a lot easier....


The right sha256sums are here:

Linux Mint 21.3 (all desktops)



To the content of this website applies a Creative Commons license.

Back to the home page

Disclaimer