-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I just experimented some simplifications for Debian 12 based RPi OS #11
Comments
At least in Raspberry Pi OS lite "cryptsetup-initramfs" is missing now and needs to be installed. And KEYMAP=y needs to be set in /etc/initramfs-tools/initramfs.conf |
Hello @LeGuipo @whyme12 I am currently trying this on raspberry pi 4 (OS: Bookworm 32-bit; Release date: March 15th 2024). However, I cannot boot into intramfs shell as described in the manual. My
And
The boot is stuck at:
Do you know what is the issue here? Thanks in advance |
I don’t see the cause of your issue. It’s like no instruction to mount any partition does exist. Your fstab seems to be good. What about This is my May it be possible that plymouth is the culprit ? |
Hi @LeGuipo thanks for the update. I removed Did a reboot expecting to get a passphrase prompt. /etc/crypttab:
Any idea why this is happening? |
Since your crypttab seems fine, I don’t understand why your initramfs refuses to start to unlock sdcard automatically. I still suspect plymouth, because it’s clearly instructed to |
Yes, plymouth was the issue. I removed From my understanding, the encryption master key is encrypted again using a key derived from the passphrase. This is part of header and is essential to open the volume by recomputing the master key. Hence this is stored with the actual data itself (in filesystem). But is there any way to store the key that is used to encrypt the master key and also header file in a secure element or USB HSM device? Then while decrypting fetch the header file from secure element or USB HSM device. |
Hi all,
Almost two years ago, I followed the procedure to the letter (except the infamous "-keysize" parameter) to successfully encrypt my root partition for my Debian 11 based Raspberry Pi OS installation.
Now that I’ve gained more experience with Linux stuff, I decided to be a little more adventurous during my upgrade to Debian 12 based RPi OS. Note that I’ve selected the standard, not lite, not full, official Raspberry Pi image.
So in the hope to help to streamline the procedure, there are my observations :
sudo update-initramfs -u
. It will include all the needed binaries and modules, and create the images with the appropriate filenames and all other components conforming with the distribution’s configuration. Notably, each installed kernel version will keep a dedicated image, and for the comfort of non-qwerty keyboard users like me, the proper keymap will be set for use during initramfs operations and passphrase input during boot.auto_initramfs=1
sudo update-initramfs -u
.Voilà :)
The text was updated successfully, but these errors were encountered: