You are here: Hello world / Howto / CD-Recording Cookbook   A few tips and tricks regarding cd recording.

CD-Recording Cookbook

Please note: This is not the CD-Writing-HOWTO from Winfried Trümper. This is just a collection of a few commonly used tasks.

Getting started

Setting $CDRDEV

First determine the right cd-recorder device:

$ cdrecord -scanbus

Set the environment variable $CDRDEV to the right value (i.e. 0,1,0):

$ export CDRDEV=0,1,0 # for bash
$ setenv CDRDEV 0,1,0 # for tcsh

Duplicating CDs

Mixed Data / Audio CDs

If you want to make a 1:1 copy of a CD with a special layout, laying in drive /dev/sr0 (first scsi CD drive), try this:

$ cdrdao copy --device $CDRDEV --source-device /dev/sr0 --eject --on-the-fly

With some hardware cdrdao cannot figure out which driver to use. See the man-page for a list of possible drivers.
For me the following two options worked well:

--driver generic-mmc --source-driver generic-mmc

If you get errors regarding possible buffer under runs, try a lower speed:

--speed 4

In some cases you have to specify this option as well:

--force

CDRWs

Erasing

$ cdrecord -v dev=$CDRDEV blank=fast
Author: Tobias Jahn
Public key fingerprint: 0556 B7D8 93FB 0304 B868 9FBA 3A71 E4F9 AE03 4AAD
Last modification of this page: 2001-12-26 12:06 GMT
Last generation of this page: 2007-06-16 20:26 GMT
Valid HTML 4.0!