Mount NTFS partition permenantly on Ubuntu Linux









  • Note: You can install 'ntfs-config' and then run ApplicaitonsSystem ToolsNTFS Configuration Tool to set up fstab automatically.
  • Note: Type in italic indicate you must change to your specifics.
  1. Make the desired mountpoints for the partitions (if they don't exist). Change mount1 to your desired mountpoint name:
    • sudo mkdir /media/mount1
  2. Make yourself the owner of the mountpoints if desired. This will make you the owner of the mountpoint/folder in /media, although for NTFS partitions the file permissions are set at mounting and cannot be changed:
    • sudo chown username:usergroup /media/mount1
  3. Make a backup of fstab and open for editing:
    • sudo cp /etc/fstab /etc/fstab.bak
    • gksudo gedit /etc/fstab
  4. Add these lines, where sdXX is the partition you want mounted at boot (change to your specific device). The 'uid' will set ownership to the user whose id is 1000 (normally the first user of the system). The umask sets permissions of 755 - rwx for owner, rx for group and others. If this is a removable drive I would highly recommend mounting with either a UUID or label. To get the UUID, run “sudo blkid”. If you want to use the device designation, substitute the first entry with /dev/sdXX :
    • # /dev/sdXX
    • UUID=XXX /media/mount1 ntfs defaults,umask=022,uid=1000,gid=1000 0 0



No comments:

Post a Comment