Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I've been having an issue with DD today. For some reason I can't seem to create an iso from an audio CD. I'm almost certain that I've done this in the past with success.
I tried it from my desktop with an up to date Arch Linux install, then I used one of the latest Linux Mint boot cds, I tried a Slackware 13.1 boot cd that was laying around, and finally I tried my laptop running Ubuntu 12.04.
Here's what happens every time:
dd if=/dev/sr0 of=cd.iso
dd: reading ‘/dev/sr0’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.0054257 s, 0.0 kB/s
If I try to copy a data cd with the same command it magically works.
I know what I'm copying isn't copy protected. Does anyone know what might be happening here?
Edit: Video DVDs also seem to be causing a problem. I copied some home movies a while back so I know it was working at one point.
Also, I'm not so much looking for alternatives as I know there are different ways to copy things, but this is just driving me mad.
Last edited by robert-childan; 09-15-2012 at 11:56 PM.
You can't make an ISO from an audio CD, same as you can't mount an audio CD ... it has no filesystem no iso-9660.
Instead I recommend using cdrdao for cloning audio CDs, and vobcopy for extracting VOBs from DVDs. However, libdvdcss is not legal in some places, so check before using it.
You can't make an ISO from an audio CD, same as you can't mount an audio CD ... it has no filesystem no iso-9660.
Instead I recommend using cdrdao for cloning audio CDs, and vobcopy for extracting VOBs from DVDs. However, libdvdcss is not legal in some places, so check before using it.
You can't mount /dev/zero either, but you can feed zeros into dd. I was under the impression you could just feed the raw bits and bites from the cd into an iso.
Yes, but what about the copy protection, both commercial DVDs and CDs have it. If you are trying to image these, that's probably the reason they don't work.
Yes, but what about the copy protection, both commercial DVDs and CDs have it. If you are trying to image these, that's probably the reason they don't work.
Maybe so, if you're trying to copying something with copy protection, but I'm still not sure exactly how that would work. Originally though I was trying to copy an audio CD that I myself had made. I ended up using brasero, but I'm still a bit puzzled.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
I wanted to do this (make an ISO of a CD) the other day for testing a media distribution in a VM because it didn't recognise my USB CD/DVD drive correctly.
After a lot of googling it seems that it is not possible to use dd to copy an audio CD apparently because of the format of the data. I am puzzled by this too but I couldn't find a single example of somebody doing it either.
As for copy protection I know that the CDs I tried do not use it so I don't think that comes into it.
I've always managed to obtain ISOs of DVDs too no matter whether they're using copy protection or not -- but do need DeCSS to watch the resulting ISO.
I'd not thought of using brasero and wonder why it works when dd doesn't? Thanks for the tip though it could be useful for testing as I mentioned above.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.