Posts linux mount ntfs partition via fstab
Post
Cancel

linux mount ntfs partition via fstab

  • Find your partition UUID details
1
$ sudo lsblk -f
  • Create directory to mount windows partition
1
$ sudo mkdir /mnt/windows_drive
  • Check your user uid and gid
1
2
3
$ cat /etc/passwd

# most commonly the uid and gid are 1000, else update as per your user id
  • Edit /etc/fstab and add below entry
1
$ sudo "UUID=ID_FROM_LSBLK /mnt/windows_drive ntfs rw,auto,user,fmask=133,dmask=022,uid=1000,gid=1000 0 0" >> /etc/fstab
This post is licensed under CC BY 4.0 by the author.