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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-24-2004, 04:49 AM
|
#1
|
LQ Newbie
Registered: Feb 2004
Posts: 3
Rep:
|
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.
|
|
|
08-17-2005, 05:12 AM
|
#2
|
Member
Registered: Mar 2005
Location: Wales, UK
Distribution: Gentoo, Debian, Ubuntu
Posts: 60
Rep:
|
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
|
|
|
08-22-2005, 03:55 AM
|
#3
|
Member
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388
Rep:
|
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
|
|
|
08-22-2005, 04:05 AM
|
#4
|
Senior Member
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Rep:
|
in order to have read-write access from linux add 'umask=000' to the fstab parameters.
|
|
|
06-15-2006, 01:13 PM
|
#5
|
Member
Registered: Jun 2006
Posts: 39
Rep:
|
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?
|
|
|
06-15-2006, 01:21 PM
|
#6
|
Member
Registered: Mar 2005
Location: Wales, UK
Distribution: Gentoo, Debian, Ubuntu
Posts: 60
Rep:
|
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
|
|
|
06-15-2006, 04:21 PM
|
#7
|
Senior Member
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Rep:
|
make that 'defaults,umask=000' if you want to have full read write access.
Is that enough detail?
|
|
|
06-15-2006, 05:03 PM
|
#8
|
LQ Guru
Registered: Jan 2002
Posts: 6,042
Rep: 
|
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!
|
|
|
All times are GMT -5. The time now is 07:26 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|