Ask Your Question
0

Cannot follow Windows Checksum documentation

asked 2015-12-13 18:43:47 -0500

updated 2015-12-13 19:32:41 -0500

Hi I just downloaded 64-bit KDE iso of Fedora 23, onto a 64-bit Windows 7 machine. I am attempting to follow documentation here -https://docs.fedoraproject.org/en-US/Fedora/23/html/Installation_Guide/sect-verifying-images.html

    Directory: C:\Users\b555r\Downloads


Mode                LastWriteTime     Length Name
----                -------------     ------ ----
-a---        26/08/2015     12:36    1512792 A_CCPMC_R05_BCD.pdf
-a---        26/08/2015     12:32     199380 A_CMPCXCRT.pdf
-a---        26/08/2015     12:31     217607 A_CMPCXPRO.pdf
-a---        13/12/2015     12:29 1291845632 Fedora-Live-KDE-x86_64-23-10.iso
-a---        14/12/2015     00:23       1538 Fedora-Live-x86_64-23-CHECKSUM
-a---        14/12/2015     00:23       1538 Fedora-Live-x86_64-23-CHECKSUM.txt
-a---        24/11/2015     21:18     114845 IMG_5378.JPG
-a---        27/11/2015     20:30   18446336 MediaCreationTool.exe


PS C:\Users\b555r\Downloads> image = "Fedora-Live-KDE-x86_64-23-10.iso"
The term 'image' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spell
ing of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:6
+ image <<<<  = "Fedora-Live-KDE-x86_64-23-10.iso"
    + CategoryInfo          : ObjectNotFound: (image:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\Users\baguasrr\Downloads> $image = "Fedora-Live-KDE-x86_64-23-10.iso"
PS C:\Users\baguasrr\Downloads> $checksum_file = "Fedora-Live-x86_64-23-CHECKSUM"
PS C:\Users\baguasrr\Downloads> $sha256 = New-Object -TypeName
New-Object : Missing an argument for parameter 'TypeName'. Specify a parameter of type 'System.String' and try again.
At line:1 char:31
+ $sha256 = New-Object -TypeName <<<<
    + CategoryInfo          : InvalidArgument: (:) [New-Object], ParameterBindingException
    + FullyQualifiedErrorId : MissingArgument,Microsoft.PowerShell.Commands.NewObjectCommand
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-12-13 19:39:08 -0500

For the most part your problem is with typos or not typing the full command. The next commands are

$sha256 = New-Object -TypeName System.Security.Cryptography.sha256CryptoServiceProvider

Notice all one line ^^

Next command

$expected_checksum = ((Get-Content $checksum_file | Select-String -Pattern $image) -split " ")[0].ToLower()

Then

$download_checksum = [System.BitConverter]::ToString($sha256.ComputeHash([System.IO.File]::ReadAllBytes("$PWD\$image"))).ToLower() -replace '-', ''

and last a bunch of commands, I suggest you copy - past the commands into your windows terminal or make a .bat file

You can use a graphical tool

http://sourceforge.net/projects/quick...

or you can simply burn the iso to disk / usb and check the integrity when you boot.

When you boot you will see a menu similar to this, notice the option to test the media ;)

image description

edit flag offensive delete link more

Comments

Thank you, i'll be able to test this in a few hours time. guess I was screenblind yesterday. I was convinced that TypeName was the last part of the command for some reason

baguasrr gravatar imagebaguasrr ( 2015-12-14 06:38:11 -0500 )edit

The start of a new command is marked with the command prompt ">" Again, copy past is best

bodhi.zazen gravatar imagebodhi.zazen ( 2015-12-14 07:41:17 -0500 )edit

Question Tools

Stats

Asked: 2015-12-13 18:43:47 -0500

Seen: 187 times

Last updated: Dec 13 '15