[Cialug] rip an ISO
Paul Gray
gray at cs.uni.edu
Sun Nov 6 20:42:48 CST 2005
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.
Paul Gray -o)
323 Wright Hall /\\
University of Northern Iowa _\_V
Message void if penguin violated ... Don't mess with the penguin
No one says, "Hey, I can't read that ASCII attachment ya sent me."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://cialug.org/pipermail/cialug/attachments/20051106/14e89f45/attachment.pgp
More information about the Cialug
mailing list