Wednesday, September 24, 2008

Mount an NTFS Partition as read/write in Suse10+

By default SUSE Enterprise 10 with sp2 does not allow writing to an NTFS partition. However the automount may have detected and mounted the various partitions for you as ro (Read-only).

To start, we need to install an add-on which will allow for write capabilities. For this I use the built-in package manager Yast. In Yast search for NTFS-3g (or just ntfs and it will show it). Install the package and then onto editing fstab (which determines which drives to mount on bootup).

vim /etc/fstab

If the drive is already mounted then change the NTFS portion to say ntfs-3g.
If not, this is an example and may vary

/dev/sda1 /mnt/windows ntfs-3g defaults 0 0

Next you have a couple options, you can reboot or if that is not an option you can use the mount command.

If the drive is already mounted, use the umount command to unmount the drive, then remount the drive

mount -t ntfs-3g /dev/sda1 /mnt/windows

References:
http://www.ntfs-3g.org/

No comments: