HOWTO: Automount NTFS partitions as read/write
This will show you how to automount your root Window's parition so that you can read and write to it.
Perform the following commands to create a mountpoint and open up fstab to edit
$ su # mkdir /mnt/Windows # nano -w /etc/fstab
Assuming That Windows is installed on the first Harddisc, and first Partition:
add the following to the bottom:
/dev/sda1 /mnt/Windows ntfs-3g defaults 0 0
/mnt/Windows is our new mountpoint (where you go to see the files after boot time). ntfs-3g is telling it is a ntfs parition and is needed to write to it. The rest just mounts it automatically and for all users to read and write to it.
If you have a mutliple user system and only want certain users to read/write to it, do the following:
# groupadd ntfs # usermod -a -G ntfs YOUR_USER_NAME or # gpasswd -a YOUR_USER_NAME ntfs
The output should look something like this:
Adding group `ntfs' (1002)... Done
That number is your gid an umask number to use.
and do this instead for fstab:
/dev/sda1 /mnt/Windows ntfs-3g auto,gid=1002,unmask=0002 0 0
You will need to change the gid and umask to equal that of whatever your ntfs usergroup is.
There you have it. Save and exit. Then reboot and you'll have read/write access to it from /mnt/Windows
There's no need to reboot!
Once /etc/fstab is modified, apply modifications, and exit your editor.
As root, type:
mount -a
(mount all the not mounted partitions in /etc/fstab)
Done.
--cvill64 21:28, 6 November 2006 (PST)--cvilll64