You are not logged in.

#1 2008-02-14 00:16:13

Shadowsurge
Member
Registered: 2007-11-13
Posts: 14

Problems mounting CD's/CDROM's

It seems like these might be two seperate problems however they seem to have occured at the exact same time so I might as well post them together assuming there is some connection.

ok so when I try
mount /mnt/cd/

I get this

mount: I could not determine the filesystem type, and none was specified

And when I try
mount /mnt/cdrom/

I get this

mount: wrong fs type, bad option, bad superblock on /dev/sr0,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

I've had this kind of problem before and usually its a simple fix on /etc/fstab however I didn't see anything jump out as "wrong" to me here

#
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0

/dev/cd /mnt/cd   auto   rw,user,noauto,unhide   0      0
/dev/cdrom /mnt/cdrom   iso9660   ro,user,noauto,unhide   0      0
/dev/dvd /mnt/dvd   udf   ro,user,noauto,unhide   0      0
/dev/sda1 / ext3 defaults 0 1
/dev/sda2 /home ext3 defaults 0 1
/dev/sdb1 /mnt/fl ntfs user,noauto 0 0
/dev/sdb2 /mnt/ipod vfat noauto,user,rw,utf8,defaults,umask=0000 0 0

Last edited by Shadowsurge (2008-02-14 00:16:55)

Offline

#2 2008-02-14 00:31:47

dabski
Member
Registered: 2008-02-07
Posts: 101
Website

Re: Problems mounting CD's/CDROM's

Not sure if this will help but have you tried specifying a location to mount the drive? Try something like this:

mount /dev/cdrom /mnt/cdrom

The way I understand it is that you need to specify the device first followed by the location that you want to mount it.
If that dose not work you might want to try using auto mounting instead of doing it manually.

Last edited by dabski (2008-02-14 00:38:19)

Offline

#3 2008-02-14 00:46:16

Shadowsurge
Member
Registered: 2007-11-13
Posts: 14

Re: Problems mounting CD's/CDROM's

Thought of that, doesn't work, it doesn't really matter anyway, I'm looking for a permanent solution

[nick@Komputron ~]$ mount /dev/cdrom /mnt/cdrom/
mount: only root can do that
[nick@Komputron ~]$ sudo mount /dev/cdrom /mnt/cdrom/
mount: you must specify the filesystem type

Offline

#4 2008-02-14 01:28:19

gorn
Member
Registered: 2008-02-01
Posts: 56

Re: Problems mounting CD's/CDROM's

Are you sure the CD is a valid one? First thing to try is a different CD.


A way to test if the cdrom drive is giving any data would be to do run

head /dev/cdrom | file -

That will grab a chunk of data from /dev/cdrom and try to determine the file type. If you see something saying ISO 9660 then the CDROM valid. If you see "data" then it is reading the CD successfully, though the filesystem is probably not iso 9660 and you will need to specify as it is asking you too. You can specify with:
mount -t vfat /dev/cdrom /mnt/cdrom
though even vfat /should/ be autodetected.

Offline

#5 2008-02-14 01:46:15

Shadowsurge
Member
Registered: 2007-11-13
Posts: 14

Re: Problems mounting CD's/CDROM's

[nick@Komputron ~]$ head /dev/cdrom | file -
/dev/stdin: ISO 9660 CD-ROM filesystem data 'NOV_25_2007                    '
[nick@Komputron ~]$ mount /mnt/cdrom/
[nick@Komputron ~]$ ls /mnt/cdrom/
Img0018  Img0019  Img0020  Img0021  Img0022
[nick@Komputron ~]$ umount /mnt/cdrom/

Ok so basically the issue with mounting cdroms was a simple problem and it seems to be working fine now after I found a simple error in fstab. However the problem still persists when mounting blank cds. Most likely theres an error in the /mnt/cd/ line of my fstab but I'm unable to see it. Anyone?

Offline

#6 2008-02-14 01:55:49

Shadowsurge
Member
Registered: 2007-11-13
Posts: 14

Re: Problems mounting CD's/CDROM's

I'm an idiot... I fixed it. Thread closed

Offline

#7 2008-03-08 04:04:09

scotti
Member
Registered: 2008-02-26
Posts: 41

Re: Problems mounting CD's/CDROM's

Shadowsurge wrote:

I'm an idiot... I fixed it. Thread closed

I'm having the same problem. What was your fix?

Offline

#8 2008-11-08 02:02:33

chochem
Member
From: Denmark
Registered: 2008-03-02
Posts: 176
Website

Re: Problems mounting CD's/CDROM's

scotti wrote:
Shadowsurge wrote:

I'm an idiot... I fixed it. Thread closed

I'm having the same problem. What was your fix?

just goes to show that he is what he says he is, closing a thread saying problem solved without posting the solution...

Offline

#9 2008-11-08 22:51:22

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Problems mounting CD's/CDROM's

Maybe the part

Ok so basically the issue with mounting cdroms was a simple problem and it seems to be working fine now after I found a simple error in fstab.

says it
Another thing ...

However the problem still persists when mounting blank cds

how on earth do you want to mount something that doesn't have a filesystem on it?


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#10 2008-11-09 11:37:23

von_Wanderlust
Member
Registered: 2008-11-03
Posts: 67

Re: Problems mounting CD's/CDROM's

scotti wrote:

I'm having the same problem. What was your fix?

One of the mount errors there was saying that the filesystem was not being specified, so try this

 sudo mount -t iso9660 /dev/cdrom /mnt/cdrom/

Also, look at pmount, which will let you mount as normal user and seems to work out the filesystem by itself.
This will mount the cdrom to directory /media/scotti (which it will create on the fly).

 pmount /dev/cdrom scotti

Offline

Board footer

Powered by FluxBB