LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-02-2005, 10:05 PM   #1
Great_Mizuti
LQ Newbie
 
Registered: Mar 2005
Posts: 21

Rep: Reputation: 15
not writing to FAT32


Hey, recently I have kinda rearranged my hard drive with some paritions. I am using Linux to do some Computer Science homework for college. I have a windows partition (NTFS), a linux partition (ext2) to keep all of my system stuff on (I'm using Knoppix 3.7), and another partition to trade files between the 2 partitions (FAT32, and rightly named Purgatory :-P). For some reason, windows can write to Purgatory, but linux cannot. What's the deal with that? By the way, I'm pretty much a complete newbie when it comes to linux.
 
Old 04-02-2005, 11:05 PM   #2
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
Can you see "purgatory" from your file managers in Linux???
 
Old 04-02-2005, 11:16 PM   #3
volvogga
Member
 
Registered: Aug 2004
Location: MI, USA
Distribution: Fedora Core 3
Posts: 137

Rep: Reputation: 15
Linux is all about permissions.
This can be handy, or it can be a real pain, especially on a single user system.

I'm going to assume that you are mounting the partition 'Pugatory' (nice) from the boot up in your fstab. Let me ask, can you write to the vfat partition as root? If so, then this is a permission problem simmilar to the one I grappled with. A print-out of your fstab would be nice to look in greater depth at your problem.

If your looking to start trying stuff, this is the line to mount my vfat partition from my fstab:

/dev/hdb3 /DATA vfat users,owner,rw,umask=000 0 0

The /dev/hdb3 means primary slave hard drive, partiton number 3. The /DATA is my mount point. vfat is the filesystem. The rest (with the exception of the last 0-space-0) are the permissions to give all users read/write access.

Hope this helps ya out.
 
Old 04-02-2005, 11:51 PM   #4
Great_Mizuti
LQ Newbie
 
Registered: Mar 2005
Posts: 21

Original Poster
Rep: Reputation: 15
Well.... umm... Let's start out with some answers. Yes I can see the hda3 (purgatory, glad ya caught on ) partition in the file manager, and I can look around in it. When I start Knoppix, all I do at the boot command is

boot: knoppix home=/dev/sda1

This is because I messed around with my flash drive being my persistent home directory before I decided to partition my hard drive (I now want, and have, my home to be on hda2, the ext2 partition). I just noticed that I can't write to my ext2 partition either . That does not seem right at all. Thanks for the help... I'm really new at this stuff.

Edit:
Well, I've kinda figured some stuff out. I now have my ext2 partition as my home, and I can write to it now. I've also tried some other things. I can write to the partition with root. If I mount using the desktop (presumably the normal terminal as opposed to root), I cannot write to the partition.

Also, here is my original fstab:

/proc /proc proc defaults 0 0
/sys /sys sysfs noauto 0 0
/dev/pts /dev/pts devpts mode=0622 0 0
/dev/fd0 /mnt/auto/floppy auto user,noauto,exec,umask=000 0 0
/dev/cdrom /mnt/auto/cdrom auto user,noauto,exec,ro 0 0
/dev/cdrom1 /mnt/auto/cdrom1 auto users,noauto,exec,ro 0 0
# Added by KNOPPIX
/dev/hda1 /mnt/hda1 ntfs noauto,users,exec,ro,umask=000,uid=knoppix,gid=knoppix 0 0
# Added by KNOPPIX
/dev/hda2 /mnt/hda2 ext2 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda5 /mnt/hda5 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppix 0 0

Last edited by Great_Mizuti; 04-03-2005 at 01:28 AM.
 
Old 04-03-2005, 04:39 PM   #5
volvogga
Member
 
Registered: Aug 2004
Location: MI, USA
Distribution: Fedora Core 3
Posts: 137

Rep: Reputation: 15
Sorry but you lost me.

What exactly can and can't you write to now?

Do you still use /dev/sda1 (this is a flash drive, right?) and is that command still required for you to boot?

Also please post your new fstab.

Sorry about answering a question with more questions.
 
Old 04-03-2005, 05:06 PM   #6
Great_Mizuti
LQ Newbie
 
Registered: Mar 2005
Posts: 21

Original Poster
Rep: Reputation: 15
Yeah, sorry bout the confusion. I have my peristent home set on hda2 (ext2 partition). Modified fstab (where I took your advice): I can write to FAT32 partition with root, but not with the graphical file manager (i.e. desktop / windows, and I'm assuming KDE, but since I'm a linux newbie... I'm not completely sure what that means). I do not use my flash drive anymore. My new fstab, as I said before, is exactly the same, but instead of :
/dev/hda5 /mnt/hda5 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppix 0 0

I have:

/dev/hda5 /mnt/hda5 vfat users,owner,rw,umask=000 0 0

Hope this clears some stuff up.
 
Old 04-03-2005, 05:46 PM   #7
volvogga
Member
 
Registered: Aug 2004
Location: MI, USA
Distribution: Fedora Core 3
Posts: 137

Rep: Reputation: 15
So I am correct in thinking that you can still write to it in Windows (Microsoft) and in Linux as root, regardless of wether you are in a terminal, virtual desktop (think thats what its called, it is like a full screen terminal), or the GUI (your KDE desktop window manager), and that your only problem is when you are logged in as a user, right?

OK, I'd have bet good money that the fstab umask option would have cleared your problems right up. This will require a little research. In the meantime, check the permissions on the /mnt/hda5 subdirectory. This is done by the command 'ls -l /mnt/' (at least I think that will work) and read the right most column of the corresponding line for hda5. This could be the problem.
 
  


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
Issues writing to Fat32 partition Samba Suse 10 usaf_sp SUSE / openSUSE 7 10-29-2005 02:17 PM
Writing to FAT32 endfx Linux - General 5 08-14-2005 10:02 AM
aMule and writing to FAT32 linmix Linux - Software 2 03-06-2005 12:09 PM
Writing to FAT32 Partition Xios Linux - Hardware 8 02-12-2005 12:21 PM
Writing to FAT32 and reading from NTFS in FC2 dysfunction Linux - Hardware 5 11-04-2004 03:26 PM

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

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