Re: fedora core 5 checksum



leftymills@xxxxxxxxxxx wrote:

I am trying to install Fedora core 5 from 5 CD's which I have burned,
without success. All CDs pass the media test, but the installation
still fails due to several corrupted files. I now would like to
checksum each file before I burn the iso, but do not see how. At the
site where I download the 5 files and the rescueCD file, there is a
file "Sha1sum" but I cannot see how to use it. I am totally new to
Linux.
Is there a reason the checksum of each file is not given in the clear?
Am I permitted to post here the size of each of my files to verify they
are correct?

Once I have verfified the checksums, I plan to burn the 6 CDs again at
1X speed using higher quality CD blanks.

Lefty

One time I was suspicious of the CD's so I took each burned
CD, then mounted the matching iso file via a loopback device
and then recursive diff'ed the CD vs the lookback mounted iso
file, that in effect will compare each file in the iso


# mkdir /media/loop
# cd /dir/where/iso-files-are
# mount ./FC-5-i386-disc1.iso /media/loop -o loop

if you do run 'df' now, you should see the mount to the
loopback'ed iso as being mounted

now run diff recursively and tell it to only output if there's
a difference (--brief option) so you don't have to look
at a sea of output:

$> diff -r --brief /media/cdrecorder /media/loop

another way that *might* work is to cksum each to check they
are the same (my example assumes hdc is the cdrom)

cksum /dev/hdc
cksum ./FC-5-i386-disc1.iso

But I'm not sure if a checksum of a raw device like /dev/hdc should
exactly equal the iso file is was burned from?
mark
.