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/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
1
u/[deleted] Mar 23 '26
and if you manually update config with grub-mkconfig -o /boot/grub/grub.cfg ?
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?