LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-21-2022, 11:45 AM   #31
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,789

Rep: Reputation: 5951Reputation: 5951Reputation: 5951Reputation: 5951Reputation: 5951Reputation: 5951Reputation: 5951Reputation: 5951Reputation: 5951Reputation: 5951Reputation: 5951

Code:
C:\Users\Larry> CertUtil -hashfile linuxmint-20.3-cinnamon-64bit.iso SHA256
As others have posted the file should be in your Downloads directory. As with most operating systems you need to use either the path to the file or be in the directory where the file is located.

Code:
C:\Users\Larry> cd downloads
C:\Users\Larry\downloads> CertUtil -hashfile linuxmint-20.3-cinnamon-64bit.iso sha256
SHA256 hash of linuxmint-20.3-cinnamon-64bit.iso:
e739317677c2261ae746eee5f1f0662aa319ad0eff260d4eb7055d7c79d10952
CertUtil: -hashfile command completed successfully.
Code:
C:\Users\Larry> CertUtil -hashfile downloads\linuxmint-20.3-cinnamon-64bit.iso SHA256
SHA256 hash of downloads\linuxmint-20.3-cinnamon-64bit.iso:
e739317677c2261ae746eee5f1f0662aa319ad0eff260d4eb7055d7c79d10952
CertUtil: -hashfile command completed successfully.
From the sha256sum.txt file
e739317677c2261ae746eee5f1f0662aa319ad0eff260d4eb7055d7c79d10952 *linuxmint-20.3-cinnamon-64bit.iso

Last edited by michaelk; 04-21-2022 at 11:52 AM.
 
1 members found this post helpful.
Old 04-22-2022, 03:39 AM   #32
WhyLinux0
Member
 
Registered: Apr 2022
Posts: 92

Original Poster
Rep: Reputation: 0
Got some good feedback guys, thanks. My concern about an unsafe download was based on the linuxmint site saying so. I said so and yet it turned into a comment about Win users. I know all the things you're suppose to hate to be considered a good linux user, but sorry, I'm just not a hater. If one reads through the forums, 98% of the Win/linux negative comments are from linux users slamming Win users. I came here with a real issue and posted in the right forum. Linux is different and complex. It still has its uses and that's what I need it for and will get it all figured out. I never started a debate about it.

I now have started a live/usb session with mint and did the integrity check at start-up but it can't be the same as doing it from the file. It did pass the check though for whatever its worth. I am with the linuxmint site to never INSTALL an iso. image that has not completed the checks. Being that all is kept on usb during a live session I think the risks are low but will seek to follow the linuxmint site as they should know the distro well. Below is the attempt from instructions above:

C:\WINDOWS\system32>C:\Users\Larry\downloads> CertUtil -hashfile linuxmint-20.3-cinnamon-64bit.iso sha256
'C:\Users\Larry\downloads' is not recognized as an internal or external command,
operable program or batch file.

C:\WINDOWS\system32>C:\Users\Larry> CertUtil -hashfile linuxmint-20.3-cinnamon-64bit.iso SHA256
'C:\Users\Larry' is not recognized as an internal or external command,
operable program or batch file.

Last edited by WhyLinux0; 04-22-2022 at 03:41 AM.
 
Old 04-22-2022, 03:45 AM   #33
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by WhyLinux0 View Post
C:\WINDOWS\system32>C:\Users\Larry> CertUtil -hashfile linuxmint-20.3-cinnamon-64bit.iso SHA256
'C:\Users\Larry' is not recognized as an internal or external command,
operable program or batch file.
You entered the prompt "C:\Users\Larry>" as part of the command. The command should have been "CertUtil -hashfile linuxmint-20.3-cinnamon-64bit.iso SHA256".

Evo2.
 
Old 04-22-2022, 04:09 AM   #34
WhyLinux0
Member
 
Registered: Apr 2022
Posts: 92

Original Poster
Rep: Reputation: 0
Yep: C:\Users\Larry>CertUtil -hashfile linuxmint-20.3-cinnamon-64bit.iso SHA256
CertUtil: -hashfile command FAILED: 0x80070002 (WIN32: 2 ERROR_FILE_NOT_FOUND)
CertUtil: The system cannot find the file specified.

C:\Users\Larry\Downloads>CertUtil -hashfile linuxmint-20.3-cinnamon-64bit.iso sha256
CertUtil: -hashfile command FAILED: 0x800703ee (WIN32: 1006 ERROR_FILE_INVALID)
CertUtil: The volume for a file has been externally altered so that the opened file is no longer valid.

Last edited by WhyLinux0; 04-22-2022 at 04:17 AM.
 
Old 04-22-2022, 07:07 AM   #35
WhyLinux0
Member
 
Registered: Apr 2022
Posts: 92

Original Poster
Rep: Reputation: 0
Solved

C:\Users\Larry\Downloads>CertUtil -hashfile linuxmint-20.3-cinnamon-64bit.iso sha256
SHA256 hash of linuxmint-20.3-cinnamon-64bit.iso:
e739317677c2261ae746eee5f1f0662aa319ad0eff260d4eb7055d7c79d10952


CertUtil: -hashfile command completed successfully.C:\Users\Larry\Downloads>gpg --verify sha256sum.txt.gpg sha256sum.txt
gpg: Signature made 1/13/2022 1:57:50 PM UTC-08
gpg: using RSA key 27DEB15644C6B3CF3BD7D291300F846BA25BAE09
gpg: Good signature from "Linux Mint ISO Signing Key <root@linuxmint.com>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 27DE B156 44C6 B3CF 3BD7 D291 300F 846B A25B AE09

Looks like the failure in the previous post was a bad download. Thanks to all for their input, I learned a lot. The ultimate solution was from Michaelk as the issue was that cmd couldn't find the file unless I added downloads in the area of my drive. Then and only then would a normal CertUtil work and only if I got a good download. Should be much easier from here.
 
Old 04-22-2022, 07:16 AM   #36
SlowCoder
Senior Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Debian based
Posts: 1,250

Rep: Reputation: 164Reputation: 164
Glad to read you've made it past this hurdle. Good luck on your Linux journey!
 
1 members found this post helpful.
Old 04-23-2022, 04:37 AM   #37
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,577

Rep: Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499
Quote:
Looks like the failure in the previous post was a bad download. Thanks to all for their input, I learned a lot. The ultimate solution was from Michaelk as the issue was that cmd couldn't find the file unless I added downloads in the area of my drive
Thanks probably to evo2 who asked for the information which you provided that led to the solution. As michaelk pointed out and the Mint site you were using pointed out, you need to run the command from the directory the file is in OR use the full path. This is common practice in any operating system as michaelk pointed out.

So it turns out that the original problem of windows not being able to find the file was not a Linux or windows problem but rather the old reliable PEBKAC error. Good luck in the future.

Last edited by yancek; 04-23-2022 at 04:50 AM.
 
Old 04-23-2022, 05:09 PM   #38
WhyLinux0
Member
 
Registered: Apr 2022
Posts: 92

Original Poster
Rep: Reputation: 0
I thanked everyone for their help as most were trying to help but there are always a few a**holes like you who can't help but trying to turn a solved issue into the very Win/Linux debate that you complain about.
 
Old 04-24-2022, 06:36 AM   #39
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,577

Rep: Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499
This thread started with a question and a rant about Linux in your initial post blaming Linux for your inability to perform the action which turned out not to be the problem. In my initial post, I asked you what method you were using to verify the iso. In post #20, you finally posted the command you used after being asked again just prior to that and it was then obvious what the problem was. You had used the wrong command to perform the action by pointing the system to the wrong location, That's not a Linux or Windows problem but a simple user error. Hopefully you understand that now and will read more carefully in the future.

If you bothered to read my posts, you can see there are no windows vs Linux comments but rather a suggestion that if you are using a windows OS, you get information on using it from the Microsoft site or a windows forum.

Your name calling and profane language are immature behavior when directed toward someone who is trying to help are rude at best.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Verify ISO image: Checksum and gpg key fanoflq Linux - Newbie 2 05-18-2017 07:24 AM
Can't find all necessary offical debian websites to verify iso andrew.comly Linux - Security 2 08-07-2016 05:04 PM
[SOLVED] Can't find all necessary offical debian websites to verify iso andrew.comly Linux - Security 1 08-07-2016 01:38 PM
openssl ssl error code 14090086 verify the CA cert is ok / certificate verify failed acummings Slackware 14 02-27-2009 01:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration