Difference between revisions of "Check a Downloaded ISO Image For Errors"
Views
Actions
Namespaces
Variants
Tools
(Marked this version for translation) |
Des Kitten (talk | contribs) m (Variant to checking in Windows using powershell) Tags: Mobile web edit Mobile edit |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> | |||
__TOC__ | __TOC__ | ||
Line 34: | Line 35: | ||
<!--T:11--> | <!--T:11--> | ||
cd Downloads | {{UserCmd|command=cd Downloads}} | ||
<!--T:12--> | <!--T:12--> | ||
Line 49: | Line 50: | ||
<!--T:16--> | <!--T:16--> | ||
sha256sum manjaro-xfce-0.8.1-x86_64.iso | {{UserCmd|command=sha256sum manjaro-xfce-0.8.1-x86_64.iso}} | ||
<!--T:17--> | <!--T:17--> | ||
Line 55: | Line 56: | ||
<!--T:18--> | <!--T:18--> | ||
sha1sum manjaro-xfce-0.8.1-x86_64.iso | {{UserCmd|command=sha1sum manjaro-xfce-0.8.1-x86_64.iso}} | ||
<!--T:19--> | <!--T:19--> | ||
Line 72: | Line 73: | ||
</translate> | </translate> | ||
<br clear="all" /> | <br clear="all" /> | ||
}} | }}Also, here is another way: | ||
1) Press Win+R, and enter 'powershell'. (Also you can press the the magnifying glass icon near the Start button, and enter same word.) | |||
2) In opened shell console, using command 'cd' go to the folder wherein you have been downloaded the manjaro-xxxx.iso file. | |||
Example: PS C:\Windows\System32> cd D:\Downloads\ | |||
{{SectionTemplate|<translate><!--T:23--> See Also</translate>| | 3) Write the command: <syntaxhighlight lang="console"> | ||
certutil -hashfile .\manjaro-gnome-22.1.3-230529-linux61.iso SHA512 | |||
</syntaxhighlight>It will calculate the hash sum which you can compare with that consists in downloaded Checksum file (.iso.SHA512) that you can open with notepad.{{SectionTemplate|<translate><!--T:23--> See Also</translate>| | |||
* '''[[How-to verify GPG key of official .ISO images]]''' | * '''[[How-to verify GPG key of official .ISO images]]''' | ||
* '''[[Download Manjaro]]''' | * '''[[Download Manjaro]]''' |
Latest revision as of 10:59, 15 June 2023
To make the check, you must first download the appropriate checksum file from the same Sourceforge website folder as your chosen ISO image. A checksum file will have the same name as the ISO image that it is to be used with; the only difference is that it will end in either -sha1.sum or -sha256.sum. For example, the appropriate checksum files for the manjaro-xfce-0.8.1-x86_64.iso file (64 bit Manjaro release 0.8.1 with the XFCE desktop) would be:
- manjaro-xfce-0.8.1-x86_64-sha1.sum, and/or
- manjaro-xfce-0.8.1-x86_64-sha256.sum
The checksum file itself is just a text document that contains a code that should match the code generated by the sha1 or sha256 algorithm. As such, if the code generated from the ISO file matches that contained in the checksum file, then the ISO is fine; otherwise, if the two codes don't match then it means that the ISO file has changed in some way, most likely due to being corrupted. You can think of it like someone using a secret password to identify who they are: if they provide the wrong password, then something is obviously amiss!
Don't worry if this all sounds a bit much, it's actually very straightforward and easy to use!The command to then perform a checksum uses the following syntax:
[sha1sum or sha256sum] [ISO Image]
For example, the following command will use sha256 to generate a code from the 64 bit Manjaro XFCE 0.8.1 ISO. The code generated can then be compared to the code provided by the appropriate sha256 checksum file:
As illustrated, in this instance both codes match, thus confirming that the downloaded ISO file is correct. The following command would use sha1 to undertake exactly the same task:
When satisfied that both codes match, then it is safe to proceed to either burning the ISO to your chosen installation media, or using it immediately in Virtualbox. If the codes do not match, then it will be necessary to delete the ISO image and download it again.
It will be necessary to download and install a checksum utility application. There are many tools which can provide sha1 and sha256 sums. One such tool is Quick Hash
Also, here is another way:
1) Press Win+R, and enter 'powershell'. (Also you can press the the magnifying glass icon near the Start button, and enter same word.)
2) In opened shell console, using command 'cd' go to the folder wherein you have been downloaded the manjaro-xxxx.iso file.
Example: PS C:\Windows\System32> cd D:\Downloads\
3) Write the command:
certutil -hashfile .\manjaro-gnome-22.1.3-230529-linux61.iso SHA512
It will calculate the hash sum which you can compare with that consists in downloaded Checksum file (.iso.SHA512) that you can open with notepad.