[Cialug] rip an ISO

Dave Weis djweis at internetsolver.com
Mon Nov 7 05:50:57 CST 2005


Paul Gray wrote:
> On Sun, Nov 06, 2005 at 07:58:02PM -0600, Renegade Muskrat wrote:
> 
>>At 05:24 PM 11/6/2005 -0600, you wrote:
>>
>>>dd if=/dev/hdc of=debian.iso
>>
>>Doing that creates an ISO, but it is not identical (according to MD5) 
>>to the one used to burn the disc with (even if the disc is good). Is 
>>there a different way to rip an ISO that results in an identical file 
>>to the original?
> If you want the original md5sum back, then you need to peel it off just like
> you layed it on...
> 
> dd bs=`isoinfo -i /dev/cdrom -d| grep "block size is" | awk -F": " '{print $2}'` if=/dev/cdrom count=`isoinfo -i /dev/cdrom -d |grep "Volume size"| awk -F": " '{print $2}'` | md5sum
> 
> If the md5sum matchs, substitute 'of=debian.iso' for the final pipe to md5sum.

Does that just skip over the header stuff burned on the disk and md5sum 
the data portion?


More information about the Cialug mailing list