CD burning

This page describes how to burn a CD-rom in Linux. For instructions on how to connect a CD/DVD burner to your system please check my storage page about CD-rom burners

To burn a CD you have to be root, or use sudo. You can either choose to create a iso file first, or burn on the fly. To create a iso to burn later, use mkisofs:
mkisofs -o home-enrique.iso -R -joliet-long -graft-points "/=/home/enrique"
Code listing 1.1
The options explained: To burn a CD on the fly use the two following commands:

mkisofs -R -joliet-long -graft-points "/=/home/enrique" | cdrecord dev=0,0,0 --eject -v speed=4 -

To find dev, run cdrecord -scanbus. Remember to add a - to the cdrecord command so it will read from stdin.

For more information:

[ Top | Bottom ]
Hi! you have reached the old part of my homepage, be sure to checkout my new site. There is a updated version of this page: CD/DVD burning, and working with .iso files