[SOLVED] Password Required To Mount New SSD?

I recently got a new internal SSD for storage of music, video, and file back-ups. The kernel update this morning required a reboot. I was greeted with this when mounting the new SSD…

f

Why would I need a password to mount the drive?

Check your fstab to see if the ssd is listed. Add it and it will be mounted at startup

I don’t recall ever needing to do that before. Rather unfamiliar with editing fstab.

This is what it looks like…

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=6D4C-1CBA                            /efi           vfat    fmask=0137,dmask=0027 0 2
UUID=5a3ee8c5-7069-405a-ab89-9521a14dc417 /              ext4    noatime    0 1
UUID=8f6ddf84-d3cb-4226-a7c9-3dd5c0967a85 swap           swap    defaults   0 0
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0

Either use Gnome disk utility or follow this method to add the drive to fstab:
https://discovery.endeavouros.com/storage-and-partitions/how-to-permanently-mount-external-internal-drives-in-linux/2022/02/

1 Like

I do have gnome-disk-utility installed. I was hopoing something as simple as Take Ownership was possible, but it’s grayed out. Not sure what to do with it…

I’ll have a look at the link you provided. Thanks.

Check this thread on how to use Gnome disk utility

Maybe so. But then your SSD cannot have been permanently mounted. Everything that is not listed in the fstab must be mounted manually

Check your UUID with blkid
open /etc/fstab with nano or vim

sudo nano /etc/fstab

Add the SSD similar to mine.

#NFS sdd1
UUID=1054c3d8-e9a8-4ef9-bafc-a61beb042571 /run/media/swh/NFS ext4 defaults 0 0

UUID = your UUID
ext4 = your formatted filesystem. I see the SSD is formatted with exfat so replace

It is important to have everything in one line.

Are you on Plasma? You can easily use KDEPartitionManager to format your SSD reading for everybody not just root.

With lsblk you can check then your mountpoints

  lsblk  
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda           8:0    0 931,5G  0 disk 
└─sda1        8:1    0 931,5G  0 part /srv/nfsv4/Share
                                      /run/media/swh/Mediathek
sdb           8:16   0 931,5G  0 disk /srv/nfsv4/Filme
                                      /run/media/swh/Stuff
sdc           8:32   0 223,6G  0 disk 
└─sdc1        8:33   0 223,6G  0 part /srv/nfsv4/Handbrake
                                      /run/media/swh/SSD
sdd           8:48   0   3,6T  0 disk 
└─sdd1        8:49   0   3,6T  0 part /srv/nfsv4/Mediathek
                                      /run/media/swh/NFS
nvme1n1     259:0    0 232,9G  0 disk 
├─nvme1n1p1 259:1    0   500M  0 part /efi
└─nvme1n1p2 259:2    0 232,4G  0 part /
nvme0n1     259:3    0 931,5G  0 disk 
└─nvme0n1p1 259:4    0 931,5G  0 part /home


1 Like

Well, I ended up reformatting to ext4. Since I don’t use Windows (haven’t in over a decade), this will work fine for me. Once formatted I opened Gnome Disks and the Take Ownership option was no longer grayed out. I clicked that, applied and it appears to be fine now. Logged out, and the SSD auto-mounted. Rebooted and the SSD auto-mounted. All seems well.

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.