LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-24-2004, 04:49 AM   #1
marjan
LQ Newbie
 
Registered: Feb 2004
Posts: 3

Rep: Reputation: 0
fat32 partiton


I have dual boot, NT4 & red hat. each in own partition. I made a new FAT32 partition, that can be visibly from both OS.
Now is not visibly from linux, only from NT.
How can I mount this partition in linux?
M.
 
Old 08-17-2005, 05:12 AM   #2
birdseye
Member
 
Registered: Mar 2005
Location: Wales, UK
Distribution: Gentoo, Debian, Ubuntu
Posts: 60

Rep: Reputation: 15
In linux, use cfdisk /dev/hd[a-z] to determine which partition is.

To mount it, type, as root:

[CODE]
mount -t vfat /dev/hd[a-z][1-9] /mount/vfat/
{/CODE]

or use whatever mount point you have.

Hope that helps,

Rhys
 
Old 08-22-2005, 03:55 AM   #3
basileus
Member
 
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388

Rep: Reputation: 30
And if you don't want to mount the vfat partition manually after every boot then add an entry to /etc/fstab.

Check manpages for mount and fstab:

man mount
man 5 fstab
 
Old 08-22-2005, 04:05 AM   #4
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
in order to have read-write access from linux add 'umask=000' to the fstab parameters.
 
Old 06-15-2006, 01:13 PM   #5
Rollotamasi
Member
 
Registered: Jun 2006
Posts: 39

Rep: Reputation: 15
Quote:
Originally Posted by linmix
in order to have read-write access from linux add 'umask=000' to the fstab parameters.
Im sorry, I am VERY new to linux. Could someone that knows what they are doing take the strings the three people posted and combine them into 1 single command line for me?
 
Old 06-15-2006, 01:21 PM   #6
birdseye
Member
 
Registered: Mar 2005
Location: Wales, UK
Distribution: Gentoo, Debian, Ubuntu
Posts: 60

Rep: Reputation: 15
To mount a fat 32 device, read my prior post.

To do this automatically each time Linux boots, you must add it to /etc/fstab. This should be similar to
Code:
/dev/hda1    /mount/whatever    vfat    defaults   0  0
Type man fstab or google for fstab to get a more in-depth discussion of this.

Rhys
 
Old 06-15-2006, 04:21 PM   #7
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
make that 'defaults,umask=000' if you want to have full read write access.

Is that enough detail?
 
Old 06-15-2006, 05:03 PM   #8
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Quote:
Originally Posted by Rollotamasi
Im sorry, I am VERY new to linux. Could someone that knows what they are doing take the strings the three people posted and combine them into 1 single command line for me?
Assuming /dev/hda8 is your FAT32 partition and you have made a directory named /mnt/storage.

mount -t vfat -o rw,umask=000 /dev/hda8 /mnt/storage

Th option -o rw and umask just make sure either one will give you write access. If you are using PAM, you may have to chmod the directory /mnt/storage after you have mount it. The option -t vfat uses the vfat module to be used for mounting a FAT32 partition.

The similar syntax as above can be used in /etc/fstab, so Linux can automaticlly mount it. The syntax just need to be change slightly.

/dev/hda8 /mnt/storage vfat rw,umask=000 0 0

I recommend to not include FAT32 partitions when using the dump command for backups, so that is why I specify 0. Also I recommend not running fsck on FAT32 because it is not reliable when there are cross-link clusters and other problems that Microsoft's utility finds which unfortunately does a better job when scanning and fixing.

BTW, RTFM!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to format to FAT32, and how to mount my FAT32 partition. bonniehandi Linux - Newbie 16 03-05-2006 07:54 PM
fat32 partiton cant see it einstien Linux - Hardware 2 07-07-2005 02:40 PM
copy from a fat32 partiton vwal_13 Slackware 4 04-14-2004 07:41 AM
2 fat32 partitions on fbsd5/w2k dual. Can only access one fat32 so far.. mipia *BSD 1 10-06-2003 02:10 AM
Creating an ext2 partiton from an old fat32 kabads Linux - General 7 10-09-2002 06:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:26 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