Thread: What device represents my CD burner? cav So, /dev/cdrom points to the master on my ide (DVD-ROM), and the slave on the same ide is a philips cd-rw, however slackware did not "install" it when I set up my system. It seems that /dev/cdrom actually points to /dev/hda, so where would my philips burner be located? Also, if I found it, how would I set it up in fstab? Thanks. m0rl0ck you have to boot with ide-scsi emulation enabled. Try: append="hdb=ide-scsi" in your lilo.conf After you reboot (dont forget to rerun lilo after the above edit!!!) the cdburner should appear as /dev/scd0 poloktim Here we go: Setting up a CDR/W ($ means normal user, # means su/root) - Install IDE SCSI into the Kernel (howeever your distro(s) do it). - Install basic software (cdrecord, mkissofs - Restart - $dmesg | grep ATAPI - Modify LILO: # /etc/lilo.conf underneath root=(whatever goes here) where it says Append (usually commented) add: append="hdd=ide-scsi max_scsi_luns=1" Save and exit. #lilo #shutdown -r now $dmesg (you can search for scsi, but it shold be at the bottom) -Using CDRW (If you're in the group cdroom then you don't need root for these commands). $cdrecord -scanbus (normally 0,0,0 but may be different for you, write it down). $ /etc/default/cdrecord add default device/speed/fifosize drname,device,speed,fifosize,driveoptions (i didn't do anything so you may not need to do it). Save. Exit. put a non-blank cd in (that is one that has data on it). $cdrecord dev=0,0,0 -v -toc | more (remember that 0,0,0 may not be your devnumber, you should've taken it down before). -Because it's the second drive it now neeeds to be set up properly to read/write to. #cd /dev #ln -s scd0 cdrw #cd / (or /mnt if you want, this is creating the cdrw dir) #mkdir cdrw # /etc/fstab look for /dev/cdrom and directly underneath it add (without the quotes): "/dev/cdrw /cdrw iso9660 ro,user,noauto 0 0" IF you made the mount point at /mnt/cdrw then replace /cdrw with /mnt/cdrw Save and exit. Put a cd in both dvd and cdrw. #mount /cdrom (or whatever your cdrom mountpoint is) #ls /cdrom #umount /cdrom #mount /cdrw (or whatever you made your cdrw mount point to (/mnt/cdrw)) #ls /cdrw #umount /cdrw -Burning a test cd. Put a blank cdr(w) into the cdrw device. $cd /tmp $mkisofs -r -o homedir.img /home/ (this makes a cdimage of your homedir). $cdrecord dev=0,0,0 -v -data home-dir.img (replace dev=0,0,0 with dev=(your device number)). $mount /cdrw $ls /cdrw $umount /cdrw -You can install an X frontend now if yoou want CDRoast or such. -You're finished setting up your CDRW. Aussie [QUOTE][i]Originally posted by m0rl0ck [/i] [B]you have to boot with ide-scsi emulation enabled. Try: append="hdb=ide-scsi" in your lilo.conf After you reboot (dont forget to rerun lilo after the above edit!!!) the cdburner should appear as /dev/scd0 [/B][/QUOTE] In slackware the burner will be /dev/sr0. m0rl0ck [QUOTE]In slackware the burner will be /dev/sr0. [/QUOTE] Hmm, I didnt know that something as basic as that would be distro specific. So things have changed since this document was written?: [url]http://linuxtipps.sourceforge.net/show.php/en/tutorial/3.htm[/url] EDIT: typo Aussie [QUOTE][i]Originally posted by m0rl0ck [/i] [B]Hmm, I didnt know that something as basic as that would be distro specific. So things have changed since this document was written?: [url]http://linuxtipps.sourceforge.net/show.php/en/tutorial/3.htm[/url] EDIT: typo [/B][/QUOTE] Yep, [code] bern@grendel bern$ dmesg | grep scsi Kernel command line: BOOT_IMAGE=slackware ro root=302 hdd=ide-scsi ide_setup: hdd=ide-scsi scsi0 : SCSI host adapter emulation for IDE ATAPI devices Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray[/code] poloktim Then replace scd0 with sr0. K :) m0rl0ck [QUOTE]In slackware the burner will be /dev/sr0.[/QUOTE] Found something interesting: [url]http://www.aplawrence.com/Bofcusm/1827.html[/url] Aussie That is interesting.