how to copy a CD to CD??
hi,
i am currently trying to copy a CD to another CD... how? i tried "roaster" (i almost forget the name of the software... but, it is shipped with the RH9 package...)??, but, it failed.... any how-to or guidances?? before that, when i am a windows user, i am using nero to burn my CD... it is pretty straight forward and easy to get the way......anyway, pls advise.... thanks... cheers, yenonn |
I use a three step process to copy a CD to another CD. I use the command line.
1. Copy the first CD to a hard disk using the cp command. 2. Use the mkisofs command to create an iso image file. 3. Use the cdrecord command to burn the iso image file to a CD-R or CD-RW |
You can do it in what will appear to be a 1 step:
dd if=/dev/cdrom conv=noerror | cdrecord dev=x,x,x speed=x -v -eject - Don't miss that last - And the: dev=x,x,x Is substituted with what you get for your device from: cdrecord -scanbus HTH Cool |
MasterC,
In the command: dd if=/dev/cdrom conv=noerror | cdrecord dev=x,x,x speed=x -v -eject - is there some intermediate temporary file? What logic keeps dd from trying to read from the CD while cdrecord is writing to the CD? |
stdout is the 'intermediate' file. That's where - comes in on the end of cdrecord. The - says "take from stdin".
dd does read. It reads from the source cd in the /dev/cdrom slot. The above does assume 2 drives, 1 burner and 1 source. ;) Cool |
All of the above assume that you have a data CD, not an audio CD.
The following does too: if you have only one drive use MasterC's method, but output to hard drive first: Code:
dd if=/dev/cdrom of=/tmp/cd_image |
i have set up a script for making mine. i use it to copy disks for others. haven't given it a shot for music cd's, but i think that it would work.
#!/bin/bash dd if=/dev/hdd | cdrecord -v speed=12 dev=0,0,0 fs=8m -data - && diff -r /cdrom /cdrom1 i put the diff command there just to be sure that they have copied correctly. if your going to use it, make it exe and then put in in bin. call it what ever you want, mine is cpcd, then all you have to do is to type that at the cmd line. cheers. |
For audio CDs, you need to use cdda2wav or paranoia. The command is the samething like the dd. Read the manual pages for either cdda2wav or paranoia.
|
All times are GMT -5. The time now is 11:54 PM. |