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

Testing And Unstable • Re: How can I figure out why I'm being dropped to a initramfs shell?

$
0
0
There might be a file named /run/initramfs/rdsosreport.txt that reports more than dmesg.
Unfortunately there isn't such a file when I try to boot normally. Attached is a snapshot of when I let the system drop me to initramfs. I cd to /run/initramfs and the folder is empty.

But when I try the 'exit' command I get:

Code:

Gave up waiting for root file system device. Common problems:- Boot args (cat /proc/cmdline)   - Check rootdelay= (did the system wait long enough?)- Missing modules (cat /proc/modules: ls /dev)ALERT! /dev/mapper/luks-b98sunc-h8wof-9num4dbers does not exist. Dropping to a shell!
The UUID is the proper one for my encrypted volume with my root partition, so apparently when the system tries to boot normally it isn't waiting long enough to decrypt the system. These seem to be the most relevant lines in my /etc/default/grub:

Code:

GRUB_DEFAULT=savedGRUB_SAVEDEFAULT=trueGRUB_TIMEOUT=15GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Debian} ) 2>/dev/null || echo Debian`GRUB_CMDLINE_LINUX_DEFAULT="quiet loglevel=0 cryptdevice=UUID=c3e91c5d-78fb-449d-bab8-59704720fcdf:luks-c3e91c5d-78fb-449d-bab8-59704720fcdf root=/dev/mapper/luks-c3e91c5d-78fb-449d-bab8-59704720fcdf splash"GRUB_CMDLINE_LINUX=""
I'm guessing that GRUB_CMDLINE_LINUX_DEFAULT= may be the problem, it was probably created by the Calamares installer. The equivalent line on my new Trixie alpha installer encrypted install /etc/default/grub is shorter and sweeter:

Code:

GRUB_CMDLINE_LINUX_DEFAULT="quiet"
The problem with using the SpiralLinux luks encrypted install is not just that it seems to have more weird issues upgrading than my kept-up-to-date 10+ year old straight Debian installs, but that decrypting the luks partition is really cockamamie. I type in my decryption key and then I have to wait about 30 seconds for it to actually decrypt. And if I fat-finger my long decryption key it goes on for maybe another 30 seconds before dropping me in a grub shell, no second chances, I just have to reboot and try again. It drives me crazy.

@pbear, do you know if the Bookworm live ISO exhibits the same annoying behavior on a full disk luks-encrypted install?
screen.jpg

Statistics: Posted by Praxis — 2025-01-26 00:35



Viewing all articles
Browse latest Browse all 2901

Trending Articles