CSUF LogoCSUF Site Navigation

F12 Multimedia-Based Applications & Setup Burning CD/DVDs

Department of Electrical and Computer Engineering
Associate Professor Gregory R. Kriehn
F12 Burning CDs from the Command Prompt


Burning from the command prompt is a simple, and quick way of creating CDs. If you want to create an image file, use the following command:
~> mkisofs -r [filename] -o /tmp/[cdname].iso
where [filename] is the name of the file you want to convert into an ISO image and [cdname] is the name of the CD ISO.

To burn a CD, type:

~> sudo cdrecord -v -tao speed=[x] -data /tmp/cd.iso dev=/dev/cdrom
The -tao option is the mode required for muti-session recording, and stands for Track At Once. For the speed, I usually choose 16 (burn at 16x), but you can choose whatever you feel comfortable with.

If you have a CD-RW disc that can be erased, you can erase it by typing in:

~> sudo cdrecord blank=fast dev=/dev/cdrom
For additional information, read the man page for cdrecord.


To create a DVD image file, use the growisofs command.  For example, to master and burn an ISO 9660 volume with Joliet and Rock-Ridge extensions on a DVD or Blu-ray Disc:
~> sudo growisofs -Z /dev/dvd -R -J [file]
To append more data to the same media:
~> sudo growisofs -M /dev/dvd -R -J [file]
To finalize a multi-session DVD, and to maintain maximum compatibility:
~> sudo growisofs -M /dev/dvd=/dev/zero
To write a pre-mastered ISO image to a DVD, use:
~> sudo growisofs -dvd-compat -Z /dev/dvd=[dvdname].iso
For additional information, read the man page for growisofs.

If you absolutely must use a GUI to burn your CD/DVDs, I do not recommend xcdroast.  Instead, install gnomebaker or k3b using yum. See the gnomebaker & k3b page.