Re: [OT] Making images from CDs
On Tue, Jul 24, 2001 at 12:39:06AM -0400, Thomas J. Hamman wrote:
> First, a simple question: What is the correct command-line way of
> copying a CD to an image file on the hard drive? Is a simple "dd
> if=/dev/cdrom of=cd.img" command sufficient? Or do I need to run
Use cat if you like.
cat /dev/cdrom > cd.iso9660
> Now, a tougher problem: I received an "Input/output error" while trying
> to copy a CD to an image file (using xcdroast, and I also got the error
> while trying dd). I tried another CD and it worked fine, so I'm
> guessing the problem is the particular CD. The CD does work fine,
> however. So, what I'm wondering is whether or not there is anyway
> around such an error, or whether it would be worthwhile to go ahead and
> burn the resulting image and hope it works.
Are you sure it really is fine? Run:
find /dev/cdrom -type f -exec cat {} \> /dev/null \;
And watch the system console or log for errors.
Cheers,
Joost
Reply to: