From Fedora Project Wiki
m (Corrected my typo) |
(split media is gone) |
||
Line 3: | Line 3: | ||
|actions= | |actions= | ||
# Download the {{filename|.iso}} media files you wish to test | # Download the {{filename|.iso}} media files you wish to test | ||
# Download the matching CHECKSUM file. For example, {{filename|Fedora- | # Download the matching CHECKSUM file. For example, {{filename|Fedora-15-i386-CHECKSUM}}. | ||
# Validate that the published CHECKSUM matches the downloaded ISO files by running the command {{command|sha256sum}}. For example, you might type: <pre>sha256sum -c Fedora- | # Validate that the published CHECKSUM matches the downloaded ISO files by running the command {{command|sha256sum}}. For example, you might type: <pre>sha256sum -c Fedora-15-i386-CHECKSUM</pre> | ||
# For all installation ISO images (does '''not''' include Live ISO images), validate the md5sum imprinted inside the ISO image. First, install the {{package|isomd5sum}} package by typing: {{command|yum install isomd5sum}}. Next, to check all ISO files using the {{command|checkisomd5}} command, you might type: <pre>for ISO in Fedora-*.iso ; do echo "= $ISO =" ; checkisomd5 $ISO ; echo; done</pre> | # For all installation ISO images (does '''not''' include Live ISO images), validate the md5sum imprinted inside the ISO image. First, install the {{package|isomd5sum}} package by typing: {{command|yum install isomd5sum}}. Next, to check all ISO files using the {{command|checkisomd5}} command, you might type: <pre>for ISO in Fedora-*.iso ; do echo "= $ISO =" ; checkisomd5 $ISO ; echo; done</pre> | ||
|results= | |results= | ||
# The command {{command|sha256sum}} should return '''OK''' results. For example: | # The command {{command|sha256sum}} should return '''OK''' results. For example: | ||
#: <pre> | #: <pre> | ||
#: $ sha256sum -c Fedora- | #: $ sha256sum -c Fedora-15-i386-CHECKSUM | ||
#: Fedora- | #: Fedora-15-i386-DVD.iso: OK | ||
#: Fedora- | #: Fedora-15-i386-netinst.iso: OK</pre> | ||
# The command {{command|checkisomd5}}, when run against installation ISO images ('''not''' Live ISO images) should indicate that it is '''OK to use this media''' for each ISO image. For example: | # The command {{command|checkisomd5}}, when run against installation ISO images ('''not''' Live ISO images) should indicate that it is '''OK to use this media''' for each ISO image. For example: | ||
#: <pre> | #: <pre> |
Revision as of 11:45, 9 February 2011
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-15-i386-CHECKSUM
. - Validate that the published CHECKSUM matches the downloaded ISO files by running the command
sha256sum
. For example, you might type:sha256sum -c Fedora-15-i386-CHECKSUM
- For all installation ISO images (does not include Live ISO images), validate the md5sum imprinted inside the ISO image. First, install the
isomd5sum
package by typing:yum install isomd5sum
. Next, to check all ISO files using thecheckisomd5
command, you might type:for ISO in Fedora-*.iso ; do echo "= $ISO =" ; checkisomd5 $ISO ; echo; done
Expected Results
- The command
sha256sum
should return OK results. For example:- $ sha256sum -c Fedora-15-i386-CHECKSUM
- Fedora-15-i386-DVD.iso: OK
- Fedora-15-i386-netinst.iso: OK
- The command
checkisomd5
, when run against installation ISO images (not Live ISO images) 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.