Access windows partition without entering the password every day?

Hi,
I have a dual boot HP Laptop with Leap 16 running and I would like to access a windows data partition from Linux.

After installation with the openSUSE install tool, the windows partition is mounted at

/run/media/<username>/<windows_data_name>

I can access the data there but I am prompted for username and password after each restart of openSUSE. These are my normal Linux user’s credentials (I guess it has some superuser rights in Leap 16). How can I prevent to enter the credentials after each reboot?

The entry in /etc/mtab reads:

/dev/nvme0n1p3 /run/media/<username>/<windos_data_name> fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0

Thanks for any help!

Why not making an entry in /etc/fstab?

1 Like

Thanks for the reply!

And how exactly should the entry look like? All the other entries in fstab start with

/dev/mapper/cr_root

and have file system type btrfs, xfs or vfat, none of which seems to be the current windows format.

Something like
/dev/nvme0n1p3 /mnt/windows_data ntfs3 uid=<username>,gid=users,umask=022 0 0
or preferably by UUID
UUID=<uuid> /mnt/windows_data ntfs3 uid=<username>,gid=users,umask=022 0 0

Do make sure that the mountpoint directory exists first though…
sudo mkdir -p /mnt/windows_data

And of course /mnt/windows_data is an example (though not a bad one). You can choose your own mount point (but please not inside /run or /var).