mount: wrong fs type, bad option, bad superblock...(cdrom,dvd and floppy)
MandrivaThis Forum is for the discussion of Mandriva (Mandrake) 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.
This most likely means that there is a syntax error in the fstab file. The most obvious error to me is a missing comma in between codepage=850 and ro. Apart from that try trimming the number of options (for example iocharset defaults to iso8859-1). Also try setting the filesystem type. For the floppy drive vfat is probably best and for the CD-ROM/DVD-ROM drives iso9660 is probably the best bet. This replaces the auto in the third column.
I still get : "mount: wrong fs type, bad option, bad superblock on /dev/hdc, or too many mounted file systems" for the cdroms and : "mount: /dev/fd0 is not a valid block device" for the floppy.
It is interesting that it says /dev/fd0 is invalid. Can you copy a disk image to the floppy (e.g. with "dd if=disk.img of=/dev/fd0"). If this fails then it would seem that there is a problem with your device files rather than the fstab file for the floppy drive and possibly for the cdrom/dvd-rom drives as well.
I don't know I most likely think it's a fstab error cause before I compile a new 2.6.6 kernel it was working fine with all defaults options but I tried putting them back in and they don't work at all... I can't access the floppy at all even though when I try to mount it or mount cd-roms you see lights flashing...
Please explain what you mean by removing "unmask and codepage" for all us n00bs. I have been getting the exact same problem. I thought it had to do with supermount. So I got a patch for it, and it still doesn't work. Please help me out here. Thanks.
Here is my old /etc/fstab file :
fstab :/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,ro,exec 0 0
/dev/hdd /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-1,codepage=850ro 0 0
/dev/fd0 /mnt/floppy auto umask=0,user,iocharset=iso8859-1,sync,codepage=850 0 0
Here is my new one :
/dev/hdc /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro,exec 0 0
/dev/hdd /mnt/cdrom2 udf,iso9660 noauto,owner,kudzu,ro,exec 0 0
/dev/fd0 /mnt/floppy vfat noauto,owner,ro,exec 0 0
I removed some useless stuff and modified other but I think only removing codepage=850 and umask=0 should do the trick. Oh and don't forget to put the auto to udf,iso9660.
i had the same problem with both the download edition and the Powerpack 10.0, but i think after editing the fstab as mentioned above you should be fine
just for the record
I have the exact same problem here, with the same error msg, only removing codepage and umask doesn't work. I use mandrake9.2 and kernel 2.6.7. Here's my fstab:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.