LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-03-2006, 08:39 AM   #1
Maverick1182
Member
 
Registered: Aug 2004
Location: London
Distribution: Gentoo
Posts: 277

Rep: Reputation: 30
Creating and mounting FAT32 partition


I've tried to follow a lot of the recommendations (eg. using chmod 777, editing fstab, changing permisisions in KDE) in the threads on how to make a FAT32 system which can be editted by a normal user but i still keep getting errors. I'm going to create the partition again and start afresh. Could someone tell me step by step how i can create a FAT32 which i can then access as a normal user hassle free?

Thanks.
 
Old 07-03-2006, 09:07 AM   #2
xpromisex
Member
 
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447

Rep: Reputation: 30
To create the partition, I would use something like gParted / qtParted - but that's because I don't feel that I personally am good enough to use fdisk when I don't HAVE too.

To mount the partition add a line like this to your /etc/fstab:

/dev/hda5 /mnt/windows vfat users,iocharset=utf8,umask=000 0 0

I'm not sure if it is 'users' or 'user', but it really doesn't matter as it is getting mounted on boot and the user doesn't have to mount it manually. Also make sure that your windows partition is /dev/hda* or you will recieve errors. Same deal with the mount point - make sure that it exists.
 
Old 07-03-2006, 09:14 AM   #3
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
the umask=000 is probably the bit you were lacking before, it means that every file is set to 777 (umask works in reverse, subtracting from the permissions).
 
Old 07-03-2006, 09:24 AM   #4
pronoy
Member
 
Registered: Mar 2005
Location: india
Distribution: FC4, Debian Etch
Posts: 67

Rep: Reputation: Disabled
Assume that you want to create a partition in /dev/hda,
follow these steps and check if works:

1. fdisk /dev/hda and use the subsequent commands in fdisk, 'm' for help page
n => new partition
select primary and follow the instruction
p => print the partition table
l => to see the id for vfat, its 'b'
t=> to chage the id, and then enter 'b', the vfat id
w=> save the changes.

now make a vfat partions on the newly created /dev/hda1 partition
# mkfs.vfat /dev/hda1

hope it will help.
 
Old 07-03-2006, 09:39 AM   #5
kstan
Member
 
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
I mount my fat32 partition with edit the /etc/fstab,
/dev/hda1 /media/windows vfat defaults,uid=kstan,rw 0 0
Please have a try.
 
Old 07-04-2006, 05:28 PM   #6
Maverick1182
Member
 
Registered: Aug 2004
Location: London
Distribution: Gentoo
Posts: 277

Original Poster
Rep: Reputation: 30
kstan's line seems to have worked although azureus still complains on first trying to creat folders (which i can probably live with)

At least I can create folders and copy files which is the main issue!

thanks guys!
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
DISCUSSION: Creating shared FAT32 Partition mcd LinuxAnswers Discussion 23 01-07-2007 05:39 AM
Creating FAT32 partition and can only mount read only?? johnnybhoy67 Linux - Networking 3 10-20-2005 07:43 AM
Partition mounting/KDE errors after creating Fat32 Partition BertBert Linux - General 1 07-07-2004 10:59 AM
Creating FAT32 Partition glume Linux - Newbie 5 04-16-2004 01:37 AM
Creating a FAT32 partition (in Windows) and accessing it in RH 8 j_l_ajaste Linux - Newbie 3 07-09-2003 06:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:58 AM.

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