> From: Robert Fausey <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: Checking CD made from ISO images against MD5 sums
>
> Here is how to verify a CD after you burn a ISO, I assume you know what a
> MD5 check sum is. First mount you CD that you wish to verify, I am using
> respin disk1 in my example. Type df -k
>
> Filesystem 1k-blocks Used Available Use% Mounted on
> /dev/hda1 2522048 1354256 1039676 57% /
> /dev/hda2 1233340 424224 746464 37% /home
> /dev/hdc 659912 659912 0 100% /mnt/cdrom
>
> next divide the number of 1K blocks on the CD by 2 giving you the number
> of 2K blocks, CD use 2K blocks. Next use dd to read the entire CD and
> pipe it into md5sum
>
> $ dd if=/dev/cdrom bs=2048 count=329956 | md5sum
> 329956+0 records in
> 329956+0 records out
> fc9c2c23b02d2a35b75845530db81743 -
>
> Rob Fausey.
Thanks! Although I had tried blocksizes of 512, 1024, 2048 and 4096, I was
omitting the "count=xxxx" argument and getting bogus results. It worked
fine once I included that as you suggested.
pete peterson
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list