Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Redhat / Fedora Linux Help
Reload this Page FAT32 Access in RedHat 9.0
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Redhat / Fedora Linux Help Help and discussion related to Redhat and Fedora Linux.

Reply
 
Thread Tools Display Modes
Old 10-18-2004   #1 (permalink)
Just Joined!
 
Join Date: Oct 2004
Location: Bangalore
Posts: 9
Send a message via MSN to deepoint Send a message via Yahoo to deepoint
FAT32 Access in RedHat 9.0

Hello from a Newbie,

I have a dual-boot system as follows:

5GB: Windows NTFS system partition
20GB: Windows FAT32 data partition
5GB: Linux root and swap partitions

I want to share the 20GB data with Linux but I am have trouble mounting the partition. I get an error saying:

"Error: File system not supported"

How do I go about setting it up?

Thanks for any help.
deepoint is offline   Reply With Quote
Old 10-18-2004   #2 (permalink)
Linux Newbie
 
Join Date: Oct 2004
Location: Manchester, England
Posts: 165
Send a message via MSN to FyberOptyx
i would imagine your kernel having support for FAT32, do a google search for fstab and this should help you
FyberOptyx is offline   Reply With Quote
Old 10-18-2004   #3 (permalink)
Just Joined!
 
Join Date: Oct 2004
Posts: 37
"Error: File system not supported"

Kernel does not have support for the filesystem type you are trying to mount.
When you goto mount are you using vfat?

mount -t vfat /dev/hd?? /mnt/local/directory
or try this
mount -t auto /dev/hd?? /mnt/local/directory
making sure that /dev/hd?? is your fat32 drive/partition.
to find out run
fdisk -l

if you still get
"Error: File system not supported"
Then you probably don't have support for vfat. You will either need to get a module for it or at the worst recompile your kernel.
theGrim is offline   Reply With Quote
Old 10-19-2004   #4 (permalink)
Just Joined!
 
Join Date: Oct 2004
Location: Bangalore
Posts: 9
Send a message via MSN to deepoint Send a message via Yahoo to deepoint
Thanks

Thanks for the info Grim.

"mount -t vfat /dev/hda5 mnt/data"

where,

hda5=my FAT32 partition
data=the mount location

This works fine and I managed to access the data on an ad-hoc basis.

Previously I added a new line to the fstab....

"/dev/hda5 /mnt/data vfat users,owner,ro,umask=000 0 0"

to ensure that it was always mounted when I login. But that doesn't seem to work. Do you know how to add a line so that I wouldn't have to type it each time to access my FAT32?

Also, is it damaging not to unmount it before shutting down Linux. If so, could you also tell me if there is anyway that the system will do it automatically.

I run RedHat 9.0 dual-boot with Windows XP.

I am absolutely new to Linux but totally fascinated by it. Thanks again for your help.
deepoint is offline   Reply With Quote
Old 10-19-2004   #5 (permalink)
Linux User
 
Join Date: Oct 2004
Location: /dev/random
Posts: 404
Quote:
"/dev/hda5 /mnt/data vfat users,owner,ro,umask=000 0 0"

to ensure that it was always mounted when I login. But that doesn't seem to work. Do you know how to add a line so that I wouldn't have to type it each time to access my FAT32?
To make it automount, add auto to the options list.
__________________
The Unforgiven
Registered Linux User #358564
the_unforgiven is offline   Reply With Quote
Old 10-19-2004   #6 (permalink)
Just Joined!
 
Join Date: Oct 2004
Posts: 37
setting it to "auto" does not make it automount it.
That only tells it to auto select what file system to use e.g. VFAT EXT3 MSDOS NTFS etc.
by putting it in fstab will cause it to be auto mounted.

Looks good to me. not sure why its not auto mounting on bootup.
Maybe try moving the entry up a few in /etc/fstab??

as for not umounting it before shutting it down.
As long as you tell linux to shutdown and it goes through the shutdown sequence then your fine. Thats one of the things it does when shutting down it unmounting all mounted file systems. If it didn't do this you would have problems with the linux partitions.
So your fine doing that.

You may want to take a look at this thread.
http://www.linuxquestions.org/questi...threadid=99577
theGrim is offline   Reply With Quote
Old 10-20-2004   #7 (permalink)
Linux User
 
Join Date: Oct 2004
Location: /dev/random
Posts: 404
Quote:
Originally Posted by theGrim
setting it to "auto" does not make it automount it.
That only tells it to auto select what file system to use e.g. VFAT EXT3 MSDOS NTFS etc.
by putting it in fstab will cause it to be auto mounted.
That is when you add auto to the FS part, not options.
Please read the manual page of mount carefully.

auto in options in fstab makes it mountable with -a option (mount all), which happens in one of the init scripts anyway.

What I asked him to do is to add auto in the options part and not as FS.
__________________
The Unforgiven
Registered Linux User #358564
the_unforgiven is offline   Reply With Quote
Old 10-20-2004   #8 (permalink)
Just Joined!
 
Join Date: Oct 2004
Posts: 37
Quote:
Originally Posted by the_unforgiven
That is when you add auto to the FS part, not options.
Please read the manual page of mount carefully.

auto in options in fstab makes it mountable with -a option (mount all), which happens in one of the init scripts anyway.

What I asked him to do is to add auto in the options part and not as FS.
Yes . Sorry about that I realize you can add that to options. I saw the auto and was thinking FS type. didn't sink in you had mentioned options.
Another option to try.
theGrim is offline   Reply With Quote
Old 10-25-2004   #9 (permalink)
Just Joined!
 
Join Date: Oct 2004
Posts: 1
Weill, I'm new to this forum as well as linux, so first off hello everyone. But back to why I'm here. I am trying to mount a FAT32 partition but to do so i need to know what it's called. So as suggested above I tried to run fdisk, but....."bash: fdisk: command not found" was all I got. Everyone I've asked said that is unusual because fdisk should be installed by default. I tried googling "missing linux fdisk", "missing fdisk" etc. and came up empty handed. Anyone have any suggestions on what i should do? Thanx in advance. Running RH 9

thanx sether
newbeginnings is offline   Reply With Quote
Old 10-25-2004   #10 (permalink)
Linux Engineer
 
Join Date: Aug 2004
Posts: 826
Quote:
Originally Posted by newbeginnings
Weill, I'm new to this forum as well as linux, so first off hello everyone. But back to why I'm here. I am trying to mount a FAT32 partition but to do so i need to know what it's called. So as suggested above I tried to run fdisk, but....."bash: fdisk: command not found" was all I got. Everyone I've asked said that is unusual because fdisk should be installed by default. I tried googling "missing linux fdisk", "missing fdisk" etc. and came up empty handed. Anyone have any suggestions on what i should do? Thanx in advance. Running RH 9
you need to be root. either logout and login as root, or type su while logged in as regular user and enter the root password. then you should be able to do fdisk.
sether is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 12:30 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0