LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 07-08-2003, 03:08 AM   #1
davido
LQ Newbie
 
Registered: Jul 2003
Distribution: Debian Sarge
Posts: 2

Rep: Reputation: 0
Question 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.
 
Old 07-08-2003, 03:21 AM   #2
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 46
Do you have enough space on the drive you are attempting to write to? can you mount the CD --is the disk good?
 
Old 07-08-2003, 04:30 AM   #3
davido
LQ Newbie
 
Registered: Jul 2003
Distribution: Debian Sarge
Posts: 2

Original Poster
Rep: Reputation: 0
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.
 
Old 07-08-2003, 03:03 PM   #4
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 46
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. . .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Extract contents from an ISO General Linux - Software 3 12-10-2005 07:46 PM
Looking to extract image properties in C++ plisken Programming 1 11-24-2005 08:22 AM
How to extract bin/cue image? Mojojo Linux - Software 3 09-06-2005 04:13 PM
extract boot image from a iso SS KiLLeR Linux - Newbie 1 07-08-2004 02:57 PM
mount a .iso or extract a .iso behind user witout access to root easytarget Linux - Newbie 3 09-29-2002 05:01 AM


All times are GMT -5. The time now is 01:04 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration