LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 01-03-2009, 02:04 PM   #1
MaartenCh
LQ Newbie
 
Registered: Jan 2009
Distribution: Debian
Posts: 8

Rep: Reputation: 1
Post Fat32 and Red Hat Linux 8


Hey,

I'm new to linux and after some internet searching I found a lot of information on fstab entries for automounting a FAT32 partition in Linux.

My fstab configuration for this partition is now:

Code:
/dev/hda6		/mnt/win		vfat	rw,auto,async,  0 0
This configuration allows me to read and execute the files on my FAT32 partition but, doesn't allow writing to it.

Can someone give me the correct configuration-line so this partition will also become writeable.

Thanks,
Kind regards,

Maarten
 
Old 01-03-2009, 02:22 PM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Quote:
Originally Posted by MaartenCh View Post
Hey,

I'm new to linux and after some internet searching I found a lot of information on fstab entries for automounting a FAT32 partition in Linux.

My fstab configuration for this partition is now:

Code:
/dev/hda6		/mnt/win		vfat	rw,auto,async,  0 0
This configuration allows me to read and execute the files on my FAT32 partition but, doesn't allow writing to it.

Can someone give me the correct configuration-line so this partition will also become writeable.

Thanks,
Kind regards,

Maarten
I would advice you to first check if you have permission to write to /mnt/win. If you don't, you will need to chmod it:

http://www.manpagez.com/man/1/chmod/

If that still does not solve the problem, I think you need to add the userID and the groupID as well to fstab as well, but I could be wrong. Something like:

Code:
/dev/hda6 /mnt/win vfat rw,uid=1000,gid=1000 0 0
Although, I really recommend you to check for the permissions for that folder first

Good luck!

Last edited by Mega Man X; 01-03-2009 at 02:24 PM.
 
Old 01-03-2009, 02:34 PM   #3
MaartenCh
LQ Newbie
 
Registered: Jan 2009
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 1
Thanks, for the reply.

I tryed to set the permissions to 0777 using the chmod function. However I always recieve a message that the operation is not permitted. I excecuted chmod as root.
 
Old 01-03-2009, 02:35 PM   #4
tuxman
LQ Newbie
 
Registered: Jan 2009
Posts: 1

Rep: Reputation: 0
The partition is mounted as root. You will need to be logged in as root (su) in order to write to the mounted partition.
 
Old 01-03-2009, 02:45 PM   #5
MaartenCh
LQ Newbie
 
Registered: Jan 2009
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 1
That's correct as root I'm able to write to the partition. However I would like to be able to do this with all users.


Kind regards,

Maarten
 
Old 01-03-2009, 03:05 PM   #6
saagar
Member
 
Registered: Jul 2008
Location: Chennai, India
Distribution: RHEL5, Ubuntu
Posts: 191

Rep: Reputation: 37
Previously there has been a similar query in this forum, please search that. U may find the answer.

Last edited by saagar; 01-03-2009 at 03:13 PM.
 
Old 01-03-2009, 03:32 PM   #7
MaartenCh
LQ Newbie
 
Registered: Jan 2009
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 1
Hey,

Thanks to all the contributors above (and to the forum in general).

I found the missing piece for solving my problem in the post "red hat 7.3 + fat32" (

http://www.linuxquestions.org/questi...3-fat32-22141/)

Kind regards,

Maarten

Last edited by MaartenCh; 01-04-2009 at 07:58 AM.
 
Old 01-03-2009, 09:42 PM   #8
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Hey Maarten,

You do realise that Redhat 8 is extremely old, right? RH8 was released in 2002 (ie: 7 years ago).

Unless you have a specific reason to be running it, I would strongly recommend updating to a modern, supported distro.

--IAn
 
Old 01-04-2009, 07:53 AM   #9
MaartenCh
LQ Newbie
 
Registered: Jan 2009
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 1
Hey IBall,

In the risk of going way off topic.

I'm aware of the fact that RH 8 is old. However for my purposes (learning the basics) and hardware (little -128- RAM memory) it's sufficient (not great, but sufficient).

Kind regards,

Maarten

Last edited by MaartenCh; 01-04-2009 at 07:59 AM.
 
  


Reply

Tags
fat32, fstab


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
LXer: Red Hat to launch Red Hat Enterprise Linux 5 before March LXer Syndicated Linux News 0 12-30-2006 09:03 AM
Red Hat 9 and FAT32? Underworld Linux - Newbie 2 04-07-2004 09:46 PM
red hat 7.3 + fat32 aeshley Linux - Newbie 3 06-01-2002 05:42 AM
red hat 7.3 + fat32 aeshley Linux - General 4 05-30-2002 10:42 AM
Mounting a FAT32 Hard Drive in Red Hat 7.2 using KDE egh128 Linux - General 1 03-17-2002 10:49 PM


All times are GMT -5. The time now is 01:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration