Friday, July 15, 2011

How to Mount Windows Partitions (FAT/NTFS) on Ubuntu Linux ?


NOTE:

i used in the following examples my own device names such as "/dev/sda3" and "/dev/sda4", But you should use your own values. To know your device names or IDs : open the terminal and type this command:
 sudo blkid 
Also i used the mount point as "/media/c" and "/media/d", But you can change them to any path you like.

STEP1: Open your Terminal and edit the "fstab" file:

sudo gedit /etc/fstab

STEP2: Add this line at the end of the file:

For a "FAT" partition:
/dev/sda3 /media/c vfat defaults,user,exec,uid=1000,gid=100,umask=000 0 0
For a "NTFS" partition:
/dev/sda4 /media/d  ntfs-3g defaults,locale=en_US.utf8 0 0

STEP3: Finally save/exit the fstab file and restart your PC

For more info consider visiting the Ubuntu Documentation
Blessings.