LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 01-29-2008, 10:17 AM   #1
Maybe-not
LQ Newbie
 
Registered: Jan 2008
Distribution: Ubuntu, 7.04
Posts: 15

Rep: Reputation: 0
Mounting CDROM ; Likely Fstab problem.


Hello. I've been having problems detecting the contents of my cdrom drive, and even though i am able able to see it contents using the mount command, then cd, the disk doesn't show up in my disk diskmounter, one that has always worked flawlessly. I am also unable to write to the DVD, and since it's a DVD:RW I should be able to. And rather needs to, soon. :/


Here are the contents of my fstab:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hda1
UUID=d98c2cdd-2c8d-46e9-89c3-35edd1f9fd96 / ext3 defaults,errors=remount-ro 0 1
# /dev/hda5
UUID=d25a62a1-4542-4ab9-87a9-8aed147c82c5 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0

I'm still working on learning LINUX administration, so I'm not sure enough what those things mean to mess with it. Though i do suspect the "noauto" and "iso9660" parts of the /dec/hdc line. Yes, i have used google, and google.com/linux. None of the solutions presented - some in this forum- worked.

I'm sorry if i posed inadequate information, i realize people almost always leave out vital information. I tried not to.


EDIT:

New development. Empty DVD's show up in the diskmounter. Was able to burn to a DVD-R. Not able to mount the DVD after burning. Burned an ISO file to the DVD, with "create from image" option.

Last edited by Maybe-not; 01-29-2008 at 10:58 AM.
 
Old 01-29-2008, 11:05 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Try changing the fstab entry to something like;
Code:
/dev/cdrom              /media/cdrom0       auto    noauto,users,ro 0 0
Please verify first; ls -al /dev/cdrom and ls -al /dev/dvd
(both should point you to hdc hopefully)
 
Old 01-30-2008, 05:24 AM   #3
Maybe-not
LQ Newbie
 
Registered: Jan 2008
Distribution: Ubuntu, 7.04
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Lenard View Post
Try changing the fstab entry to something like;
Code:
/dev/cdrom              /media/cdrom0       auto    noauto,users,ro 0 0
Please verify first; ls -al /dev/cdrom and ls -al /dev/dvd
(both should point you to hdc hopefully)
Fstab now reads:
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/hda1
UUID=d98c2cdd-2c8d-46e9-89c3-35edd1f9fd96 /               ext3    defaults,errors=remount-ro 0       1
# /dev/hda5
UUID=d25a62a1-4542-4ab9-87a9-8aed147c82c5 none            swap    sw              0       0
/dev/cdrom              /media/cdrom0       auto    noauto,users,ro 0 0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
Output on; ls -al /dev/cdrom:
lrwxrwxrwx 1 root root 3 2008-01-30 08:40 /dev/cdrom -> hdc
Outpu on; ls -al /dev/dvd:
lrwxrwxrwx 1 root root 3 2008-01-30 08:40 /dev/dvd -> hdc


Command "mount /dev/cdrom" makes the terminal stall forever.

EDIT:

After stalling for 5 more minutes, i get this output:
mount: I could not determine the filesystem type, and none was specified

Last edited by Maybe-not; 01-30-2008 at 05:26 AM.
 
Old 01-30-2008, 05:34 AM   #4
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
Quote:
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
I'm not certain but try making udf & iso9660 separate lines along with the /media/cdrom & /media/cdrom0.

I'm at work and can't look at my fstab at the moment.

Thnx.
 
Old 01-30-2008, 06:05 AM   #5
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Hmmm.......... what does the /etc/filesystems file contain, something like:

$ cat /etc/filesystems
ext3
ext2
nodev proc
nodev devpts
iso9660
cdfs
vfat
hfs
hfsplus

This sounds like maybe a bad (or weak) read laser (for DVD) on the unit to me, different lasers are used for reading/writing and CD/DVD any one (or more) of the four can go bad/weak at any time.

Quick tests, attempt mounting CD and DVD media production(vendor supplied store purchased) and burned media. If the production media all mounts fine CD and DVD wise while burned DVD media does not then it is time to replace the drive.
 
Old 01-30-2008, 07:08 AM   #6
Maybe-not
LQ Newbie
 
Registered: Jan 2008
Distribution: Ubuntu, 7.04
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
I'm not certain but try making udf & iso9660 separate lines along with the /media/cdrom & /media/cdrom0.

I'm at work and can't look at my fstab at the moment.

Thnx.
That specific line isn't in my fstab anymore, i changed it for
/dev/cdrom /media/cdrom0 auto noauto,users,ro 0 0
Should i recreate it?
And when assigning iso9660 and udf seperate lines, what mountpoints, type, and options should i use?

Quote:
Originally Posted by Lenard View Post
Hmmm.......... what does the /etc/filesystems file contain, something like:

$ cat /etc/filesystems
ext3
ext2
nodev proc
nodev devpts
iso9660
cdfs
vfat
hfs
hfsplus

This sounds like maybe a bad (or weak) read laser (for DVD) on the unit to me, different lasers are used for reading/writing and CD/DVD any one (or more) of the four can go bad/weak at any time.

Quick tests, attempt mounting CD and DVD media production(vendor supplied store purchased) and burned media. If the production media all mounts fine CD and DVD wise while burned DVD media does not then it is time to replace the drive.
cat: /etc/filesystems: No such file or directory

Hmm. Production media (in this case my UBUNTU CDROM works fine, but my burned doesn't.. Anyway to check for sure if it's the drive?
 
  


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
CDROM mounting problem => /dev/cdrom is not a valid block device Vizy Linux - Hardware 8 11-04-2010 05:46 PM
Fstab - problem with mounting vladoportos Debian 3 05-09-2006 09:28 AM
Problem with mounting and fstab. N00bDeb Debian 7 11-17-2004 06:58 PM
mounting cdrom and fstab mikz Slackware - Installation 7 09-05-2004 01:07 PM
Mounting / fstab problem pibby Linux - Newbie 6 12-31-2003 11:09 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration