On Tue, 23 Oct 2001 [EMAIL PROTECTED] wrote:

Here is how to verify a CD after you burn a ISO.  First mount you CD that
you wish to verify, I am using enigma 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                662072    662072         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=331036 | md5sum
331036+0 records in
331036+0 records out
fc9c2c23b02d2a35b75845530db81743 -

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

> Hello seawolf-list,
> 
> I recently downloading a .iso file and wrote it using cd burning
> software to a CD-R. However, since the software I used was a new
> version that I'd never tried this on, I am left wondering whether it
> actually worked.
> 
> I'm sure this is simple, but I'm looking for the command line that
> will verify the contents of the CD-R against the md5 checksum for the
> original .iso file. I've tried several md5sum command lines, and
> looked through CD burning FAQs, but have been unable to come up with
> the right magic.
> 
> Thanks!
> 
> Ron.
> 



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

Reply via email to