mount: wrong fs type, bad option, bad superblock...(cdrom,dvd and floppy)
Exact error : mount: wrong fs type, bad option, bad superblock on /dev/hdc, or too many mounted file systems
I tried everything, I removed supermount and tried a lot of stuff in my fstab file and there is always a new error coming up... 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 None of these worked and I googled for it and tried stuff but nothing works... If anyone can help me it would be greatly appreciated. :) |
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.
|
If your running mdk10, it now uses magicdev for automounting and won't let you mount your cd drives while it is running. Only way to stop it is:
# killall magicdev then you can mount cd drives. If this applies and you don't like magicdev, you can uninstall it otherwise it will be back next time you boot. |
Nope, I still get the same errors...
|
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...
|
We found out the problem, I had to remove umask and codepage.
|
unmask and codepage
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
ofcourse don't forget to run mount -a after editing the fstab :) |
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
here's my fstab.. and everytime i mount i get the error: [root@slackware ~]# mount /mnt/cdrom mount: wrong fs type, bad option, bad superblock on /dev/cdrom, or too many mounted file systems i also tried mount -t iso9660 but still doesnt work. im a noob.. im using slackware 9.1 with kernel2.6.7.. thanks in advance.. forgive my english. |
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: /dev/hda5 / reiserfs notail 1 1 none /dev/pts devpts mode=0620 0 0 /dev/cdrom /mnt/cdrom iso9660 ro,user,noauto 0 0 /dev/floppy /mnt/floppy vfat user,noauto, 0 0 /dev/hda1 /mnt/windows vfat user,noexec,umask=0 0 0 none /proc proc defaults 0 0 /dev/hda6 swap swap defaults 0 0 ANy help would be greatly appreciated. |
user =>
Hi, just remove iocharset and codepage and change "user" to "owner". It worked for me. Hope it will do the trick for u.
:newbie: |
It might also be beneficial to change the reference to the cdrom drive to point to the actual device.
eg, if your cdrom is actually at /dev/hdb use: /dev/hdb /mnt/cdrom iso9660 ro,user,noauto 0 0 instead of: /dev/cdrom /mnt/cdrom iso9660 ro,user,noauto 0 0 |
All times are GMT -5. The time now is 03:00 PM. |