Using the rawread script given in the above link, determine the the md5 sum of the dvd by running:
$ rawread /dev/dvd | md5sum
The script uses the isoinfo command to determine the block size and block count of the cd and/or dvd. You need that info to get an accurate md5sum read.
By the way, the typical way of getting an md5sum of a dvd or cd is with this command:
$ cat /dev/dvd | md5sum
You can try that but it won't be as accurate as the rawread script method.
Finally, from personal experience, most of the problems I've run into in getting md5sums of optical media are tied to the optical drive. Some optical drives will simply not give accurate md5sums no matter what method I've used to get them. The drive works fine otherwise and the cd or dvd is good as confirmed by verified md5sums obtained on other working optical drives. I'm not sure why that is but when using the rawread script on the problem drives, you will see a lot of read error problems being experienced when doing the operation. Others I've talked to have noticed the same thing. My general theory is that when doing an md5sum from an optical drive you are accessing the drive with some pretty low level tools like cat or dd. Optical drives have built in read error correction mechanisms which I believe may not function properly when using those low level tools but the drive may work fine in normal operation.
Last edited by kilgoretrout; 11-13-2009 at 11:35 AM.
|