| IDE CDRW Setup Guide |
Joey's IDE CD-RW Setup Guide So you probably went out and bought yourself a nice CD-RW and want to get it working in Linux. First make sure you check out the Unix CD-Writer compatibility list to see if your model/chipset is supported. As you get more familliar with Linux, you will start to check hardware compatiblity lists before you go out and buy new hardware. Kernel Setup For alot of newbies, the hardest part of setting up the CDRW will be recompiling the kernel with scsi support. If you don't know how to recompile the kernel, please read my Kernel Guide before going any further since the following will make no sense. Once you run make menuconfig, you will see a bunch of submenus that you can go into. M means Module (Hit M) and Y means statically compiled into the kernel (hit Y). Block devices <*> Include IDE/ATAPI CDROM support <M> SCSI emulation support Make sure you have it set up this way with the SCSI emulation as a module. If you statically compile both IDE CDROM and SCSI emulation into the kernel or the CDROM will be detected before the SCSI emulation at boot time and you will not be able to burn cds. SCSI Support.
<M> SCSI support <M> SCSI CD-ROM support [*] Enable vendor-specific extensions (for SCSI CDROM) <M> SCSI generic support [*] Probe all LUNs on each SCSI device [*] Verbose SCSI error reporting (kernel size +=12K) That should be all you need in the kernel, save and exit it and continue the steps as listed in the Kernel Guide. Configuration
The next step is to figure out which IDE device your CDRW is located on.
The first device on the first ide channel is hda (Your hard drive) Now if all you have is a CDRW and a hard drive, you probably have it set up on the second device of the first channel, hdb. Maybe you also have a cdrom drive, so the cdrw might be on hdc. After you figure out what device it is located on, place the following line:
append="hdc=ide-scsi" into /etc/lilo.conf like below.
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
append="hdc=ide-scsi"
image=/boot/vmlinuz-2.2.13
label=Debian
root=/dev/hda8
read-only
Mine is on hdc, yours might be hdb or hdc or even hdd. After you save and exit the file, make sure you run the following command to apply the changes.
[root@localhost]# /sbin/lilo -v Reboot your machine and once you log in, as root type:
[root@localhost]# modprobe ide-scsi You should see something like below:
scsi0 : SCSI host adapter emulation for IDE ATAPI devices scsi : 1 host. Vendor: MITSUMI Model: CR-4802TE Rev: 2.0D A good idea would be to add the "modprobe ide-scsi" line into the startup script located in /etc/rc.d/rc.local for Red Hat Linux users or in /etc/init.d/rcS for Debian GNU/Linux users. Now, your system thinks you have a scsi cdrw, but what if you want to use it as a plain cdrom too? You can mount /dev/scd0 (scd0 is scsi device 0) just like you would normally mount /dev/cdrom.
Software Probably the most used burning software in Linux is the frontend for CD related programs cdwrite and mkisofs, it is called Xcdroast. For more information on Xcdroast, see xcdroast.org Another good program is gcombust. It provides a GUI frontend for mkisofs/mkhybrid/cdda2wav/cdrecord/cdlabelgen. It's written in C and it uses the GTK+ widget set. You can get more information and download it at http://www.abo.fi/~jmunsin/gcombust/ You can also find a listing of other burning software at http://www.freshmeat.net. Having trouble? Got questions? Require further assistance? If so please feel free to visit our Help Forums and ask the experts! |
|
Copyright © 1997 - 2013 Private World Domination Inc. All rights reserved. |
|