On Tue, 3 Apr 2001, Pete Peterson wrote:

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 -

the CD does not need to be mounted to perform the last command.

 
> I'd like to be able to verify  a CD I made from the ISO images, or from
> a copy of such a CD.  I made a copy of my wolverine CDs for a friend
> and he got a file error when attempting the install and I'd like to
> be able to verify copies against the original MD5 sums..
> 
> I've searched all the archives I could find and didn't find a way to do
> that.  I thought I should be able to use some "dd" incantation piped
> into "md5sum", but I couldn't seem to make it work.  I probably have
> some problem with the blocking.
> 
> Any suggestions?
> 
> 
>         pete peterson
>         GenRad, Inc.
>         7 Technology Park Drive
>         Westford, MA 01886-0033
> 
>         [EMAIL PROTECTED] or [EMAIL PROTECTED]
>         +1-978-589-7478 (GenRad);  +1-978-256-5829 (Home: Chelmsford, MA)
>         +1-978-589-2088 (Closest FAX); +1-978-589-7007 (Main GenRad FAX)
>  
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 


Rob Fausey.

These are not the droids you're looking for.  Move along.  Move along.




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to