Linux - KernelThis forum is for all discussion relating to the Linux kernel.
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.
Hi all
I want to mount my flash disk on my linux system (redhat 9.o).
I type in terminal:
mount -t fat32 /dev/sda1 /mnt/usb
but system errors:
fs type fat32 not supported by kernel.
I type: mount -t vfat /dev/sda1 /mnt/usb but errors:
wrong fs type, bad option, bad superblock on /dev/sda1 or too many mounted file systems.
I type: mount -t auto /dev/sda1 /mnt/usb but errors:
you must specify the filesystem type.
Hardware browser shows that flash disk device is sda1 and its filesystem is fat32.
can anyone help me to solve this problem.
Thanks in advance.
Rafieenezhad
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
If you are running Redhat 9, then I think the best fix would be to upgrade.
Redhat 9 ceased support in mid-2004, and is very outdated. I suggest that you upgrade to Fedora Core 5, or another modern distro such as Ubuntu 6.06 (Dapper Drake).
You will probably find that your USB problems will disappear, and you will get updated versions of all the programs. It should also look better, and be easier to use.
ok i'll try to simplify the steps. first try to load the module just make sure whether you have the driver compiled as built-in or as module.
Code:
modprobe vfat
lsmod | grep vfat
if you see 'lsmod' in the output, you have the driver as module. if not perhaps it's built-in.
now we should try to mount the filesystem
Code:
mount -t vfat /dev/sda1 /mnt/usb
if you still see errors, i suggest that either you download a new kernel version from kernel.org then read the howtos (google 'kernel howto') or as IBall said you better just upgrade to a new version of redhat.
Last edited by konsolebox; 10-01-2006 at 08:08 AM.
Hi konsolebox
Thanks for your help, I did what you said.
when I run:
modprobe vfat
lsmod | grep vfat
system output is:
vfat 13004 0 (unused)
fat 38808 0 (vfat)
but when I try to mount vfat filesystem system error is:
wrong fs type, bad option ...
rafieenezhad
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.