LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Mounting the fat32 partition (https://www.linuxquestions.org/questions/linux-general-1/mounting-the-fat32-partition-75740/)

dibyendra 07-25-2003 02:09 AM

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

acid_kewpie 07-25-2003 02:57 AM

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.

dibyendra 07-25-2003 03:43 AM

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

Skyline 07-25-2003 07:46 AM

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

dibyendra 07-26-2003 06:10 PM

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

mowtown75 07-26-2003 09:16 PM

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

chrismiceli 07-26-2003 11:38 PM

i always wondered what is the numbers at the end of the /etc/fstab? and the unmask?

Skyline 07-26-2003 11:47 PM

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.

BajaNick 07-27-2003 01:42 AM

Why would you want to mount a FAT32 partition in Linux?

MasterC 07-27-2003 01:53 AM

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

Skyline 07-27-2003 02:00 AM

Amongst other things - it saves you having to re-boot every time you want to move files between Linux and Windows.

BajaNick 07-27-2003 02:06 AM

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?

MasterC 07-27-2003 02:08 AM

Yep.

Cool

Skyline 07-27-2003 02:10 AM

You could even listen to a MP3


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