Producing ISO from CDROM
Hi everyone. I'm trying to dd a CDROM to produce an ISO image using the following:
# dd if=/dev/hdc of=cdrom.iso
This works, and I can mount the resulting ISO using the loop device, but there's an I/O error at the end:
# dd if=/dev/hdc of=cdrom.iso dd: reading `/dev/hdc': Input/output error 1000480+0 records in 1000480+0 records out
It's apparently missing a byte or two because the MD5 sums don't match what they're supposed to be. What is the best way to get an image from a CDROM?
Should I be using 512k blocks and the specific number of blocks with the count= argument? My reason for doing all of this is to verify the CDROM was burned to correctly match that of the original ISO. Is there a better way?
thanks.
__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
On Sun, May 19, 2002 at 01:59:53PM -0700, fred pasteck wrote:
| | # dd if=/dev/hdc of=cdrom.iso | dd: reading `/dev/hdc': Input/output error | 1000480+0 records in | 1000480+0 records out
This happens with me, but the resulting ISO always works... I just ignored it.
| Should I be using 512k blocks and the specific number | of blocks with the count= argument? My reason for
No, if anything you should be using blocks that are 2048 bytes since that's what CDs use. Look that number up though, I might have got it wrong.
Signature · 4 lines
I will not sell land in Florida 6AD6 865A BF6E 76BB 1FC2 | www.piku.org.uk/public-key.asc E4C4 DEEA 7D08 D511 E149 | www.piku.org.uk [email protected] (rot13'd)
I think this would work too, saw it in an article somewhere before. Just
cat the device (/dev/hdc or whatever) and redirect the output to a file mycdromfile.iso or something. Maybe that will fix the problem.
Michael French
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of James
Sent: Sunday, May 19, 2002 5:38 PM
To: [email protected]
Subject: Re: Producing ISO from CDROM
On Sun, May 19, 2002 at 01:59:53PM -0700, fred pasteck wrote:
| | # dd if=/dev/hdc of=cdrom.iso | dd: reading `/dev/hdc': Input/output error | 1000480+0 records in | 1000480+0 records out
This happens with me, but the resulting ISO always works... I just ignored it.
| Should I be using 512k blocks and the specific number | of blocks with the count= argument? My reason for
No, if anything you should be using blocks that are 2048 bytes since that's what CDs use. Look that number up though, I might have got it wrong.
--
I will not sell land in Florida
6AD6 865A BF6E 76BB 1FC2 | www.piku.org.uk/public-key.asc E4C4 DEEA 7D08 D511 E149 | www.piku.org.uk [email protected] (rot13'd) -
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html