Click to See Complete Forum and Search --> : read only FAT.. want to write


eXtremist
03-13-2001, 08:51 AM
How do I mount my windows partition in linux so that all users can read AND write to it?

mount point: /mnt/windows
partition number: hda1

can someone tell me what I have to do? It already mounts to that point, but it's read only.. I want it so that every user can read AND write.

yard21
03-13-2001, 09:43 AM
You'll have to edit your /etc/fstab. Seems your drive is set to read only there. Just replace "ro" with "rw", or, if "ro" doesnt exist, add "rw" to the definition of your hd. It should look like

/dev/hda1 /mnt/windows rw,users,noauto 1 1

or similar. If it doesn't look exactly the same, don't bother, the "rw" (read/write) is important)

nopun
03-13-2001, 09:58 AM
It is probably set up that way in /etc/fstab. You can override it by using "-o rw" in your mount command. (ie if you use "mount /dev/hda1", try "mount -o rw /dev/hda1"). The other issue to be aware of is the permissions on your /mnt/windows directory.

Edit: beamy beat me to it - just be aware of the risks if you decide to keep your windows partition permanently read-write (ie if you did something careless to trash your linux file systems, windows could be trashed also)

[ 13 March 2001: Message edited by: nopun ]

yard21
03-13-2001, 10:25 AM
Hmm... Never thought about it this way, nopun. I think you're right, this could cause much trouble. Not that I'm caring that much of windows :) , but it wouldn't be very cool if all my savegames would be deleted... I think I will edit my fstab now!