Gentoo CD Burning

In Windows CD burning is taken for granted. You can either burn a CD by using the Windows CD burning engine or by popping the software that came with the CD burner in the computer, install it and then burn. In Linux you have to build some features into the kernel in order for this wonder feature to work, followed by the actual burning software.

Device Drivers —>
SCSI device drivers —>
< * > SCSI CD-ROM Support
[ * ] Enable vendor-specific extensions (for SCSI CD-ROM)
< * > Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
< * > Include IDE/ATAPI CD-ROM support

Recompile the kernel and boot the system with it.emerge the basic tool for burning, which is cdrtools:

# emerge cdrtools

cdrtools is a command line program for burning CDs. To make things easier, you can also install a GUI program that will take care of the work for you:

  • xcdroast
  • gcombust
  • gnomebaker
  • k3b

Set the permissions for the programs:

# chmod 750 /usr/bin/cdrdao
# chmod 750 /usr/bin/cdrecord
# chown root:cdrw /usr/bin/cdrdao
# chown root:cdrw /usr/bin/cdrecord

To enable burning for users:

# gpasswd -a $username cdrom
# gpasswd -a $username cdrw

To find out what device id your burner is:

# cdrecord dev=ATAPI -scanbus

If you have an ISO and you want to burn it to a CD:

# cdrecord -v dev=ATA:0,0,0 speed=52 -data -eject file.iso

I’ve seen ATAPI used instead of ATA. I’ve always had problems with that not working.

Close Menu