linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Producing ISO from CDROM
@ 2002-05-19 20:59 fred pasteck
  2002-05-19 21:37 ` James
  0 siblings, 1 reply; 3+ messages in thread
From: fred pasteck @ 2002-05-19 20:59 UTC (permalink / raw)
  To: linux-admin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Producing ISO from CDROM
  2002-05-19 20:59 Producing ISO from CDROM fred pasteck
@ 2002-05-19 21:37 ` James
  2002-05-20  1:38   ` Michael French
  0 siblings, 1 reply; 3+ messages in thread
From: James @ 2002-05-19 21:37 UTC (permalink / raw)
  To: linux-admin

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 wnzrf@cvxh.bet.hx (rot13'd)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Producing ISO from CDROM
  2002-05-19 21:37 ` James
@ 2002-05-20  1:38   ` Michael French
  0 siblings, 0 replies; 3+ messages in thread
From: Michael French @ 2002-05-20  1:38 UTC (permalink / raw)
  To: linux-admin

	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: linux-admin-owner@vger.kernel.org
[mailto:linux-admin-owner@vger.kernel.org]On Behalf Of James
Sent: Sunday, May 19, 2002 5:38 PM
To: linux-admin@vger.kernel.org
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 wnzrf@cvxh.bet.hx (rot13'd)
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-05-20  1:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-19 20:59 Producing ISO from CDROM fred pasteck
2002-05-19 21:37 ` James
2002-05-20  1:38   ` Michael French

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).