LinuxQuestions.org
Help answer threads with 0 replies.
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 02-11-2005, 09:45 AM   #1
dominoid
LQ Newbie
 
Registered: Feb 2005
Location: Bristol
Distribution: Debian
Posts: 8

Rep: Reputation: 0
Unable to write to my FAT32 Partition


[short version] My FAT32 drive is read only to all users including root even though I'm fairly sure it's mounted as read/write for everyone correctly, what did I do wrong [/short version]

Hi, I just installed Fedora Core 3 as my entrance to the Linux world. I've been able to get most of the stuff I want working but I can't for some reason access my shared FAT32 partition. I have a 200 gig SATA hard Drive and It's split into the following partitions

/dev/sda1 * 1 131 1052226 6 FAT16
/dev/sda2 132 393 2104515 1b Hidden W95 FAT32
/dev/sda3 394 3004 20972857+ 17 Hidden HPFS/NTFS
/dev/sda4 3005 24321 171228802+ f W95 Ext'd (LBA)
/dev/sda5 3005 6268 26218048+ 83 Linux
/dev/sda6 6269 6399 1052226 82 Linux swap
/dev/sda7 6400 24321 143958433+ b W95 FAT32

The problem partition is SDA7. Linux is running on logical drives SDA5 and 6 in the extended SDA4 partition, windows 95 and XP are running on SDA2 & 3 and SDA1 is where Bootmagic lives so SDA1-3 haven't been mounted. I partitioned the Drive using Partition magic from Windows before I wiped and re-installed everything. I installed Fedora, then win 95, then Win XP then reinstalled Bootmagic into the boot partition(sda1) and I use that to decide what to boot to.

I have mounted the drive using the FSTAB entry:
/dev/sda7 /mnt/sda7 vfat user,owner,rw,umask=222 0 0
and I have also tried the same thing without owner in it, with umask-000 and with no umask line or owner but in each case permissions are set to read only for all users including root. If I try to log in as root and change permissions it tells me I cannot change the permissions as it is a read only drive. What can I do?

Is the problem because I created it with partition magic and not the Linux Fdisk or is there a problem with SATA? I'm assuming from the names it's being treated as SCSI

Sorry if I've waffled on for a relatively simple question here but I thought it best to give too much information than not enough.



Last edited by dominoid; 02-11-2005 at 09:48 AM.
 
Old 02-11-2005, 10:46 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL
Distribution: Funtoo
Posts: 6,926

Rep: Reputation: 128Reputation: 128
Welcome to LQ!

This seems to work fine for mine...
Code:
/dev/sdb1        /mnt/sdb1        vfat        user,umask=000,rw,auto    0   0
You can't change permissions on a vfat partition.

Last edited by Bruce Hill; 02-11-2005 at 10:47 AM.
 
Old 02-11-2005, 08:35 PM   #3
dominoid
LQ Newbie
 
Registered: Feb 2005
Location: Bristol
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks for that chinaman and thanks for the welcome. It still didn't work though.

Seeing as there was nothing on the drive I didn't have backed up on DVD anyway I thought I'd try re-formatting the drive while logged on as root just to see what would happen and lo and behold, after that it worked fine.I'm now able to read and write to it as any user. Not sure what the problem was, I have a feeling it's something to do with Partition Magic though. Possibly it formatted the drive as read only for some reason?

Last edited by dominoid; 02-11-2005 at 08:40 PM.
 
Old 02-11-2005, 10:17 PM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL
Distribution: Funtoo
Posts: 6,926

Rep: Reputation: 128Reputation: 128
Glad you got it working. I can't say if PM did something
or not, but it's best to use Linux tools for Linux, and
Windoze tools for Windoze.
 
Old 02-12-2005, 07:18 AM   #5
Haiyadragon
Member
 
Registered: Sep 2003
Location: Gorredijk, Netherlands
Distribution: Arch Linux
Posts: 400

Rep: Reputation: 30
And you'll also be fine using Linux tools for Windows. Just DON"T do it the other way around
 
  


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
fat32 partition, ordinary users read/write quietbyday Linux - General 1 08-02-2005 12:31 AM
Write to FAT32 Partition ok? ziphem Linux - Newbie 8 01-25-2005 07:39 PM
Unable to write to FAT32 USBdrive milir Linux - Newbie 2 10-01-2004 03:04 PM
boot problem after using mandrake 10 to write to FAT32 partition kintaroe Linux - Newbie 3 09-08-2004 03:25 AM
Can't write to second FAT32 partition stewe151 Linux - Hardware 13 07-22-2002 11:28 PM


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