"Mount: wrong file system type, bad option, bad superblock"
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
"Mount: wrong file system type, bad option, bad superblock"
So I'm trying to mount two different cds and get the data from them, and I keep encountering this error:
Code:
$ sudo mount -t iso9660 /dev/scd0 /mnt/cdrom
mount: block device /dev/scd0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/scd0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Does anyone have any ideas as to what this could be?
Yeah, well the first part about read only is fine because ur dealing with a cd. However, on the 2nd error the file system iso9660 isn't the right one. I had that problem also.
Does anybody know if there's a command that you can run that checks the media and returns its filesystem type?
The other major component to the packet writing process is support of the UDF (Universal Disk Format) filesystem. UDF provides a filesystem capable of understanding large amounts of storage space (such as that found on DVDs), and is far more optimal for use with packet writing than the ISO9660 format used with traditional Track-at-Once and Disc-at-Once methods. UDF support for Linux is under development by the Linux UDF project.
Personally I've never cared for packet writing.. I guess that stems from back in the days when packet written CD's wouldn't work in a lot of CDROM drives due to lack of hardware support.
Did you consider allowing Mount to auto-detect the filesystem ?
$ sudo mount -t udf /dev/scd0 /mnt/cdrom
mount: block device /dev/scd0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/scd0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or s
I didn't see anything in the man page about the auto-guessing idea. How should I go about that?
excerpt 'man mount';
If no -t option is given, or if the auto type is specified,
mount will try to guess the desired type. If mount was compiled
with the blkid library, the guessing is done by this library.
Otherwise, mount guesses itself by probing the superblock; if
that does not turn up anything that looks familiar, mount will
try to read the file /etc/filesystems, or, if that does not
exist, /proc/filesystems. All of the filesystem types listed
there will be tried, except for those that are labeled "nodev"
(e.g., devpts, proc and nfs). If /etc/filesystems ends in a
line with a single * only, mount will read /proc/filesystems
afterwards.
Last edited by onebuck; 09-03-2008 at 03:12 PM.
Reason: correct my ommission of the -t switch
I think you need the -t if you wish to use the auto type.
I could be mistaken since I usually don't bother with all that extra typing
Code:
mount -t auto /dev/scd0 /mnt/cdrom
What type of CD is this anyway ?
is it a CD-R that you created, or someone else gave you ?
is it an audio CD ?
is it an enhanced CD (Audio and Data) you purchased somewhere like BestBuy ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.