Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3560

Beginners Questions • [Software] Creating a live USB with persistence.

$
0
0
at the current setup, Debian Bookworm live usb does appear to ignore the persistence boot option when the persistence partition is (luks-)encrypted.
Let me elaborate on this subject a little bit. There has been a bug in grub which requires the tpm module to be removed during boot (at least for some hardware):

Code:

rmmod tpm
Usually this workaround does not impose serious problems. However, in order to run encrypted persistent partition, we need the cryptodisk and luks modules:

Code:

insmod cryptodiskinsmod luks
Both grub modules depend on the tpm module to run. Thus, because of the current bug, the live usb/iso won't boot if the tmp module is not removed. Removing the tmp module as we have been doing for a while, grub boot would fail when we tried to load the cryptodisk and the luks modules. Without these modules, the encrypted persistent partition will be ignored. (If you keep the persistence kernel boot parameter, Debian will still create a persistence partition, but in RAM.)

Again, I am not interested in encrypting the persistence partition, but just post what I thought were the problems causing the encrypted persistent partition to be ignored. Hope our forum experts will have a better answer.

Statistics: Posted by pwzhangzz — 2024-07-16 17:26 — Replies 12 — Views 7574



Viewing all articles
Browse latest Browse all 3560

Trending Articles