Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Setting up a CDR/W ($ means normal user, # means su/root)
- Install IDE SCSI into the Kernel (however your distro(s) do it).
- Install basic software (cdrecord, mkisofs
- Restart
- $dmesg | grep ATAPI
- Modify LILO:
#<your editor> /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 cdrom then you don't need root for these commands).
$cdrecord -scanbus (normally 0,0,0 but may be different for you, write it down).
$<your favourite editor> /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 needs 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
#<your favourite editor> /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/<your username> (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 you want CDRoast or such.
-You're finished setting up your CDRW.
Originally posted by m0rl0ck Hmm, I didnt know that something as basic as that would be distro specific.
So things have changed since this document was written?: http://linuxtipps.sourceforge.net/sh...tutorial/3.htm
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.