How can I auto-mount an internal SSD without entering my password?

September 16, 2026 4 answers
Asked by 5 jars of marmalade
I'm running Fedora 44 with KDE and use an internal SSD for games and other files. I configured it to mount automatically through KDE's settings, but I'm prompted for my password every time I boot. Is there a safe way to have this drive mount automatically without asking for a password?

Answers

52ms latency
You can also configure the driveโ€™s mount options with a disk-management utility such as GNOME Disks, even while using KDE. Select the partition, open its mount settings, and enable mounting at system startup. Be careful with the options, since an incorrect fstab or mount configuration can prevent the drive from mounting.
Reply to this answer
reusable stencil kit
KDEโ€™s password request is usually coming from the desktop authorization system rather than the filesystem itself. A polkit rule can allow a particular user or group to mount the drive without authentication, but that should be written carefully because it grants extra mounting privileges. For a fixed internal SSD, a system-level fstab setup is usually cleaner.
Reply to this answer
~!fair point actually
For a permanently installed internal drive, the usual solution is to add a proper entry for its filesystem to /etc/fstab and disable KDEโ€™s automount configuration. It can then be mounted during boot instead of through the desktopโ€™s interactive mounting service. Use the partitionโ€™s UUID and choose the correct filesystem type and mount options.
Reply to this answer
!bar12rest
First check whether the SSD is encrypted with LUKS. If it is, adding an fstab entry alone wonโ€™t remove the password promptโ€”youโ€™ll need to configure the encrypted device in /etc/crypttab as well, potentially using a TPM or another key-unlock method. If it isnโ€™t encrypted, fstab is generally all thatโ€™s needed.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions