Go to TogaWare.com Home Page. Note this image has an 
              incorrect black background on MS - Use Linux!

Debian GNU/Linux

Duplicate Audio CD Using cdrdao

next up previous contents index

Because Mint (4.10.27) has no working cdrecord (at least for recording audio) we need to use cdrdao. The cdrdao package can be used to duplicate both data and audio CD-ROMs.

To directly record an audio CD (or a data CD) from the SCSI device then burn it on the same device using cdrdao, add the following to /home/kayon/.cdrdao (replace the 0,1,0 with your SCSI device address as identified by cdrecord -scanbus, and the driver with the appropriate one for your CD writer):

  write_device: "0,1,0"
  write_driver: "generic-mmc"

Then:

  $ cdrdao copy

You'll be asked to insert a new CD-R once the reading is complete and it is ready to write.

The use of the .cdrdao file is simply to avoid having to specify the command line options of cdrdao which require -device and -driver.

If you have both a CD drive (or perhaps a DVD drive) and a CD writer both as SCSI devices (see Section 14.1) then you can use cdrdao to record direct from the reader to the writer:

  $ cdrdao copy

To do a copy step-by-step, specifying the device and driver explicitly and using cdrdao you can do the following:

  $ cdrdao read-cd   --device 0,1,0 --driver generic-mmc audiocd.toc
  $ cdrdao read-cddb --device 0,1,0 --driver generic-mmc audiocd.toc
  $ cdrdao write     --device 0,1,0 --driver generic-mmc audiocd.toc

The read-cddb will look up the CDDB web database to find track information for the audio CD and generates a suitable table of contents that will be written to the CD-R if the CD writer supports CD-TEXT.

To just create a table of contents for an audio disk:

  $ cdrdao read-toc --device 0,1,0 --driver generic-mmc audiocd.toc

To add CD-TEXT to the TOC from CDDB (not supported on many CD writers, including the LG)

  $ cdrdao read-cddb --device 0,1,0 --driver generic-mmc audiocd.toc

The cd image is assumed to be in data.wav. Read the image (this command from gcdmaster):

  $ cdrdao read-cd --remote -v0 --read-raw --device 0,1,0 
                   --driver generic-mmc --paranoia-mode 3 
                   --datafile audiocd.bin  audiocd.toc

next up previous contents index

Copyright (c) 2003-2004