SlackwareThis Forum is for the discussion of Slackware 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.
Run the following as root:
mkdir /mnt/scd0
cd /dev
rm cdrom
ln -s /dev/scd0 /dev/cdrom
chmod 666 /dev/scd0
If you want your users to be able to run useful burning packages, run the following:
chmod u+s /usr/bin/cdrecord
chmod u+s /usr/bin/mkisofs
chmod u+s /usr/bin/cdparanoia
The 'file' /dev/cdrom is actually a link to /dev/hdc (usually) and you don't want to delete it if you intend to still use your cdrom as well as your burner. So instead, create a new link (maybe /dev/cdrw) that points to /dev/hdd, assuming your burner is the slave on the second IDE channel. You will also want to add a new directory (/mnt/cdrw) as a mount point for the burner. Then add this line to your fstab:
/dev/cdrw /mnt/cdrw iso9660 noauto,users,ro 0 0
When you want to mount the burner, just use the command:
mount /mnt/cdrw
Also, instead of going through the nightmare of scsi emulation, read /usr/doc/cdrtools-2.0/README.ATAPI then try the command:
cdrecord dev=ATAPI -scanbus
If you can see your cdrw, then just use the -dev=ATAPI:X,X flag (corresponding to the output of scanbus) when you burn. This way you can slim down your kernel by eliminating scsi support and you don't have to pass any special parameters to the kernel when booting.
The exact command depends on where your burner is physically connected to your computer. But assuming that it's the slave on the second IDE channel, it would be /dev/hdd. You can check this using the following command:
dmesg | less (the symbol in between dmesg and less is 'shift backslash')
You will have to scroll down until you see your burner listed. For now, I'll assume it's hdd. Now do the following:
Code:
command explanation
cd /dev this will move you to the /dev directory
ln -s hdd cdrw this will create the link
cd /mnt this will move you to the /dev directory
mkdir this will creat the /mnt/cdrw directory which
will be the mount point for your burner
cd /etc this will move you to the /etc directory
(now you have to edit /etc/fstab. I'll tell you how to do this in pico)
pico fstab this will open fstab in pico
Use the arrows on your keyboard to move to the end of the line that describes your cdrom. Hit the enter key to start a new line. then type:
/dev/cdrw /mnt/cdrw iso9660 noauto,users,ro 0 0
then hit 'ctrl-x' to exit and 'y' to save the changes.
hi,
i'm wondering how to burn my files to cdrw.
right now, i have mounted my cdrw and i can see my files in cd.
is there any program like nero in linux ?
thanks.
umm, yeah, you should install cdrecord. It should be on you slackware CD. From the CD I suggest you install cdrtools, cdrdao, cdparanoia and then for a graphical CD burning program like Nero you should try K3B. Which ofcourse you can find on www.google.com
i've install cdrtools, cdrdao, cdparanoia. when i try to run xcdroast there is message :
** WARNING **: No /usr/local/bin/cdrecord installed
** WARNING **: (Invalid lib-directory? Check -l option)
if i run cdrecord -scanbus there is message :
Cdrecord 1.11a24 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
and if cdrecord dev=atapi -scanbus :
Cdrecord 1.11a24 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
scsidev: 'atapi'
devname: 'atapi'
scsibus: -2 target: -2 lun: -2
cdrecord: No such file or directory. Cannot open 'atapi'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
i'm running as root. is there something i missed ?
hi Cerbere,
i've tried cdrecord dev=ATAPI -scanbus, and here the result :
Cdrecord 1.11a24 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
cdrecord: No such file or directory. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
Yeah, that's an old version of cdrecord. I'm using 2.0, which came with Slack 9. You'll probably have to upgrade or (gasp!) use scsi emulation. You can get the source here:
i've download cdrtools-2.00.3.tar.gz and tried to install.
first i use kpackage to install but ended with :
<e/thundersnows/cdrtools-2.00.3.tar.gz ;echo RESULT=$?
Cannot install //mnt/hda2/home/thundersnows/cdrtools-2.00.3.tar.gz: package does not end in .tgz
RESULT=3
after that i tried to extract the file and run 'make'.
it installed in /opt/schily/
i can only run cdrecord from this directory. so if i tried to run cdrecord from other directory, command can not found.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.