Installed new ISO, still asking for password to mount storage partition

How to automount windows ntfs partition with linux compatible permissions, i.e. 755 for directories (dmask=022) and 644 for files (fmask=133):

Make a (permanent) mount point: e. g.

sudo mkdir -p /media/ntfs01

Get users UID and GID:

id -u youruser
id -g youruser

Get UUID of your ntfs drive/partition:

sudo blkid

Now edit your fstab:

sudo gedit /etc/fstab

add the following line; make sur to use your UUID, UID, GID and mount point

UUID=5678DE8222DE589E /media/ntfs01 ntfs-3g user,exec,windows_names,uid=1000,gid=1001,dmask=022,fmask=133,umask=0022 0 0

Now either restart or mount without restarting with

sudo mount -a


If your NTFS drive/partition contains Windows hibernation data the mount can sometimes fail. In this case you can remove this data with

sudo mount -t ntfs-3g -o remove_hiberfile /dev/sda1 /media/ntfs01

Be sure to use the correct partition (e. g. /dev/sda1) and your mount point.

3 Likes