B
B
by_EL2021-11-30 17:20:39
linux
by_EL, 2021-11-30 17:20:39

Auto mount LUKS encrypted partition on boot?

Hello, I encrypted the LVM partition with LUKS, everything works fine, but the problem is that when I boot, this encrypted partition is automatically mounted using a password from a text file without additional configuration of luksAddKey,
almost all the methods have not been checked yet I would be grateful if you help

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
AlexVWill, 2021-11-30
@AlexVWill

I don't know if it will work or not, but try mounting LUKS once, specifying to save the password forever, and then set up automounting via fstab or using the Disks utility.

A
Andrey Barbolin, 2021-11-30
@dronmaxman

https://www.easycoding.org/2019/09/24/automatiches...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question