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

0
0
Asked By VelvetOrchid27 On

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?

4 Answers

Answered By QuietHarbor42 On

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.

Answered By CopperMango8 On

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.

Answered By SilverCactus61 On

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.

Answered By MossyPixel19 On

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.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.