K
K
KerroViT2019-07-15 18:10:31
linux
KerroViT, 2019-07-15 18:10:31

Encrypted persistence partition in debian?

There is a LIVE USB with Debian 10.
You need to make an encrypted persistence partition so that you can save data on reboot.
Actually, I created the partition and encrypted it according to this manual. I specify the following
kernel parameters:

live persistent=cryptsetup persistence-encryption=luks persistence

But when the OS boots up, 2 Warning messages are displayed:
Warning: Unable to load module dm-crypt
Warning: cryptsetup is unavailable

And accordingly, no password prompt appears and the system boots further without this section
. How to solve this problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Aleksandrov, 2019-07-15
@jamakasi666

Because the dm-crypt module is not in the initrd image, or the scripts are again in it.
Here, rather, the question is different, why immediately mount the volume in liveuzb at the boot stage, this is necessary if you are encrypting the root.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question