LinuxQuestions.org
Review your favorite Linux distribution.
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 12-05-2003, 07:38 AM   #1
jaan kaer
Member
 
Registered: Nov 2003
Location: Estonia
Distribution: Debian testing
Posts: 69

Rep: Reputation: 15
how do i make fat32 partition readable?


well, can anyone show me how to make my fat32 partition writable?

i successfully managed to mount it on boot, but even root can only read it, not write or delete...

(fat partition is inside an extended partition, witch name i canīt remember now)
 
Old 12-05-2003, 07:41 AM   #2
marxist
LQ Newbie
 
Registered: Dec 2003
Posts: 26

Rep: Reputation: 15
I would suggest you installed Webmin to make changes as easy as can be
www.webmin.com
 
Old 12-05-2003, 08:54 AM   #3
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
Post your fstab file. It should have "rw" somewhere if you want it to be writable.
 
Old 12-05-2003, 10:57 AM   #4
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Put these options in the 4th field in the relevant /etc/fstab entry:

umask=000,defaults
 
Old 12-05-2003, 04:06 PM   #5
jaan kaer
Member
 
Registered: Nov 2003
Location: Estonia
Distribution: Debian testing
Posts: 69

Original Poster
Rep: Reputation: 15
thanks guys, here's my fstab:

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda4 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hda5 /mnt/soft vfat auto 0 0
 
Old 12-05-2003, 04:30 PM   #6
martina-cz
Member
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 40

Rep: Reputation: 15
Hi.

Edit /dev/hda5 /mnt/soft vfat auto 0 0 to this:

/dev/hda5 /mnt/soft vfat auto,umask=000,quiet 0 0
(this will allow root and other users to read, write and execute)
 
Old 12-05-2003, 11:48 PM   #7
tiger3
Member
 
Registered: Nov 2003
Location: Land of the Rising Sun!
Distribution: Fedors Core 3, Red Hat 9, Mandrake 8.1
Posts: 52

Rep: Reputation: 15
And if vfat does not work change where it says vfat to msdos on the same line.

/dev/hda5 /mnt/soft msdos auto 0 0

then run

mount -a

to remount all file systems.

Last edited by tiger3; 12-05-2003 at 11:50 PM.
 
Old 12-06-2003, 01:48 PM   #8
jaan kaer
Member
 
Registered: Nov 2003
Location: Estonia
Distribution: Debian testing
Posts: 69

Original Poster
Rep: Reputation: 15
it won't work for some reason: the only things that changed are file and directory names. they turned to 8-character dos-filenames. here is my current fstab:
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda4 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hda5 /mnt/soft msdos auto,umask=000,quiet 0 0
 
Old 12-06-2003, 02:16 PM   #9
martina-cz
Member
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 40

Rep: Reputation: 15
/dev/hda5 /mnt/soft msdos auto,umask=000,quiet 0 0

Did you try:
/dev/hda5 /mnt/soft vfat auto,umask=000,quiet 0 0

before you changed "vfat" to "msdos"?
 
Old 12-06-2003, 03:56 PM   #10
jaan kaer
Member
 
Registered: Nov 2003
Location: Estonia
Distribution: Debian testing
Posts: 69

Original Poster
Rep: Reputation: 15
yes, tried. if there was vfat, directory and filenames were'nt changed yet, but now they are.
 
Old 12-06-2003, 04:06 PM   #11
martina-cz
Member
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 40

Rep: Reputation: 15
Tiger3 said: <i>And if vfat does not work change where it says vfat to msdos on the same line.</i>

If vfat worked (you were able to read, delete and execute files), there is no reason for changing it to "msdos".

So, change it back to vfat
 
Old 12-06-2003, 07:01 PM   #12
tiger3
Member
 
Registered: Nov 2003
Location: Land of the Rising Sun!
Distribution: Fedors Core 3, Red Hat 9, Mandrake 8.1
Posts: 52

Rep: Reputation: 15
Quote:
So, change it back to vfat
I would have to agree that you should change it back to vfat. If you do not want the 8.3 msdos names. I use auto as the fs type to mount mine. I have to issue the command mount /mnt/WinLin but I can do it just like you do a floppy as a normal user.
Here is my etc/fstab (note the rw in the last line)

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdb5 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 oauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hdb1 /mnt/WinLin auto noauto,user,rw 0 0

Last edited by tiger3; 12-06-2003 at 07:29 PM.
 
Old 12-06-2003, 07:27 PM   #13
class_struggle
Member
 
Registered: Nov 2003
Location: where rock meets hard place
Distribution: 1- Knoppix 2-Gentoo
Posts: 121

Rep: Reputation: 15
Execute? Can you qualify that? Surely only a linux- executeable program, no? Doesn't seem quite right somehow. I'm happy enough reading and writing to VFAT. Executing on it (while in Linux) sounds like dodgy territory.
 
Old 12-08-2003, 03:25 PM   #14
jaan kaer
Member
 
Registered: Nov 2003
Location: Estonia
Distribution: Debian testing
Posts: 69

Original Poster
Rep: Reputation: 15
still no use
i have tried everything it seems.
but i think problem is that hda5 partition is INSIDE an extended partition, named hda2. (my hardware browser shows that)
how do i mount this one?

here is my fstab now:
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda4 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hda5 /mnt/soft auto noauto,user,rw 0 0
 
Old 08-01-2006, 11:36 AM   #15
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Quote:
Originally Posted by jaan kaer
/dev/hda5 /mnt/soft auto noauto,user,rw 0 0
That line hath crazy gone, surely?? Unless 'auto' means something I've never head of - which is quite possible. Try:

/dev/hda5 /mnt/soft vfat noauto,user,umask=000 0 0

You'll have to mount it yourself, because of the 'noauto'. You might put in noexec to stop it from executing Windows programs. Don't think that it's an extended partition makes any diferrence.
 
  


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
Partition linux for i can make a fat32 fs juggalostll7 Linux - Software 1 04-14-2005 01:06 AM
make a folder readable evensen Linux - Software 6 12-29-2004 07:37 AM
Any way to make a large FAT32 Partition? yzrider210 Linux - Newbie 9 12-06-2003 07:28 PM
how to make a fat32 partition on linux os pelgrim Linux - Newbie 4 03-17-2003 06:51 PM
Make an archive readable aizkorri Programming 4 03-07-2002 12:01 PM


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