Results 1 to 10 of 13
I have learned that the command
dd if=/dev/scd0 of=whatever
will copy the entire contents of an iso9660 CD into file 'whatever' provided that there is space for 'whatever' in current ...
- 04-14-2009 #1Just Joined!
- Join Date
- Apr 2009
- Posts
- 4
DD on music CD?
I have learned that the command
dd if=/dev/scd0 of=whatever
will copy the entire contents of an iso9660 CD into file 'whatever' provided that there is space for 'whatever' in current folder. I have tried to use the 'dd' command in the same way on music CD's with various options with no success. Is there some option or parameter that will make 'dd' work on music CD's? Or some other neat way to copy entire music CD super fast?
-Harry Wertmuller
- 04-14-2009 #2
If you have about ten minutes you could rip the whole CD in whatever format you want (including full-size WAV files) using something like Brasero or K3b. I wouldn't even mess with dd.
Registered Linux user #270181
TechieMoe's Tech Rants
- 04-14-2009 #3Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513
Use cdrdao instead.
- 04-18-2009 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,970
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 04-18-2009 #5Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,970
After some experimentation on my system I have to agree that cdrdao is a good option to use. I used the k3b cd-clone tool, which creates an ISO image and TOC (Table of Contents) file, which when used to write a copy to a blank cd resulted in a coaster. Then I did the same thing with the cdrdao command line tool, creating an image file + toc file. When I wrote the image + toc back to a blank cd, it is playing perfectly. FWIW, my test disc is The Allman Brothers Live at the Fillmore East, Disc 1. I'm playing the resulting copy right now. It just took a few minutes to make the image copy, and another 2-3 minutes to write it back at a leasurely 16x speed.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 04-19-2009 #6
If you were to change your command to something like this: dd if=/dev/scd0 of=whatever.iso bs=2048 conv=sync,notrunc, then you can turn around and mount the ISO by making a directory to mount it to and mount with these two commands from within the directory containing the .iso:
Now you would be able to click on any .wav format song in the /mycd directory and play it from the hard drive.Code:mkdir /mycd mount -o loop -t iso9660 whatever.iso /mycd
Also, now you can use your favorite burning application to burn an exact copy of the original from this .iso file you created. This however, won't work with copy protected media.
Learn the dd commandLast edited by Sunnyside; 04-19-2009 at 01:49 AM. Reason: reword
- 04-19-2009 #7Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,970
The dd command has a lot of options, and getting advise like this is a big help. I'm going to try that and see if it works for me. My only question at this point is whether or not the iso can be burnt to a CD-R disc and be playable. I use these images+toc or mdf+mds files for archival storage of my music collection. I've been able to use the .dat + .toc files generated by cdrdao to do so. I haven't had any luck with the iso + toc files generated by k3b cd clone tool.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 04-19-2009 #8Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513
- 04-20-2009 #9Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,970
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 04-20-2009 #10
Yup, a "slight' oversight on my part. Never copied a CD, only ripped and then created mp3 CDs. My DD example is for data CDs which contain the iso9660 file system. Audio CDs do not have a file system. And data is stored in sectors of 2352 bytes each on Audio CDs. DD cannot copy audio CDs.
Many tuts here using command line tools.


Reply With Quote
