Tonic for your Backup Woes: CD Backups In Linux (Part One) - Page 2

 By Carla Schroder
Page 2 of 3   |  Back to Page 1
Print Article

SCSI Emulation

ATAPI drives need to use the ide-scsi pseudo device driver. Most modern Linux distributions have this compiled into the kernel. Search your system for the ide-scsi kernel module:

$ locate ide-scsi.o

If it is not present, the kernel needs to be recompiled. See Resources for more information.

Your particular flavor of Linux may have nice graphical config tools to set up ide-scsi. All that is necessary is a minor edit of two files: /etc/modules.conf (in Debian /etc/modules) and your bootloader, GRUB or LILO. These two lines appear in my /etc/modules:

ide-cd ignore=\"hdb hdc\"

By default, the IDE subsystem claims all ATA devices for its own. The "ignore" line enables the SCSI subsystem to grab both my CD-RW and CD-ROM. If you want to copy CDs, both drives will need to use the ide-scsi pseudo device driver. If you don't want to enable SCSI emulation on your CD-ROM, another way to copy a CD is to mount the drive and copy all the files,

Add the following to the end of lilo.conf:


Next, add this line to /etc/grub.conf or to the "kernel" line in Debian /boot/grub/menu.lst:

hdb=scsi hdc=scsi

Be sure to use the correct hdn designation for your drives.


There are many GUI programs for CD writing in Linux: X-CD-Roast, gcombust, KonCD, Gnome Toaster, and eroaster, just to name a few. All are graphical front ends for the three core CD writing programs: cdroaster, mkisofs, and cdrdao (and sometimes cdparanoia as well for ripping music tracks). cdrdao, "disk-at-once", is primarily for writing audio tracks. It also enables copying-on-the-fly and writing mixed mode disks. We'll stick to data recording in this article.

Understanding cdroaster and mkisofs has three benefits: the GUI programs will be more understandable, you'll have the option of burning disks without running X, and you'll find these tools have more options than most of the GUI front-ends.

Page 3: Burning Disks

This article was originally published on Jan 8, 2003
Get the Latest Scoop with Networking Update Newsletter