LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-28-2003, 03:03 AM   #1
Vincent
Member
 
Registered: Feb 2003
Location: Germany
Distribution: Slackware 9.1
Posts: 77

Rep: Reputation: 15
how can I get my burner working?


Hi,
I have both a CDROM and a CD-RW, which are both connected via IDE.
Unfortunatly, there is no entry for a burner in my /etc/fstab

Code:
/dev/hdb6        swap             swap        defaults         0   0
/dev/hdb7        /                reiserfs    defaults         1   1
/dev/hdb5        /fat-c           vfat        defaults         1   0
/dev/cdrom       /mnt/cdrom       iso9660     noauto,owner,ro  0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
So, how do I install my burner?

Im using Slack 9.0 with the *.20 kernel
 
Old 09-28-2003, 03:11 AM   #2
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Verify this line is in /etc/lilo.conf: append=”hdc=ide-scsi”

Verify this line in /etc/rc.d/rc.modules is uncommented:
/sbin/modprobe ide-scsi

(reboot if changes were necessary)

As root, run: cat /proc/scsi/scsi (the CD-RW should be listed)

Edit /etc/fstab, add this line:
/dev/scd0 /mnt/scd0 iso9660 noauto,users 0 0

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

-- J.W.
 
Old 09-28-2003, 03:26 AM   #3
Vincent
Member
 
Registered: Feb 2003
Location: Germany
Distribution: Slackware 9.1
Posts: 77

Original Poster
Rep: Reputation: 15
Actually, I do not use lilo; I'm booting via bootdisk.

What is the right parameter in that case?
 
Old 09-28-2003, 05:08 AM   #4
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
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.

Enjoy!
--- Cerbere

Last edited by Cerbere; 09-28-2003 at 05:13 AM.
 
Old 09-28-2003, 11:02 AM   #5
Vincent
Member
 
Registered: Feb 2003
Location: Germany
Distribution: Slackware 9.1
Posts: 77

Original Poster
Rep: Reputation: 15
Thx, but what's the exactly command for linking my cdrw?
 
Old 09-28-2003, 05:09 PM   #6
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
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.

Enjoy!
--- Cerbere

Last edited by Cerbere; 09-28-2003 at 05:10 PM.
 
Old 09-28-2003, 11:15 PM   #7
thundersnows
Member
 
Registered: Jul 2003
Location: Jakarta
Distribution: Slackware, Fedora Core 2
Posts: 83

Rep: Reputation: 15
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.
 
Old 09-29-2003, 03:36 AM   #8
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
there are a few

XCDRoast is a good one, but the best featureful cdburning software, in my opinion would be K3B.

However its all very easy from the command line too.

-Shade
 
Old 09-29-2003, 05:56 AM   #9
thundersnows
Member
 
Registered: Jul 2003
Location: Jakarta
Distribution: Slackware, Fedora Core 2
Posts: 83

Rep: Reputation: 15
i've installed xcdroast but can't make it work. do i have to install cdrecord first ? where can i find the source ?
 
Old 09-29-2003, 07:34 AM   #10
wonderpun
Member
 
Registered: Aug 2002
Location: Geekland, Planet Earth
Distribution: Slackware 9.1
Posts: 323

Rep: Reputation: 30
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
 
Old 09-29-2003, 11:11 PM   #11
thundersnows
Member
 
Registered: Jul 2003
Location: Jakarta
Distribution: Slackware, Fedora Core 2
Posts: 83

Rep: Reputation: 15
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 ?
 
Old 09-29-2003, 11:45 PM   #12
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
The command is case-sensitive, so must type 'ATAPI' instead of 'atapi'

cdrecord dev=ATAPI -scanbus

Enjoy!
--- Cerbere
 
Old 09-30-2003, 01:38 AM   #13
thundersnows
Member
 
Registered: Jul 2003
Location: Jakarta
Distribution: Slackware, Fedora Core 2
Posts: 83

Rep: Reputation: 15
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.

is something wrong with my cdrecord ?
 
Old 09-30-2003, 01:49 AM   #14
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
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:

http://freshmeat.net/projects/cdrecord/

Enjoy!
--- Cerbere
 
Old 09-30-2003, 06:13 AM   #15
thundersnows
Member
 
Registered: Jul 2003
Location: Jakarta
Distribution: Slackware, Fedora Core 2
Posts: 83

Rep: Reputation: 15
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.

can someone help me with the installation ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DVD-Burner not working Snump Mandriva 4 07-08-2005 06:34 AM
Newbie Needs help getting DVD Burner working.. fallout Slackware 10 04-23-2005 01:07 PM
Burner not working!! gdluiv Linux - Newbie 9 11-10-2003 02:02 PM
burner not working the anti-riced Linux - Hardware 8 05-21-2003 02:30 PM
CD Burner not working dtsfanatic Linux - Hardware 7 08-21-2002 12:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration