Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Linux
  3. New SSD requires password to mount

New SSD requires password to mount

Scheduled Pinned Locked Moved Linux
linux
23 Posts 16 Posters 9 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P [email protected]

    I installed an additional SSD on my pc. Everything works ok, except I need to unlock it with my root password on every session so that it mounts.

    I've tried formatting it to change the 'owner', tried adding it to the user group, and I can't find any other solutions. Any ideas?

    This happens irrelevant of DE (happens on KDE and hyprland). I'm running tumbleweed, though this looks like a config problem rather than a distro problem.

    dr_jekell@lemmy.worldD This user is from outside of this forum
    dr_jekell@lemmy.worldD This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #21

    I have had the issue of having to enter a password to access an additional drive on my Manjaro PC.

    I was pointed to this as a possible solution and it worked for me.

    It may or may not work for you though.

    1 Reply Last reply
    0
    • P [email protected]

      I installed an additional SSD on my pc. Everything works ok, except I need to unlock it with my root password on every session so that it mounts.

      I've tried formatting it to change the 'owner', tried adding it to the user group, and I can't find any other solutions. Any ideas?

      This happens irrelevant of DE (happens on KDE and hyprland). I'm running tumbleweed, though this looks like a config problem rather than a distro problem.

      D This user is from outside of this forum
      D This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #22

      I know a lot of people are recommending fstsb entries, but since you're using a DE, you can have the credential stored in the wallet / session manager for your DE. KDE and Gnome should both have an automount option using keys from there. Then you also can find a preference somewhere to unlock your wallet / session keys thing on login. Bing bang boom you should have it mount and unlock automatically without having to enter any extra stuff with the added benefit of not leaving the key around (though since it seems you have FDE anyway that's a minor issue depending on your threat model)

      1 Reply Last reply
      0
      • C [email protected]

        Will that add two minutes to my boot time though?

        I This user is from outside of this forum
        I This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #23

        Nope it doesn't add anything for me. The _netdev option tells mount to wait until the network is connected before attempting to mount. And the nofail option tells it not to error or block the process that called it if the mount doesn't work or is delayed.

        Now if the mount contains your etc or other critical config files, it could cause problems and maybe you want to wait, so don't want the nofail. And of course this kind of thing is somewhat OS specific depending on what boot system is used, so YMMV, but on Fedora, Rocky, and Ubuntu, it has worked for me for many years.

        1 Reply Last reply
        0
        • System shared this topic on
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups