The problem is that when you read the CD-ROM as a raw device, it will return more data than the length of the ISO image; there are almost always some additional sectors of padding beyond the end of the image.  Even dd&#39;ing from the CD-ROM into shasum won&#39;t work unless you tell dd the number of blocks to copy, so that you don&#39;t include the padding.<br>
<br>Try something like<br>        dd if=/dev/sr0 of=foo.img bs=2k count=`isosize -d 2048 /dev/sr0` | sha256sum -<br><br>Note the backquotes for command substitution of the output of isosize.<br><br>I haven&#39;t tried this just now, so it&#39;s possible that I&#39;ve got the details wrong.<br>
<br>Eric<br><br>