LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Mounting CDROM ; Likely Fstab problem. (https://www.linuxquestions.org/questions/linux-hardware-18/mounting-cdrom-%3B-likely-fstab-problem-617140/)

Maybe-not 01-29-2008 09:17 AM

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.

Lenard 01-29-2008 10:05 AM

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)

Maybe-not 01-30-2008 04:24 AM

Quote:

Originally Posted by Lenard (Post 3038845)
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

BittaBrotha 01-30-2008 04:34 AM

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.

Lenard 01-30-2008 05:05 AM

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.

Maybe-not 01-30-2008 06:08 AM

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 (Post 3039763)
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?


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