"offline" media check of install DVD?

Peter Gordon peter at thecodergeek.com
Tue Jan 2 02:10:04 UTC 2007


On Tue, 2007-01-02 at 12:58 +1100, Danny Yee wrote:
> Is there anyway of performing a media check of an install DVD without
> actually booting off it?  That is, I've just burned a DVD and would
> like to be able to check it now rather than during the install (to
> reduce downtime on the machine I'm installing onto).

Each ISOs directory contains a file called SHA1SUM that contains the
SHA-1 hashes of the images. You can use a tool called sha1sum to
calculate this hash from the image and compare it to the content of the
SHA1SUM file.

If the filename in the SHA1SUM file matches that of the image on your
hard disk (and they are in the same directory), then run the following
in that directory:
$ sha1sum -c SHA1SUM

Otherwise, you'll have to manually check the hash against the file
contents:
$ sha1sum image-name.iso

(Note that these calculations will be very time-, disk- and
processor-intensive. It takes just bit more than full minute of peak
usage on my 2.4GHz Pentium 4 to calculate the hash of the FC6/i386 DVD
image.)
-- 
Peter Gordon (codergeek42)
GnuPG Public Key ID: 0xFFC19479 / Fingerprint:
  DD68 A414 56BD 6368 D957 9666 4268 CB7A FFC1 9479
My Blog: http://thecodergeek.com/blog/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070101/bf9a8512/attachment-0001.sig>


More information about the fedora-list mailing list