LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-25-2003, 02:09 AM   #1
dibyendra
LQ Newbie
 
Registered: Jul 2003
Location: Nepal
Posts: 11

Rep: Reputation: 0
Unhappy Mounting the fat32 partition


I have Red hat linux 9 installed. in the previos version I use to mount the fat32 partition by linuxconf command .
But in this version linux reports this command as bad.
when I try to manually mount the other fat32 partition ,Linux gives error of non-entry partition.
what should I have to do to mount the fat32 partition (suppose hd6)?
Thanks in advcance
Dibyendra
 
Old 07-25-2003, 02:57 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
linuxconf is very very bad, be glad it's not there.

what command are you trying to use, what errors are you getting.... we need some useful information to help you.
 
Old 07-25-2003, 03:43 AM   #3
dibyendra
LQ Newbie
 
Registered: Jul 2003
Location: Nepal
Posts: 11

Original Poster
Rep: Reputation: 0
Hello acid_kewpie ,
the command I tried was as follows
mount /mnt/hda6
but it gave the error that there's no entry in /etc/fstab file.
There are no entry of fat32 partition in fstab.only linux ex3 partition ,floopy,cdrom are present .
what should I do?
Please advice
Thanking you
Dibyendra
 
Old 07-25-2003, 07:46 AM   #4
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi dibyendra

Just as a matter of interest - have you created a mount point yet?

Suppose your mount point in Red Hat was

/mnt/dib

You would create this mount point with

SU
Root paaword


mkdir /mnt/dib


then - to actually mount a FAT32 partition to this mount poit do:


mount -t vfat -0 rw /dev/hda6 /mnt/dib
 
Old 07-26-2003, 06:10 PM   #5
dibyendra
LQ Newbie
 
Registered: Jul 2003
Location: Nepal
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks

Thank you skyline for the help
It really worked!!
Thanks you again
Great linuxquestions.org !!!!
Dibyendra

Last edited by dibyendra; 07-26-2003 at 06:14 PM.
 
Old 07-26-2003, 09:16 PM   #6
mowtown75
LQ Newbie
 
Registered: Jul 2003
Posts: 10

Rep: Reputation: 0
For auto mount on boot up:

in Run type

gedit /etc/fstab

then add a line to the end of it:

/dev/hda6 /mnt/dib vfat auto,umask=0 0 0


based on the above "hda6" and "dib" as relevant

The drive will mount automatically each time you boot


Cheers

Tim
 
Old 07-26-2003, 11:38 PM   #7
chrismiceli
Member
 
Registered: Aug 2002
Posts: 349

Rep: Reputation: 31
i always wondered what is the numbers at the end of the /etc/fstab? and the unmask?
 
Old 07-26-2003, 11:47 PM   #8
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi chrismisceli

The 5th field indicates whether the filesystem should be backed up.

The 6th Field indicates whether the filesystem should be checked.

Umask - this can set the permissions for Users to read , write and execute in the respective partition depending on the respective umask value.

If I remember correctly - with a vfat partition a

umask = 000

will give All users the ability to Read and Write to/from the respective partition.

Last edited by Skyline; 07-27-2003 at 01:32 AM.
 
Old 07-27-2003, 01:42 AM   #9
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
Why would you want to mount a FAT32 partition in Linux?
 
Old 07-27-2003, 01:53 AM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Filesharing across platforms. Security (a few obscure ways). Don't know how to format filesystem. Have a lot of files that would take too long to back up to change filesystems.

Lots of reasons.

Cool
 
Old 07-27-2003, 02:00 AM   #11
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Amongst other things - it saves you having to re-boot every time you want to move files between Linux and Windows.
 
Old 07-27-2003, 02:06 AM   #12
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
Ohhhh. so if i wanted to look at a windows file from linux i wouldnt have to reboot into windows? i could mount the FAT32 from linux and look at say a text file or something?
 
Old 07-27-2003, 02:08 AM   #13
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Yep.

Cool
 
Old 07-27-2003, 02:10 AM   #14
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
You could even listen to a MP3
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting a FAT32 partition Progmaker Linux - General 2 08-15-2005 11:02 AM
mounting FAT32 partition bobbens Linux - Newbie 2 09-16-2004 01:43 PM
Partition mounting/KDE errors after creating Fat32 Partition BertBert Linux - General 1 07-07-2004 10:59 AM
Mounting FAT32 partition mrstirs Linux - Software 4 04-21-2004 05:05 PM
Mounting a Fat32 Partition Qebex Linux - Newbie 9 09-10-2002 05:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:29 PM.

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