From Fedora Project Wiki
(Change wording around checkisomd5 usage) |
(checkisomd5 is not for live images) |
||
Line 5: | Line 5: | ||
# Download the matching CHECKSUM file. For example, {{filename|Fedora-12-Beta-i386-CHECKSUM}}. | # Download the matching CHECKSUM file. For example, {{filename|Fedora-12-Beta-i386-CHECKSUM}}. | ||
# Validate that the published CHECKSUM match the downloaded ISO files by running the command {{command|sha256sum}}. For example, you might type: <pre>sha256sum -c Fedora-12-Beta-i386-CHECKSUM</pre> | # Validate that the published CHECKSUM match the downloaded ISO files by running the command {{command|sha256sum}}. For example, you might type: <pre>sha256sum -c Fedora-12-Beta-i386-CHECKSUM</pre> | ||
# Validate the md5sum imprinted inside the ISO image by running the command {{command|checkisomd5}}. For example, to check all ISO files, you might type: <pre>for ISO in Fedora-*.iso ; do echo "= $ISO =" ; checkisomd5 $ISO ; echo; done</pre> | # Validate the md5sum imprinted inside the ISO image by running the command {{command|checkisomd5}}. For example, to check all ISO files, you might type: <pre>for ISO in Fedora-*.iso ; do echo "= $ISO =" ; checkisomd5 $ISO ; echo; done</pre> (Note: This check is not available for Live images) | ||
<!-- <pre>checkisomd5 Fedora-12-Beta-i386-DVD.iso</pre> --> | <!-- <pre>checkisomd5 Fedora-12-Beta-i386-DVD.iso</pre> --> | ||
|results= | |results= |
Revision as of 12:23, 13 August 2010
Description
This test is intended to verify that the posted ISO media matches the published sha256sum.
How to test
- Download the
.iso
media files you wish to test - Download the matching CHECKSUM file. For example,
Fedora-12-Beta-i386-CHECKSUM
. - Validate that the published CHECKSUM match the downloaded ISO files by running the command
sha256sum
. For example, you might type:sha256sum -c Fedora-12-Beta-i386-CHECKSUM
- Validate the md5sum imprinted inside the ISO image by running the command
checkisomd5
. For example, to check all ISO files, you might type:for ISO in Fedora-*.iso ; do echo "= $ISO =" ; checkisomd5 $ISO ; echo; done
(Note: This check is not available for Live images)
Expected Results
- The provided
CHECKSUM
file should be signed - The command
sha256sum
should return OK results. For example:- $ sha256sum -c Fedora-12-Beta-i386-CHECKSUM
- Fedora-12-Beta-i386-DVD.iso: OK
- Fedora-12-Beta-i386-disc1.iso: OK
- Fedora-12-Beta-i386-disc2.iso: OK
- Fedora-12-Beta-i386-disc3.iso: OK
- Fedora-12-Beta-i386-disc4.iso: OK
- Fedora-12-Beta-i386-disc5.iso: OK
- Fedora-12-Beta-i386-netinst.iso: OK
- The command
checkisomd5
should indicate that it is OK to use this media for each ISO image. For example:- The media check is complete, the result is: PASS.
- It is OK to use this media.