LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-09-2019, 10:29 PM   #1
zavmat
Member
 
Registered: Oct 2018
Posts: 184

Rep: Reputation: Disabled
Unhappy No Checksum number for verification


Code:
PS C:\Users\Me\fedora> $image = "Fedora-Workstation-Live-x86_64-29-1.2.iso"
PS C:\Users\Me\fedora> $checksum_file ="Fedora-Workstation-29-1.2-x86_64-Checksum.txt"
PS C:\Users\Me\fedora> $sha256 = New-Object -TypeName System.Security.Cryptography.sha256CryptoServiceProvider
PS C:\Users\Me\fedora> $expected_checksum = ((Get-Content $checksum_file | Select-String -Pattern $image) -split " " )[0
].ToLower()
PS C:\Users\Me\fedora> $download_checksum = [System.BitConverter]::ToString($sha256.ComputeHash([System.IO.File]::ReadAl
lBytes("$PWD\$image"))).ToLower() -replace '-', ''
PS C:\Users\Me\fedora> echo "Download Checksum: $download-checksum"
Download Checksum: -checksum
PS C:\Users\Me\fedora> echo "Expected Checksum: $expected_checksum"
Expected Checksum: #
PS C:\Users\Me\fedora> if ( $download_checksum -eq "$expected_checksum" ) {echo "Checksum test passed!" } else {echo "ch
ecksum test failed."}
checksum test failed.
Here's the tutorial I'm following:
https://docs.fedoraproject.org/en-US...ion/index.html
 
Old 02-09-2019, 10:55 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,490

Rep: Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099
Dunno - hardly ever use powershell.
Just burn it and boot it - you can check it from the boot menu.
 
1 members found this post helpful.
Old 02-09-2019, 10:56 PM   #3
zavmat
Member
 
Registered: Oct 2018
Posts: 184

Original Poster
Rep: Reputation: Disabled
Yeah... your right
 
Old 02-09-2019, 10:56 PM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872
I haven't looked at anything else, but it stands out that:

Code:
echo "Download Checksum: $download-checksum"
should be

Code:
echo "Download Checksum: $download_checksum"
with an underscore, not a hyphen.

I suggest you read very carefully through the Fedora instructions and ensure that you have entered all commands exactly as they are written.
 
1 members found this post helpful.
Old 02-10-2019, 01:52 AM   #5
zavmat
Member
 
Registered: Oct 2018
Posts: 184

Original Poster
Rep: Reputation: Disabled
Thank you very much, I'll be more careful in the future.
 
Old 02-11-2019, 12:05 PM   #6
zavmat
Member
 
Registered: Oct 2018
Posts: 184

Original Poster
Rep: Reputation: Disabled
In the end I just followed syg00's advice and it booted properly
 
Old 02-11-2019, 12:12 PM   #7
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872
Quote:
Originally Posted by zavmat View Post
In the end I just followed syg00's advice and it booted properly
Great to hear. Thanks for the feedback.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How can i know checksum of BIOS and verify checksum? liks Linux - Security 1 01-19-2016 03:15 PM
confused about gpg checksum verification procedure for debian iso JacekZ Debian 4 02-11-2014 02:13 AM
Identify and explain the major number, minor number, and revision number in Linux... turbomen Linux - Newbie 1 11-16-2010 03:48 AM
Checksum 4 Slackware download - what type of checksum is this. Earnest Lux Linux - Newbie 1 02-02-2008 09:02 PM

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

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration