LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 10-01-2006, 03:07 AM   #1
rafieenezhad
LQ Newbie
 
Registered: Oct 2006
Posts: 8

Rep: Reputation: 0
Question mounting fat32 filesystem on redhat 9.0


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
 
Old 10-01-2006, 03:17 AM   #2
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
try to replace fat32 with vfat. also make sure you have the driver compiled as built-in or as a module in the kernel.
 
Old 10-01-2006, 07:28 AM   #3
rafieenezhad
LQ Newbie
 
Registered: Oct 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Hi konsolebox
I am not familiar with linux.
so how can I know that it's driver has compiled or not?
what is it's module?
thanks,
Rafieenezhad
 
Old 10-01-2006, 07:38 AM   #4
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
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.

I hope this helps
--Ian
 
Old 10-01-2006, 08:06 AM   #5
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
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.
 
Old 10-02-2006, 01:53 AM   #6
rafieenezhad
LQ Newbie
 
Registered: Oct 2006
Posts: 8

Original Poster
Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounted as Read-only filesystem (fat32) on fc4 robinp Fedora 4 04-21-2006 07:24 AM
Common filesystem other than fat32? TomalakBORG Linux - General 7 01-13-2006 12:59 PM
mounted fat32 filesystem becomes readonly after sometime, wierd? koodoo Linux - Newbie 6 11-23-2005 11:34 PM
Mounting Primary Fat32 in Redhat 9 transeunt Linux - Hardware 3 12-10-2003 01:37 PM
Wierd problem mounting fat32 partition on redhat 8 floppycolon Linux - Software 3 03-02-2003 12:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 11:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration