LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   how to extract an ISO image from a CD (https://www.linuxquestions.org/questions/linux-general-1/how-to-extract-an-iso-image-from-a-cd-70881/)

davido 07-08-2003 03:08 AM

how to extract an ISO image from a CD
 
Hi,

How can I extract an ISO image from a CD?

I tried:

$ dd if=/dev/scd0 of=image.iso
dd: lecture de `/dev/scd0': Erreur d'entrée/sortie
968472+0 enregistrements lus.
968472+0 enregistrements écrits.
495857664 bytes transferred in 427,045883 seconds (1161134 bytes/sec)

But as you can see on the second line, it ends with an 'I/O error'.

Thanks for your help,

David.

moses 07-08-2003 03:21 AM

Do you have enough space on the drive you are attempting to write to? can you mount the CD --is the disk good?

davido 07-08-2003 04:30 AM

Thank you for this suggestion, but yes I have enough space left. I tried this dd command on 2 different computers (different config and distro), and with 2 CDs (one of mine and a commercial one).

I think you'll have the same result if you try on your computer, won't you?

David.

moses 07-08-2003 03:03 PM

I don't, actually, usually get that error message. However, dd could give that error message if it's just streaming data from a block device (CDROM) to a file and the block device unexpectedly ends. Try mounting the resulting file:
Code:

mount -o loop image.iso /mnt
If it works w/o errors, take a look in /mnt and make sure you've got everything you need. Most likely, you do. . .


All times are GMT -5. The time now is 05:37 PM.