Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
What exactly do you mean by "does not work"? I just test-copied a cdrom with dd and it performed just fine.
And is there anything special about the input disc you used? Could it be corrupt or have copy protection systems in place or something? Or does it happen with all discs?
Looks like businesskid is explaining how to make an iso image from a filesystem. The dd command has always worked well for me (except when I've run out of space on the partition into which I was trying to copy the cd)
The intended output file name "image-au.iso" suggests that the source is an audio CD. Those do not contain a normal filesystem and indeed cannot be read by dd. CD ripping tools are needed to extract the audio tracks.
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
it would be helpful if you posted any relevant error messages generated by the failed attempt as well as the output of
Code:
ls -lac /dev/sr0
as well as where you are trying to store the file (naturally you must have write permissions to the folder you are trying to place the iso image)
simply saying 'it doesn't work' could be any of a potentially infinite number of possibilities, impossible to tell what the issue is without more information
An audio CD doesn't have a file system on it. Gaps between tracks are used to seperate one audio track from the next. A data CD uses a file system and the /dev/sr0 device accesses it.
Another program good at imaging data CDs is ddrescue. It will retry copying the last block if the is a problem and reduce the block size dynamically. If parts can not be read, they will be filled with zeros. An error at the beginning might still allow later data to be read.
The OP specifically says "cdrom" several times. The only, rather vague, clue that he might be using audio cds is in the example filename. At this point we still don't know what he's really working with.
Note that images of audio cds can be created, although they won't be iso9660 files, but generally some kind of bin/cue style file pair. k3b, for example, can be used to create a binary image and a separate toc file for it (I believe it uses readom/readcd as the background tool for this).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.