Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8050

Advanced users • Re: Failed to load initramfs shell in Bookworm OS Raspberry Pi 4

$
0
0
I think the issue was in the cmdline.txt file. I removed console=tty1 parameter and added break=premount option.
Then the initramfs shell is loaded.

I could also decrypt manually using luksOpen.

Then I updated the initramfs using

Code:

sudo update-initramfs -u 
Did a reboot expecting to get a passphrase prompt.
However, the initramfs shell is loaded again and I have to decrypt manually again.

Tried removing break=premount parameter in cmdline.txt but result is same.

Any idea why this is happening?
Sorry, no clue. I didn't have to deal with 'break=premount' either.

sdm-cryptconfig is existing code that works, and does exactly what you are trying to do. I'd suggest you either study it carefully to figure out where you've gone awry, or just use it and save yourself some headache.

Statistics: Posted by bls — Mon May 13, 2024 7:26 pm



Viewing all articles
Browse latest Browse all 8050

Trending Articles