PDA

View Full Version : Problems when mounting cdrom...



pau
11-21-2003, 05:29 PM
Hi,

I installed knoppix 3.3 14-11-03 on a laptop a couple of days ago and I have a problem when I try to mount the cd device for, say, listen a music cd... I have a /cdrom, /dvd and a /cdaudio directory but when I try to mount it...

mount /dev/cdrom
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
or too many mounted file syste

and the same for /dev/dvd and idem for mount /dvd ... Do you have any idea of why??

Here you are my /etc/fstab :

# filesystem mountpoint type options dump pass
/dev/hda6 / ext3 defaults,errors=remount-ro 0 1
/dev/hda5 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/dvd /dvd iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
# Added by KNOPPIX
/dev/hda1 /mnt/hda1 ext3 noauto,users,exe

thanks!

Pau

rudiz
11-21-2003, 08:50 PM
Try " kdf" in a rootshell.

pau
11-21-2003, 09:00 PM
Hi... thanks, but I get the same:

mount -tiso9660 /dev/cdaudio /cdaudio -o defaults,ro,user,noexec,noauto
mount: wrong fs type, bad option, bad superblock on /dev/cdaudio,
or too many mounted file system

My problem is that when I launch a cd player program it cannot read it and remains "blank"...

A file cd is not a problem... I can mount it and read everything...

thanks again

Stephen
11-21-2003, 09:22 PM
Hi... thanks, but I get the same:

mount -tiso9660 /dev/cdaudio /cdaudio -o defaults,ro,user,noexec,noauto
mount: wrong fs type, bad option, bad superblock on /dev/cdaudio,
or too many mounted file system

My problem is that when I launch a cd player program it cannot read it and remains "blank"...

A file cd is not a problem... I can mount it and read everything...

thanks again

Try XMMS and from the Main menu choose Play Location and enter /dev/cdrom and you should be able to listen to the disc. BTW you cannot mount an audio CD there is no "normal" file system on it.

stukennedyuk
11-21-2003, 10:09 PM
Do read/write permissions make a difference? (question).

Stu.....

pau
11-22-2003, 09:42 AM
nope... I tried everything and I am sure it's something trivial, but I can't figure out whaaaaaaaaaaaaat!? :evil: It's not such a big problem, of course... DVD is working, digital camera, printer... BUT I am not able to listen a music CD

Markus
11-22-2003, 05:09 PM
Are you as user part of the audio group.
If not:
su root
adduser yourlogin audio

rozen
11-23-2003, 12:31 AM
I had a similar problem and it turned out that /dev/cdrom a simlink to /dev/scd0 and I noticed from 'dmesg | less' that

hdd: attached ide-cdrom driver.
hdd: ATAPI 50X CD-ROM drive, 128kB Cache

so I change my /etc/fstab to:

#/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/hdd /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0

and I was able to mount and access a data cdrom.

pau
11-23-2003, 05:36 PM
Thanks to everybody!
Markus gave me a good advice, because when I tried to do an "adduser userlogin audio", it gave me a lot of problems, because the default user "knoppix" was still there screwing everything up because I had erased that user... so I just had to edit /etc/group and substitute everywhere the word "knoppix" with my "userlogin" and that's all... restart x and now I am listening a wonderful CD and I feel happy because everything works... it was a real good idea to forget completely about windows... even though my wife complained a bit at the beginning :wink: But now she's becoming an addict to the philosophy behind Linux TAG... don't forget that windows supported Bush with money...

cheers,

Pau