SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
And this is the message i get when i tri to mount a CDrom
mount /dev/cdrom
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
What does it mean?
P.S. I also have a DVD player. Why is not it in the fstab list?
post the out put here of these two commands
dmesg | grep CD (if it doesn't work try lowercase cd)
fdisk -l
show's what you REALLY have... /etc/fstab is not what you really have, more what you are going to use...
Since you are trying to mount the drive "manually" I guess your request refers to slackware but I think it should also be valid for RH distros.
According to your /etc/fstab devices /dev/fd0 and /dev/cdrom are mounted at boot with root permissions as indicated by "owner" option. As "owner" in this case is root you cannot mount/unmont them as normal user.
The simplest remedy is you change "owner" with "user" in order you can do such operations as normal user.
I'm a little confused by your question about "ide-scsi emulation"
Is your drive a CDRom or a CDwriter ? If it was a CDRom scsi emulation is not necessary at all and you can remove it from your /etc/lilo.conf file.
You can check what device is using scsi emulation by the command
cdrecord -scanbus (as root) that will return a list, if present, of devices using scsi emulation.
Also remenber to edit your /etc/group file including your logname into "disk" group in order you can use cdrom/dvd drive to listen music/play DVDs as well.
Slackware usually includes only one removable device per bus. You have to add additional devices manually to your /etc/fstab.
According to your /etc/fstab devices /dev/fd0 and /dev/cdrom are mounted at boot with root permissions as indicated by "owner" option. As "owner" in this case is root you cannot mount/unmont them as normal user.
The simplest remedy is you change "owner" with "user" in order you can do such operations as normal user.
normally you get a different message then..
Code:
mount: only root can do that
that;s why i'd like to see the out put of the kernel messages.. just to check what the cd drive is
I'm having the same problem as the original poster.
When trying to mount my cdrom drive I recieve the error:
wrong fs type, bad option, bad superblock on /dev/cdrom,
or too many mounted file systems
However, I know that my cdrom is linked to hdb so I'm using the command: mount -t iso9660 -r /dev/hdb /mnt/cdrom
My first inclination is that fstab has /mnt/cdrom already mounting /dev/cdrom but when I just try the mount command on its on, it doesn't show /dev/cdrom being mounted anywhere
I'm just taking a stab in the dark here, but you do have a cd in the drive when you are trying to mount it, right?
As a side note, if it's an audio cd, you don't have to mount it...it will work without mounting (and would give that message if you tried to)...you only need to mount data cds
Jeff
Last edited by CartersAdvocate; 01-24-2004 at 01:22 PM.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
mount will autodetect the filesystem and stuff, so you can just try
mount /dev/hdb /mnt/cdrom
make sure the directory /mnt/cdrom exists
is your cdrom being set up as ide-scsi?
if it is, you need to be mounting as /dev/scd0 probably instead, and
that wont work if you don't have the ide-scsi and sg modules loaded.
you can check with lsmod
cdrecord -scanbus will check for set up scsi drives and emulated drives.
I'm having the same problem as the original poster.
However, I know that my cdrom is linked to hdb so I'm using the command: mount -t iso9660 -r /dev/hdb /mnt/cdrom
Distribution: Fedora Core 1,RH AS 2.1, RH AS 3.0, Mandrake 9.0
Posts: 33
Rep:
Quote:
mount /dev/cdrom
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
Quote:
Originally posted by MrPotatoHead u mount the cdrom with this command
mount /mnt/cdrom
/dev/cdrom is only the rawdevices
MrP
sorry to mash yer taters, but you can mount a device by referencing either
its device or its mount point in fstab.
so, with the following entry
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
if fstab was set up correctly, and /dev/cdrom was symlinked correctly
mount /dev/cdrom
or
mount /mnt/cdrom
would work, as would a full specific mount command.
it probably work cos /dev/cdrom is not pointing to /dev/hdb
what does it say when you do this?
Code:
nes@nes [/home/nes> ls -la /dev/cdrom
should be something like
Code:
nes@nes [/home/nes> ls -la /dev/cdrom
lrwxrwxrwx 1 root root 3 Dec 30 15:54 /dev/cdrom -> hdb
nes@nes [/home/nes>
if(not)
as root;
Code:
root@nes [/home/nes> cd /dev/
root@nes [/dev> ln -s hdb cdrom
btw.. i advise you to change your cd to the second ide port (hdc/hdd)... cd roms slow down your hard disk on the same ide port... unless you're using scsi disks
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.