[Lvlug] verifying copied cd's
Linc Fessenden
linc@thelinuxlink.net
Fri, 10 May 2002 22:19:49 -0400 (EDT)
On Fri, 10 May 2002, Randy Kramer wrote:
> Linc Fessenden wrote:
> > Yup.. Use md5sum. Slap your cdrom in the drive and *without mounting it*
> > run md5sum on the block device, ie /dev/hdc or /dev/cdrom, or whatever it
> > is on your system, then run it again on your copy (be it ISO, or
> > another physical cd or whatever.... For instance on my system I would get
> > this result on a certain cd....:
> > sh-2.05$ md5sum /dev/cdrom
> > de1230b7817c882c0be9bb01debe3fda /dev/cdrom
> > sh-2.05$ md5sum cdcopy.iso
> > de1230b7817c882c0be9bb01debe3fda cdcopy.iso
> > sh-2.05$
>
> Ahh, wonderful!!
>
> Linc -- maybe you can confirm that the results you get by doing this
> will not (and should not) match an md5sum run on the iso before burning?
>
> Randy Kramer
The cdrom and the ISO *should* match before and after burning as long as
you are using a proper iso image. At least as long as you are using a
proper ISO. I don't know about those windows ISO's though. Most times I
generate my cd images the easy way in unix by doing a:
cat /dev/cdrom > cdimage.iso
--
-Linc Fessenden
In the Beginning there was nothing, which exploded - Yeah right...