Fedora Linux Support Community & Resources Center
  #1  
Old 17th June 2015, 08:03 PM
wolfv Offline
Registered User
 
Join Date: Jun 2015
Location: USA
Posts: 26
windows_7chrome
Question checksum Fedora-Workstation-netinst on Windows

This is my first attempt at installing Fedora. I downloaded and checksum twice, both times Checksum test failed.
I downloaded checksum from https://getfedora.org/verify > WORKSTATION, click: For 64bit images, and followed the instructions on https://docs.fedoraproject.org/en-US...ng-images.html

Maybe I did something wrong because I am unfamiliar with the Linux way. Please tell me where I went wrong.
Here is a copy and paste from my Windows 8 powershell:
Code:
PS G:\Fedora22> ls

    Directory: G:\Fedora22

Mode                LastWriteTime     Length Name
----                -------------     ------ ----
-a---         6/17/2015  10:06 AM  468713472 Fedora-Workstation-netinst-x86_64-22old.iso
-a---         6/17/2015  10:21 AM      31232 ImageWriter.exe
-a---         6/17/2015   8:39 AM      38882 tasks.txt
-a---         6/16/2015   1:49 AM      19668 next_computer.txt
-a---         6/17/2015  10:27 AM       4963 haswell_Fedora22_install.txt~
-a---         6/17/2015  10:19 AM       1155 Fedora-Workstation-22-x86_64-CHECKSUM
-a---         6/17/2015  10:26 AM  468713472 Fedora-Workstation-netinst-x86_64-22.iso
-a---         6/17/2015  12:00 PM       5128 haswell_Fedora22_install.txt
-a---         6/17/2015  12:00 PM       1668 .haswell_Fedora22_install.txt.un~

PS G:\Fedora22> $image = "Fedora-Workstation-netinst-x86_64-22.iso"
PS G:\Fedora22> $checksum_file = "Fedora-Workstation-22-x86_64-CHECKSUM"
PS G:\Fedora22> $sha256 = New-Object -TypeName System.Security.Cryptography.sha256CryptoServiceProvider
PS G:\Fedora22> $expected_checksum = ((Get-Content $checksum_file | Select-String -Pattern $image) -split " ")[0].ToLowe
r()
PS G:\Fedora22> $download_checksum = [System.BitConverter]::ToString($sha256.ComputeHash([System.IO.File]::ReadAllBytes(
"$PWD\$image"))).ToLower() -replace '-', ''
PS G:\Fedora22> echo "Download Checksum: $download_checksum"
Download Checksum: c9d22e708b21336582b19b336b7063fc4b882be4cf96d4d0693de07bd66c25e8
PS G:\Fedora22> echo "Expected Checksum: $expected_checksum"
Expected Checksum: sha256
PS G:\Fedora22> if ( $download_checksum -eq "$expected_checksum" ) {
>> echo "Checksum test passed!"
>> } else {
>> echo "Checksum test failed."
>> }
>>
Checksum test failed.
PS G:\Fedora22>
So am I doing the checksum correctly?

The above "Download Checksum" matches Line 5 of the Fedora-Workstation-22-x86_64-CHECKSUM file.
Download Checksum:
Code:
PS G:\Fedora22> echo "Download Checksum: $download_checksum"
Download Checksum: c9d22e708b21336582b19b336b7063fc4b882be4cf96d4d0693de07bd66c25e8
Line 5 of the Fedora-Workstation-22-x86_64-CHECKSUM file:
Code:
SHA256 (Fedora-Workstation-netinst-x86_64-22.iso) = c9d22e708b21336582b19b336b7063fc4b882be4cf96d4d0693de07bd66c25e8
Does that mean the check sum is OK?

Thank you.

Last edited by wolfv; 18th June 2015 at 02:32 AM.
Reply With Quote
  #2  
Old 18th June 2015, 07:31 AM
wolfv Offline
Registered User
 
Join Date: Jun 2015
Location: USA
Posts: 26
windows_7chrome
Re: checksum Fedora-Workstation-netinst on Windows

This is the "Fedora-Workstation-22-x86_64-CHECKSUM" file:
Code:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

# The image checksum(s) are generated with sha256sum.
SHA256 (Fedora-Workstation-netinst-x86_64-22.iso) = c9d22e708b21336582b19b336b7063fc4b882be4cf96d4d0693de07bd66c25e8
SHA256 (Fedora-Live-Workstation-x86_64-22-3.iso) = 615abfc89709a46a078dd1d39638019aa66f62b0ff8325334f1af100551bb6cf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJVX4e1AAoJEBGtwJSOFDHV4CoQAJPVhYeO5m7cyYQP9T0T9qVH
GpMTWGOdMGAdPpinFbCQTquTI2jMeoqP5LxQy8QADS5FcVQmnTLQzBXqvxCwa/xv
6mS+VCsfgoYPoY4tUum4Q9q3EwBD0DgY/vrCcdNQqaxMLmUVi9baz2Rm14lyDYDB
Oa4dAmL9tm5LCBRLqEHTlk99yvPb02L0uRZUeBZFf+tEiaimjBdXnO8ppi3PjHtJ
saBDOZnVzjn3ZJfSJ0M8HGmG3yFiDyRoH04GyiBU27C+kr8q7pTMcrwYb1TqT2kP
FT9gde0fsfXf4MIMQ1UQyKkVoEBMWKn51YWEXw2I88KmSWj2vNq48siyRlap9i42
+zAdeH01Q6FuZSjPKq9xsnZL6DP4yU3Qjox9HEHdsBOiiY8HecMumhd3ChlFQ8a5
kYCB5HStlYKGA3ETO+gUEZ7+T1wmt28FJqW4pw3XOHy2xHpIsPpr8c1Y74Ze5ST1
8rGGnoAQPk8MvqvTb8G3LYi8Q6K5TAHmeHAGq9fXU1Xklc3iD06FebYDh0t6mOBt
xqES56wSXskCuYufIuYBVvYfKFBv5UuA3ryQTVMq4MyeN//AQMnihDiEFnjdW2wO
4mlGnRGdamDpFawVwS8BfV/KTX6uI6FZx7/QiZSaEV8mufjBfHvWMPWiuxxQ9ABk
v5b4PFWk9yVr1WGXiSgw
=f3G4
-----END PGP SIGNATURE-----
The script thinks that the "Expected Checksum" should be "sha256":
Code:
PS G:\Fedora22> echo "Expected Checksum: $expected_checksum"
Expected Checksum: sha256
It looks like the script may be parsing the checksum file incorrectly.
Is the "Fedora-Workstation-22-x86_64-CHECKSUM" file saying that the Expected Checksum should be "9d22e708b21336582b19b336b7063fc4b882be4cf96d4d069 3de07bd66c25e8"?
Is there any documentation the describes the format of checksum files so I can understand what it is saying?
Reply With Quote
  #3  
Old 18th June 2015, 07:50 AM
ocratato Online
Registered User
 
Join Date: Oct 2010
Location: Canberra
Posts: 2,417
linuxfirefox
Re: checksum Fedora-Workstation-netinst on Windows

It appears the script is in error - it is getting the 0'th field from the matching line, rather than checksum. The [0] should be [3].

You appear to have a valid download.
__________________
The universe is under no obligation to prevent disappointment.
Reply With Quote
  #4  
Old 18th June 2015, 08:31 AM
wolfv Offline
Registered User
 
Join Date: Jun 2015
Location: USA
Posts: 26
windows_7chrome
Re: checksum Fedora-Workstation-netinst on Windows

Thank you ocratato.

There is a much simpler way to calculate the checksum at https://md5file.com/calculator

I am guessing that the 64-characters on the right-hand side is the checksum in the "Fedora-Workstation-22-x86_64-CHECKSUM" file:
Code:
SHA256 (Fedora-Workstation-netinst-x86_64-22.iso) = c9d22e708b21336582b19b336b7063fc4b882be4cf96d4d0693de07bd66c25e8

Last edited by wolfv; 18th June 2015 at 08:57 AM.
Reply With Quote
  #5  
Old 18th June 2015, 04:46 PM
lsatenstein Offline
Registered User
 
Join Date: Jun 2005
Location: Montreal, Que, Canada
Posts: 3,660
linuxfedorafirefox
Re: checksum Fedora-Workstation-netinst on Windows

here is my dl.sh file. Note that I always take the three files. I use the libdvd version to check that the partitions are as I want them to be, and then I proceed to run with the network install version.

cat dl.sh
Code:
#!/bin/bash
wget -c  http://mirror.its.dal.ca/pub/fedora/linux/releases/23/Workstation/x86_64/iso/Fedora-Workstation-23-x86_64-CHECKSUM 
wget -c  http://mirror.its.dal.ca/pub/fedora/linux/releases/23/Workstation/x86_64/iso/Fedora-Workstation-netinst-x86_64-23.iso
wget -c  http://mirror.its.dal.ca/pub/fedora/linux/releases/23/Workstation/x86_64/iso/Fedora-Live-Workstation-x86_64-23-10.iso
sha256sum -c Fedora-Workstation-23-x86_64-CHECKSUM >Checksum
cat Checksum

The sha256sum -c produces the OK messages within my own Checksum file. The file looks like this.
Code:
Fedora-Workstation-netinst-x86_64-23.iso: OK
Fedora-Live-Workstation-x86_64-23-10.iso: OK
__________________

Leslie
in Montreal


Interesting web sites list
http://forums.fedoraforum.org/showth...40#post1697840

Last edited by lsatenstein; 2nd February 2016 at 06:45 PM. Reason: updated to Fedora 23 from Fedora22.
Reply With Quote
  #6  
Old 19th June 2015, 01:43 AM
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 6,994
linuxfedorafirefox
Re: checksum Fedora-Workstation-netinst on Windows

Quote:
Originally Posted by wolfv View Post
Thank you ocratato.

There is a much simpler way to calculate the checksum at https://md5file.com/calculator

I am guessing that the 64-characters on the right-hand side is the checksum in the "Fedora-Workstation-22-x86_64-CHECKSUM" file:
Code:
SHA256 (Fedora-Workstation-netinst-x86_64-22.iso) = c9d22e708b21336582b19b336b7063fc4b882be4cf96d4d0693de07bd66c25e8

Another option, get the exe from here and just use this on windows

https://docs.fedoraproject.org/en-US...nd_Prompt.html
Reply With Quote
  #7  
Old 19th June 2015, 06:55 AM
wolfv Offline
Registered User
 
Join Date: Jun 2015
Location: USA
Posts: 26
windows_7chrome
Re: checksum Fedora-Workstation-netinst on Windows

Thank you all for your responses. I understand checksums now.
There must be 100 ways to verify a checksum.
Reply With Quote
  #8  
Old 2nd February 2016, 03:26 PM
wbain Offline
Registered User
 
Join Date: May 2008
Location: Near Manassas Va.
Age: 64
Posts: 5
windows_98_nt_2000chrome
Re: checksum Fedora-Workstation-netinst on Windows

Thanks for this information. I was easily able to perform the checksum.
__________________
W. Bain, Mercedes man, audio guy and, OH yes, conputer guy (large and small)
Reply With Quote
  #9  
Old 2nd February 2016, 06:55 PM
lsatenstein Offline
Registered User
 
Join Date: Jun 2005
Location: Montreal, Que, Canada
Posts: 3,660
linuxfedorafirefox
Re: checksum Fedora-Workstation-netinst on Windows

Hi Wbain

I use the information provided by Fedora for checksums. The contents of the checksum file from the website looks like this

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

# The image checksum(s) are generated with sha256sum.
SHA256 (Fedora-Workstation-netinst-x86_64-23.iso) = f38d1aca6211b6bbb2873a550f393d03866294e3e5094256fe b4cd647c25a310
SHA256 (Fedora-Live-Workstation-x86_64-23-10.iso) = a91eca2492ac84909953ef27040f9b61d8525f7ec5e89f6430 319f49f9f823fe

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWM9N7AAoJEDJHTPg07Jy6vLQP/2m9NYWcPo8cIZDw7fq+u5LC
g50R+8TQlY76LMzv0NAuIsx6pw3JW/BZSRVd74Jlg+cPK6te9XVmJ2HS9WoSWvPw
T821eRRbV8ou3JthST/ZPbcdy1L3Qz6Xbfu1u7LwE4yjgh+8fQJ7ZKANpchEuOhk
j9JK45vwbgUj9gWSQghoe+2dXOtTmtJAnPjTirYmeB0JJubwjE gT+O9y+EaUXABs
oKTUH2ej6qsLSWjbjcH3bxjaQwvzZKEN3KgKyFIBpIdeCVMp/JiLqHwQ8Fqtwsu9
j2sv7oB+arE/RjOprgC6TDgbx753zoFmHo0maiCMCCFfSDsea8pHay3n7u/Exr/8
8XE9UFXRMnFPFmdY21uE8SIilnE/Ig3BAqCIo2qN/8gx6bEAIaC10B+h7gtS2D46
J5982pneqyw88MCLUIN27kx59vTr9N6DNPomz5VEgf2J7rmfE3 ZbrIS45r2zJPjt
sbr6mjmJrx+sPWx5Ie0pgkjMbgQeZ8yN4GegyJwwhjRIoYZl3W 7QyAaYJbKRfFPP
hn+oOoe3RB8Jhhoma29MezDesL9t8wafmPelp5sNU02ORvuhvw cpKdmPyku0VzI+
PuYzDB19DCNjHV3UKMQ2BlR6m1AevCtra/WDqeXliwFWGT//iQjIBMwB4o2byxFe
R3cfguVlycgsPAIPKhKW
=Jvm2


I discard the GnuPGP stuff for lines after the second sha256sum.
They are used for proving that the actual checksum file is a pure replica of the original.
And if it is a pure replica of the original, then each sha256 checksum is itself a proper signature of the respective iso file.
__________________

Leslie
in Montreal


Interesting web sites list
http://forums.fedoraforum.org/showth...40#post1697840
Reply With Quote
Reply

Tags
checksum, fedoraworkstationnetinst, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't find Fedora-netinst.ks? jonathonp Fedora Spins & Remixes 0 17th February 2014 01:25 PM
help - installing fedora 8 to VM ware workstation 6.01 in windows xp poor Installation, Upgrades and Live Media 3 16th March 2008 01:50 PM
Installing Fedora core 5 as guest in VMware workstation 5.5 running on windows XP pro holmen Installation, Upgrades and Live Media 5 30th September 2006 11:56 AM
Installing Fedora Core 4 (x86) on Vmware Workstation 5.0 on Windows XP fedoraamd64 Using Fedora 6 23rd June 2005 12:36 PM


Current GMT-time: 08:41 (Saturday, 21-01-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat