Linuxdoc Linux Questions
Click here to ask our community of linux experts!
Custom Search

6. Burning the CD(s)

This is composed by an optional and a required steps. Remember that, probably, you have to be "root" on your machine to run cdrecord .

6.1. Test the image(s)

If you're paranoid, you can test your new disk image(s) by mounting it. If you forgot to fix the file permissions or set the rock ridge extensions then the error will be obvious here since the file names and directory structure will be wrong. The (optional) test can be done by issuing the command:

        # mount -t iso9660 -o ro,loop=/dev/loop0 iso-image /mnt/cdrom
      

Where "iso-image" is the name you gave to the iso image file to be mounted (which is the only one for releases up to and including 6.2). When you're done, don't forget to unmount it

        # umount /mnt/cdrom
      

6.2. Burn the disk(s)

Be sure to set the correct parameters for your device. This command, for example, is for a 4X CDR, which is quite slow, by the way. Moreover, it is assumed that the CD writer is on SCSI bus 0, with ID number 0 and LUN 0 (you can obtain these values by issuing a cdrecord -scanbus and assign them to the -dev= parameter).

        # cdrecord -v speed=4 dev=0,0,0 /images-destination-dir/disc1.img