Need help to auto mount a second drive encrypted with LUKS <SOLVED>

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
Evoka
Level 1
Level 1
Posts: 24
Joined: Fri Jul 10, 2015 10:10 am

Need help to auto mount a second drive encrypted with LUKS <SOLVED>

Post by Evoka » Tue Nov 20, 2018 9:43 pm

I have an ssd with mint 19 cinnamon, and a second hdd encrypted with LUKS. After login, on Nemo if I click on the drive, it will be mounted, since the password is already stored. I want this to happen every time after login. I have only my user folder encrypted. Thank you
Last edited by Evoka on Sat Nov 24, 2018 11:39 am, edited 1 time in total.

fabien85
Level 6
Level 6
Posts: 1407
Joined: Tue Mar 11, 2014 4:30 pm

Re: Need help to auto mount a second drive encrypted with LUKS

Post by fabien85 » Wed Nov 21, 2018 5:41 am

Hi,
here is a tutorial to automatically unlock a luks volume at boot :
https://www.howtoforge.com/automaticall ... -a-keyfile

side-note: this happens at boot, before you login. If you dont want it to happen before you login, you will have to tweak things. (I dont know how)

Evoka
Level 1
Level 1
Posts: 24
Joined: Fri Jul 10, 2015 10:10 am

Re: Need help to auto mount a second drive encrypted with LUKS

Post by Evoka » Wed Nov 21, 2018 6:00 pm

Thank you, I gave in and set it up to mount on boot. As a reference found this other instructions

https://blog.tinned-software.net/automo ... tem-start/

Post Reply

Return to “Installation & Boot”