LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-17-2007, 11:15 AM   #1
unobtanium
LQ Newbie
 
Registered: Nov 2007
Location: Harwich England
Distribution: Gentoo
Posts: 13

Rep: Reputation: 0
SATA DVD wont mount data CDs [SOLVED]


I have just installed a SATA DVD drive (firmware updated to latest).
My problem is that if I insert a blank DVD or CDROM it is mounted and I have full permissions on it - no problem. But, when I insert a CDROM that has been written to I get the following warning
Quote:
mount: mount point /media/DVD-W does not exist
My fstab is as follows
Code:
/dev/sda1		/boot		ext2		defaults,noatime	1 2
/dev/sda3		/		reiserfs	notail,noatime		0 1
/dev/sda2		none		swap		sw		0 0
/dev/sda4		/home		reiserfs	defaults,noatime	0 0
/dev/sr0		/media/DVD-W	auto		defaults,user	0 0
#/dev/fd0		/mnt/floppy	auto		noauto		0 0

shm			/dev/shm	tmpfs		nodev,nosuid,noexec	0 0
and my mtab reads
Code:
/dev/sda3 / reiserfs rw,noatime,notail 0 0
proc /proc proc rw,nosuid,nodev,noexec 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0
udev /dev tmpfs rw,nosuid 0 0
devpts /dev/pts devpts rw,nosuid,noexec 0 0
/dev/sda1 /boot ext2 rw,noatime 0 0
/dev/sda4 /home reiserfs rw,noatime 0 0
shm /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0
usbfs /proc/bus/usb usbfs rw,noexec,nosuid,devmode=0664,devgid=85 0 0
I don't understand what is wrong.
Any help/ pointers would be greatly appreciated.

Last edited by unobtanium; 11-18-2007 at 07:25 AM. Reason: Added Solved to title
 
Old 11-17-2007, 11:20 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
The message you're getting from mount is really quite self-explanatory. What don't you understand about it?
 
Old 11-17-2007, 11:31 AM   #3
unobtanium
LQ Newbie
 
Registered: Nov 2007
Location: Harwich England
Distribution: Gentoo
Posts: 13

Original Poster
Rep: Reputation: 0
Maybe I should re-phrase the question;
Why cant I mount a CDROM that has data on it?

I can mount both blank Cds and DVDs so why not one that has been written to.

Maybe I am just being dense here but I didn't have this problem with my IDE DVD writer.
 
Old 11-17-2007, 11:34 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You don't mount CDs that haven't been written to. You can't mount CDs because the mount point doesn't exist.
 
Old 11-17-2007, 11:42 AM   #5
unobtanium
LQ Newbie
 
Registered: Nov 2007
Location: Harwich England
Distribution: Gentoo
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks Nylex but the question still remains - why can't I access any data that has been written to a CD?
Maybe my terminology is wrong?

Last edited by unobtanium; 11-17-2007 at 11:45 AM.
 
Old 11-17-2007, 11:47 AM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
*Bangs head on table*. Because you haven't mounted the CD. You can't mount something to somewhere that doesn't exist!
 
Old 11-17-2007, 12:07 PM   #7
unobtanium
LQ Newbie
 
Registered: Nov 2007
Location: Harwich England
Distribution: Gentoo
Posts: 13

Original Poster
Rep: Reputation: 0
Nylex sorry about you head - I think its going to get sore.

1/ I insert a CD with data on it into the writer.
2/ The desktop icon tells me 'unmounted cd writer'
3/ So I left click on the icon and click 'mount'
4/ Then this warning appears 'mount: mount point /media/DVD-W does not exist'
5/ If I select the 'Open in New Window' option I still get 'mount: mount point /media/DVD-W does not exist'

Thanks for your patience
 
Old 11-17-2007, 12:12 PM   #8
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Read the error message! The mount point doesn't exist!! Either change your fstab entry or create it!
 
Old 11-17-2007, 12:23 PM   #9
unobtanium
LQ Newbie
 
Registered: Nov 2007
Location: Harwich England
Distribution: Gentoo
Posts: 13

Original Poster
Rep: Reputation: 0
I had already tried changing fstab to read
Code:
/dev/sda1		/boot		ext2		defaults,noatime	1 2
/dev/sda3		/		reiserfs	notail,noatime		0 1
/dev/sda2		none		swap		sw		0 0
/dev/sda4		/home		reiserfs	defaults,noatime	0 0
/dev/sr0		/media/cdrom	auto		defaults,user	0 0
#/dev/fd0		/mnt/floppy	auto		noauto		0 0


shm			/dev/shm	tmpfs		nodev,nosuid,noexec	0 0
Didn't make any difference, this is how it was prior to installing this drive, it all worked fine for the IDE cd/dvd writer but not for this one.

Last edited by unobtanium; 11-17-2007 at 12:29 PM. Reason: Edited footnote
 
Old 11-17-2007, 07:10 PM   #10
unobtanium
LQ Newbie
 
Registered: Nov 2007
Location: Harwich England
Distribution: Gentoo
Posts: 13

Original Poster
Rep: Reputation: 0
Just curious, am I missing a major point here (if so please don't try to be subtle) as I just don't know what to do.
If I need to change the fstab entry - what should I change it to?
Any direction would be appreciated.
 
Old 11-17-2007, 07:47 PM   #11
nLEyETn
LQ Newbie
 
Registered: Mar 2007
Posts: 28

Rep: Reputation: 15
If the mount point doesn't exist, then you just have to create it. The mount point is just a directory. So all you have to do is

Code:
$ mkdir /media/DVD-W
 
Old 11-17-2007, 11:16 PM   #12
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Normally /dev/sr is used on the side for writing to an CD or DVD disc. I think for SCSI CD/DVD drives the device node is /dev/scdX. The X designates the device number. I think it ranges from 0 (first drive) to 255 (256th drive). I recommend check your logs to make the CD/DVD drive is /dev/scd0 (just assuming). The log file is /var/log/messages. You can use dmesg to get a quick look, but it might be out of the buffer depending on the capacity that you gave it during configuring the kernel before compiling.

For any drive that you want to mount. You have to know if the directory exist before mounting the drive at that desire directory. If you try to mount a drive to a directory that does not exist, it will never mount and it will print an error. Linux is a directory and file structure, so you have to mount a drive at a directory in order to use it.
 
Old 11-18-2007, 07:23 AM   #13
unobtanium
LQ Newbie
 
Registered: Nov 2007
Location: Harwich England
Distribution: Gentoo
Posts: 13

Original Poster
Rep: Reputation: 0
Thank you very much for the answer and explanation - very simple in the end.
But I wouldn't have got there without help (well not this year anyway!)
By the way - it works just fine
Thanks again to all.
 
  


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
HAL wont mount dvd drive... r3b0rn Linux - Hardware 1 09-24-2007 02:59 PM
Why..? My cdrom wont mount when i put in a dvd that has wallpapers packages and other KidZero Slackware 12 08-22-2007 08:29 AM
Dell Dimension e521 SATA DVD drive wont install burrito_bill Slackware 1 12-28-2006 04:24 AM
sata HD wont mount manicman Linux - Newbie 4 02-26-2006 08:33 AM
Mandrake 10.1 wont mount Video DVD sos20 Mandriva 3 11-05-2004 01:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:32 PM.

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