1

I am on Ubuntu 24.04 LTS. I'm currently dual booting Windows 11 and Ubuntu, and I have many symlinks in Ubuntu that lead to things in my Windows partition. It's quite annoying to have to manually mount the partition every time I turn on my PC, so I started attempting to make it do it on boot.

I have tried editing /etc/fstab, using the GNOME Disks tool, adding a startup command, but none of it is working. They are all mounting the partition on startup, but it makes it more of a hassle than before, because the symlinks still do not function, and when I try to do anything with the partition in Nautilus, it makes me enter my password, saying "Authentication is required to (the action I'm doing) T-FORCE TM8FFW002T (/dev/nvme0n1p3) mounted by another user".

How do I make it mount on startup as my own user?

David DE
  • 2,316

1 Answers1

0

because the symlinks still do not function

This is likely because the methods you tried all mounted the partition on a different mountpoint than the mountpoint used by Nautilus when mounting the disk, which is the mountpoint your symlinks try to access (or the mountpoint is right but the filesystem has been mounted without allowing access to your user).

when I try to do anything with the partition in Nautilus, it makes me enter my password, saying "Authentication is required to (the action I'm doing) T-FORCE TM8FFW002T (/dev/nvme0n1p3) mounted by another user"

This sounds more like the mountpoint is right but the filesystem has been mounted without allowing access to your user.

First, do a cleanup of all the auto-mounting things you set in place.

Then unomunt the partition, and to simulate mounting from Nautilus, which will allow access to your user, use this udisksctl command:

udisksctl mount --block-device /dev/nvme0n1p3

If your symlinks start working, setup GNOME to run the command on startup (you seem to know how to do that already).

kos
  • 41,268