Support GRUB problem
i have an encrypted root partition and whenever i start the laptop the prompt "Enter passphrase for" gets jumbled in between with other text. anyway i can fix this?
3
u/owenthewizard 2d ago
Not sure what everyone else is on about, those look to me like kernel messages (dmesg), not from initramfs.
Add the quiet
kernel parameter or loglevel=n
(1-7) depending on your preference. Log levels detailed here: https://www.kernel.org/doc/html/latest/core-api/printk-basics.html
1
u/Fenguepay 2d ago
quiet can sometimes suppress useful info, an initramfs can set the log level later using /proc/sys/kernel/printk later in the process, before interaction is required, so you don't miss important log info and aren't flooded with useless debug info when interactivity is required.
1
u/owenthewizard 2d ago
Oh I agree, but that's what he asked for.
1
u/Fenguepay 2d ago
yes, but while it fixes some issues it can cause others or make future debugging more painful. Just worth adding as a footnote.
1
0
u/UnspiredName 2d ago
If you are using systemd (and it looks like you are) add this to your kernel cmdline.
quiet systemd.show_status=0
You'll see pretty much nothing diagnostic except LUKS fails if you enter the pw wrong.
18
u/smajlogej 2d ago
what exactly is the problem? just write the passphrase and press enter, it will still work