LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 10-31-2006, 10:58 AM   #1
sharathg786
Member
 
Registered: Sep 2005
Location: India
Distribution: Slackware, Back|track, Fedora, ubuntu
Posts: 167

Rep: Reputation: 30
Sony DVD writer undetected on slack 10.2


Hi, i have a Sony DVD writer which is detected during startup, but how do i mount it, i mean do i have to change the /etc/fstab & /etc/mtab entries, is there a tool i should use to do this?

my dmesg shows:
Code:
hdc: DVD RW DRU-820A, ATAPI CD/DVD-ROM drive
hdd: SAMSUNG CD-ROM SC-152G, ATAPI CD/DVD-ROM drive
and my /etc/fstab is:

Code:
/dev/hda4        swap             swap        defaults         0   0
/dev/hda3        /                ext2        defaults         1   1
/dev/hda6        /fat-e           vfat        defaults         1   0
/dev/cdrom       /mnt/cdrom       auto        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
and /etc/mtab is:

Code:
/dev/hda3 / ext2 rw 0 0
proc /proc proc rw 0 0
/dev/hda6 /fat-e vfat rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
usbfs /proc/bus/usb usbfs rw 0 0
 
Old 10-31-2006, 11:27 AM   #2
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
I think you just have to add a line to fstab and create a mount point for it, such as /mnt/dvd.
 
Old 10-31-2006, 11:33 AM   #3
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
/mnt/dvd already exists so just add a line to fstab the same as the entry for your cdrom, except with /dev/dvd and /mnt/dvd.
 
Old 10-31-2006, 11:52 AM   #4
sharathg786
Member
 
Registered: Sep 2005
Location: India
Distribution: Slackware, Back|track, Fedora, ubuntu
Posts: 167

Original Poster
Rep: Reputation: 30
thanx for the reply,
i added this line in /etc/fstab:
Code:
/dev/dvd         /mnt/dvd         auto        noauto,owner,ro  0   0
but when i mount using:
# mount /mnt/dvd

i get this error:
Code:
mount: No medium found
and by the way, even though i couldn't mount the dvd, i am able to write dvd's from K3b
 
Old 10-31-2006, 01:19 PM   #5
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
Have you rebooted after changing fstab?
 
Old 10-31-2006, 11:00 PM   #6
sharathg786
Member
 
Registered: Sep 2005
Location: India
Distribution: Slackware, Back|track, Fedora, ubuntu
Posts: 167

Original Poster
Rep: Reputation: 30
Yes I have rebooted and by the way, the cd-ROM is connected as slave & DVD-writer as master to the secondary IDE channel.

Last edited by sharathg786; 10-31-2006 at 11:06 PM.
 
Old 10-31-2006, 11:46 PM   #7
sharathg786
Member
 
Registered: Sep 2005
Location: India
Distribution: Slackware, Back|track, Fedora, ubuntu
Posts: 167

Original Poster
Rep: Reputation: 30
Hey I did this and the problem was solved , however i wanted to know if it is a safe way to do it:

I changed my /etc/fstab which earlier looked like:

Code:
/dev/dvd         /mnt/dvd         auto        noauto,owner,ro  0   0
to this:
Code:
/dev/hdc         /mnt/dvd         auto        noauto,owner,ro  0   0
and now i'm able to mount the DVD.
 
Old 11-01-2006, 03:15 AM   #8
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
Assuming /dev/dvd and /mnt/dvd exist, it should have worked. Which kernel are you using? If it's 2.4, you need to put append="hdc=ide-scsi" in /etc/lilo.conf, and then re-run lilo. Using /dev/hdc should be fine though.
 
Old 11-01-2006, 07:07 AM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,729

Rep: Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919
/dev/dvd and /dev/cdrom are links to actual devices i.e. /dev/hdc. /dev/dvd might actually be linked to hdd not hdc. It doesn't matter what you use in the fstab i.e /dev/dvd or /dev/hdc as long as it is valid.
Check out
ls -l /dev/dvd
&
ls -l /dev/cdrom

BTW k3b does not use the fstab entry when burning.
 
Old 11-01-2006, 08:35 PM   #10
sharathg786
Member
 
Registered: Sep 2005
Location: India
Distribution: Slackware, Back|track, Fedora, ubuntu
Posts: 167

Original Poster
Rep: Reputation: 30
Yep, thanx for the suggestions, I'm using a 2.4 kernel & /dev/dvd is linked to /dev/hdd, will change it to /dev/hdc
 
Old 11-01-2006, 09:08 PM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,729

Rep: Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919
Quote:
Originally Posted by sharathg786
will change it to /dev/hdc
Not automatically.

rm /dev/dvd
ln -s /dev/hdc /dev/dvd
 
  


Reply



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
Sony dvd writer not working vivekjoshi SUSE / openSUSE 4 05-19-2006 03:04 PM
Video DVD undetected in DVD ROM drive Navyblue Linux - Hardware 0 02-06-2006 02:38 PM
Cannot find DVD writer or get CD-writer to spin audio disk dgwebb Linux - Hardware 5 03-28-2005 05:00 PM
XcdRoast + external DVD writer Sony DRU-700A on USB - write problem Ambrosia Linux - Hardware 2 09-01-2004 12:53 AM
Sony CD WRITER hudy Linux - Hardware 1 10-27-2003 11:24 PM

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

All times are GMT -5. The time now is 05:27 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