How to verify the ISO image on Windows

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
scrivdog
Level 1
Level 1
Posts: 5
Joined: Sun Sep 29, 2019 2:16 pm

Re: How to verify the ISO image on Windows

Post by scrivdog » Sun Sep 29, 2019 2:57 pm

Hi there. This is my first time doing this. I Did the integrity check, following all the directions carefully. The problem is I can't get the hash to match. I get the hash 1c 4f 48 60 44 36 85 cd 29 f1 28 f5 6f 69 0f db 32 cc b5 79. I cant find those numbers anywhere on the sha256sum.txt So Im guessing it didn't pass the integrity check. The problem is that I deleted the mirror and tried a different server. I got the exact same hash. I did this 3 times all with the same hash. I am wondering also why the amount of numbers is different on the string of numbers I get in the command window vs what is on the sha256sum.txt. So I am wondering if I am doing something wrong.
I am trying to download Linux MInt - Matte 64 bit and am checking the integrity of the iso with windows 7

User avatar
karlchen
Level 20
Level 20
Posts: 11406
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: How to verify the ISO image on Windows

Post by karlchen » Sun Sep 29, 2019 3:07 pm

Hi, scrivdog.

Note:

Windows CertUtil will display the sha256 checksum with space characters to make reading easier, like you had posted:
1c 4f 48 60 44 36 85 cd 29 f1 28 f5 6f 69 0f db 32 cc b5 79

The sha256sum.txt file, however, holds the checksum without the space characters. i.e. the checksum above would look like this:
1c4f4860443685cd29f128f56f690fdb32ccb579

Question:

Which Linux Mint installation ISO image file precisely did you download?
There is no Linux Mint Matte 64-bit.
There is, however, Linux Mint 19.2 64-bit.
The corresponding download file would be named linuxmint-19.2-mate-64bit.iso
Its checksum would be: 2c1d7912a8e57ccee222487687bab27164c76bd2598395507e461e8d23d381f8 *linuxmint-19.2-xfce-64bit.iso

Regards,
Karl
Image
Linux Mint 19.2 32-bit xfce Desktop, Total Commander 9.22a 32-bit
Haß gleicht einer Krankheit, dem Miserere, wo man vorne herausgibt, was eigentlich hinten wegsollte. (Goethe)

gm10
Level 19
Level 19
Posts: 9704
Joined: Thu Jun 21, 2018 5:11 pm

Re: How to verify the ISO image on Windows

Post by gm10 » Sun Sep 29, 2019 3:11 pm

scrivdog wrote:
Sun Sep 29, 2019 2:57 pm
Hi there. This is my first time doing this. I Did the integrity check, following all the directions carefully. The problem is I can't get the hash to match. I get the hash 1c 4f 48 60 44 36 85 cd 29 f1 28 f5 6f 69 0f db 32 cc b5 79. I cant find those numbers anywhere on the sha256sum.txt So Im guessing it didn't pass the integrity check. The problem is that I deleted the mirror and tried a different server. I got the exact same hash. I did this 3 times all with the same hash. I am wondering also why the amount of numbers is different on the string of numbers I get in the command window vs what is on the sha256sum.txt. So I am wondering if I am doing something wrong.
I am trying to download Linux MInt - Matte 64 bit and am checking the integrity of the iso with windows 7
Hi, welcome to Linux Mint. Your mistake is that you forgot the last part of the command, the SHA256 bit:

Code: Select all

CertUtil -hashfile filename.iso SHA256
Because of that the tool used the default hash algorithm, which is SHA1, hence the hash you calculated was different than expected.

In the future, when asking for help, please copy & paste the entire command line plus output, plus any other information that might be relevant, that makes it much easier for us to understand what went wrong. ;)
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

scrivdog
Level 1
Level 1
Posts: 5
Joined: Sun Sep 29, 2019 2:16 pm

Re: How to verify the ISO image on Windows

Post by scrivdog » Sun Sep 29, 2019 4:01 pm

Thanks for responding Karl,

Code: Select all

C:\Users\the people\Documents\iso>CertUtil -hashfile "linuxmint-19.2-mate-64bit(1).iso"
SHA1 hash of file linuxmint-19.2-mate-64bit(1).iso:
1c 4f 48 60 44 36 85 cd 29 f1 28 f5 6f 69 0f db 32 cc b5 79
CertUtil: -hashfile command completed successfully.
C:\Users\the people\Documents\iso>
I figured out that when you select all and copy the CertUtil line thing and put it in the command box and then replace "file name" with the linux name it cuts off the shasum off the end of it and you have to re-enter it manually. I did that and it gives me the correct numbers. Thank you so much!!
Attachments
Capture.PNG

IronKnuckle
Level 1
Level 1
Posts: 2
Joined: Sat Oct 05, 2019 2:35 pm

Re: How to verify the ISO image on Windows

Post by IronKnuckle » Sat Oct 05, 2019 2:40 pm

When I try to authenticate my copy of the 32-bit version of LinuxMint 10.2 (Cinnamon), all I have is this output:

I:\ISO>gpg --keyserver keyserver.ubuntu.com --recv-key 27DEB15644C6B3CF3BD7D291300F846BA25BAE09
gpg: key 300F846BA25BAE09: "Linux Mint ISO Signing Key <root@linuxmint.com>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1

I'm not sure what to do. In the past, I have verified the 10.1 version and the authentication worked successfully.

polarvortex
Level 4
Level 4
Posts: 236
Joined: Sun Mar 23, 2014 1:47 am

Re: How to verify the ISO image on Windows

Post by polarvortex » Sun Oct 06, 2019 5:05 pm

IronKnuckle wrote:
Sat Oct 05, 2019 2:40 pm
When I try to authenticate my copy of the 32-bit version of LinuxMint 10.2 (Cinnamon), all I have is this output:
...
That output is okay. It means you have already downloaded the key previously. Proceed to step 2.

IronKnuckle
Level 1
Level 1
Posts: 2
Joined: Sat Oct 05, 2019 2:35 pm

Re: How to verify the ISO image on Windows

Post by IronKnuckle » Sun Oct 06, 2019 7:40 pm

Thank you!

MarkOsborne
Level 1
Level 1
Posts: 1
Joined: Fri Oct 11, 2019 10:55 pm

Re: How to verify the ISO image on Windows

Post by MarkOsborne » Fri Oct 11, 2019 11:02 pm

Hi, sorry if im re-asking an answered question but when i try to do the integrity test i get this response:
Attachments
CMD.JPG

gm10
Level 19
Level 19
Posts: 9704
Joined: Thu Jun 21, 2018 5:11 pm

Re: How to verify the ISO image on Windows

Post by gm10 » Sat Oct 12, 2019 1:03 am

MarkOsborne wrote:
Fri Oct 11, 2019 11:02 pm
Hi, sorry if im re-asking an answered question but when i try to do the integrity test i get this response:
Hi. I'm not entirely sure. Try using the correct uppercase capitalization for SHA256, but it should not matter. What version of Windows are you trying this on and what does this say?

Code: Select all

CertUtil -v -hashfile


You can also go the 7-Zip route mentioned in the guide for older Windows versions (but I'd still be interested in the answers to my questions above to improve the guide - I wasn't aware that there were CertUtil versions that had trouble with SHA256).
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

kouty
Level 1
Level 1
Posts: 2
Joined: Thu Oct 17, 2019 12:08 pm

Re: How to verify the ISO image on Windows

Post by kouty » Thu Oct 17, 2019 3:17 pm

> Type this command into the command window while replacing the filename.iso part with the actual name of the .iso file you downloaded:

In my PC there is the option to open in Windows PowerShell only and I typerd CODE: SELECT ALL and here is the result

`PS C:\Users\Admin\OneDrive\שולחן העבודה\ISO> CODE: SELECTALL
CODE: : The term 'CODE:' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ CODE: SELECTALL
+ ~~~~~
+ CategoryInfo : ObjectNotFound: (CODE::String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

PS C:\Users\Admin\OneDrive\שולחן העבודה\ISO>`
What can I do (in windows 10).

gm10
Level 19
Level 19
Posts: 9704
Joined: Thu Jun 21, 2018 5:11 pm

Re: How to verify the ISO image on Windows

Post by gm10 » Thu Oct 17, 2019 5:00 pm

kouty wrote:
Thu Oct 17, 2019 3:17 pm
> Type this command into the command window while replacing the filename.iso part with the actual name of the .iso file you downloaded:

In my PC there is the option to open in Windows PowerShell only and I typerd CODE: SELECT ALL and here is the result
Oh wow, I did not see that one coming! The CODE: SELECT ALL is a feature provided by the forum software here, if you click with your mouse on the SELECT ALL then the command code will get selected for easy copy & pasting. The actual command you are meant to copy & paste is the one that comes afterwards in green. ;) I can see how this could be confusing if you're not used to Internet forums.
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

User avatar
peyrol
Level 2
Level 2
Posts: 98
Joined: Sun Nov 25, 2012 1:51 am

Re: How to verify the ISO image on Windows

Post by peyrol » Mon Nov 11, 2019 1:23 pm

It might be worth noting, for the benefit of those like me who are not very familiar with Windows, that Notepad does not interpret the carriage return character by itself as a new line. It expects both CR and LF. So, the md checksum text file in Notepad will display as a single line. If your iso is not the first one listed, you would need to scroll to the right to find, for example, the 64 bit MATE iso checksum. It took me a while to figure this out.

Thanks for your help!

gm10
Level 19
Level 19
Posts: 9704
Joined: Thu Jun 21, 2018 5:11 pm

Re: How to verify the ISO image on Windows

Post by gm10 » Mon Nov 11, 2019 1:44 pm

peyrol wrote:
Mon Nov 11, 2019 1:23 pm
It might be worth noting, for the benefit of those like me who are not very familiar with Windows, that Notepad does not interpret the carriage return character by itself as a new line. It expects both CR and LF. So, the md checksum text file in Notepad will display as a single line. If your iso is not the first one listed, you would need to scroll to the right to find, for example, the 64 bit MATE iso checksum. It took me a while to figure this out.
Ah, good point. This was actually finally fixed in Windows 10 but it is true that older versions of Windows would still have trouble with it.
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

Post Reply

Return to “Tutorials”