Tim's Site
Bookmarks Linux, Etc. Faith Journal Miscellaneous
Installing a CD-R(W) Drive in SuSE Linux

These steps are largely based on Chris Stoddard's very nice Mini-HOWTO, with additional information that applies for SuSE Linux 7.1 or 7.2 (it should apply to other SuSE Linux versions too). It's worth noting that while this document is largely based on that tutorial, the fact that both detail the installation of a Iomega ZipCD CD-RW drive is purely coincidental.
  • First we need to become root by typing su and then entering your root password.
  • Next check to see the "name" assigned to your drive by typing dmesg | grep ATAPI. You should see something like:

    hdd: ZIPCD1024INT-A, ATAPI CD/DVD-ROM drive
    hdc: ATAPI 32X DVD-ROM drive, 256kB Cache, DMA

  • We can see that the ZIPCD is hdd, so jot that down for reference in a few minutes.
  • Next let's make sure that you have a the needed RPM's installed by typing rpm -q cdrecord mkisofs. If you see a response that looks like the following, you have all of the needed RPM's. Otherwise, you can get the needed RPM's off of your SuSE Linux CD-ROM.

  • Next we need to tell Linux to load the ide-scsi module on boot. To do this open /etc/rc.config in your favorite text editor, and add ide-scsi to the variable named INITRD_MODULES. Your INITRD_MODULES line in rc.config should now look something like this:

    INITRD_MODULES="usbcore reiserfs ide-scsi"
  • Moving onward, open /etc/modules.conf and add the following lines to it (replace hdd with the correct location for your drive):

    alias scd0 srmod
    alias scsi_hostadapter ide-scsi
    options ide-cd ignore=hdd

  • Now after you have finished editing modules.conf, run depmod -a to process the updates you have made.
  • Next, open /etc/lilo.conf in your text editor, and add append="hdd=ide-scsi" right under the line that sets root for each Linux kernel available.
  • After that, run mk_initrd && lilo, and then reboot your system.
  • Once you have finished all of that, root can now burn CD's. To provide CD burning capabilities to normal users (and you should be running as a normal user, if you aren't already doing so), just follow these last few steps:

    • Open your terminal again, type su, and enter your root password again.
    • Now type chmod +s /usr/bin/cdrecord .

  • Finally, let's test our work to make sure that everything installed right. Type cdrecord -scanbus. You should see something like:

    Cdrecord 1.9 (i686-suse-linux) Copyright (C) 1995-2000 Jörg Schilling
    Linux sg driver version: 3.1.19
    Using libscg version 'schily-0.1'
            0,0,0     0) 'IOMEGA  ' 'ZIPCD1024INT-A  ' ' 1.1' Removable CD-ROM
            0,1,0     1) *
            0,2,0     2) *
            0,3,0     3) *
            0,4,0     4) *
            0,5,0     5) *
            0,6,0     6) *
            0,7,0     7) *

  • Now choose a nice CD burning app (more info on that coming soon) and enjoy!

Back to Tim's main Linux page

TIM-KB#002 REV. 1
© 2001-2003 Timothy R. Butler, please contact the author for reprint permission. Asisaid, asisaid.com, and the asisaid.com logo are trademarks of Timothy R. Butler.

Last Modified: Saturday, 06-Mar-2004 00:48:44 CST TRB