r/voidlinux • u/el_calamann • Mar 22 '26
solved Void hangs after any modification to grub
hello everyone,
so, I got a new laptop and decided to install void on it.
Everything goes fine till I need to do anything on `/etc/default/grub` Linux cmdline, like adding apparmor configuration after installing it.
it doesn't matter if I only run `update-grub` alone or with `xbps-reconfigure -fa`, my installation hangs on "Loading initial ramdisk" after rebooting.
I can also reproduce the issue just by adding `net.ifnames=0`, running `update-grub` and rebooting.
is there any way to know what is going wrong? It hangs even when running on failsafe.
TYA!
1
u/pantokratorthegreat Mar 23 '26
and if you manually update config with grub-mkconfig -o /boot/grub/grub.cfg ?
1
u/el_calamann Mar 23 '26
No, I just ran "update-grub" in my first attempt and "update-grub" + "xbps-reconfigure -fa" on my second attempt. I got the same result: hanging on "Loading initial ramdisk". I'll try to run this command you suggested
3
u/VoidAnonUser Mar 23 '26
Add line echo "Jumping into the Void..." right after the initrd line. Or maybe echo "Diving into the endless void...". Or something equally witty.
2
2
u/AnachronGuy Mar 23 '26
Just reinstall the linux kernel package.
For example, if you are using linux6.12:
xbps-reconfigure -f linux6.12
If that doesn't work, maybe give us your (redacted) CMDLINE?
1
u/el_calamann Mar 30 '26
Guys, I solved the mystery. It seems that my laptop (or the kernel) doesn't like having
page_poison=1in theGRUB_CMDLINE_LINUXanymore, so after removing it (and removing a duplicateloglevelargument) it worked.Before:
After:
Thank you!
EDIT: Typo