I really hate grub2
. Now they hide the menu entries in a separate directory. This really makes it difficult when testing kernels and adding tweaks to the command line. It now doesn’t seem to find my test kernel and I have no idea how to make it do so. 😠
OK, finally fixed it with:
grubby --add-kernel=/boot/vmlinuz-test --initrd=/boot/initramfs-test.img --title 'Test Kernel'
But now I have to figure out how to have ktest read this shit and know which option to set grub-reboot
to.
@rostedt is grub2
a requirement for you? coz recently I've discovered limine
, and it seems for your use-case it may work better
@oleksandr I have several test boxes that have various boot loaders. This one I haven’t touched in a while, and is the first time I noticed it. It seems to be the default for Fedora (which I’m a Debian guy). I need to get it to work for ktest.pl
anyway, as others may need it.
Except, it looks like it overwrote the default kernel, making my machine not able to boot the normal kernel. Had to play magic to get it back booting again.
Grub2 tries to make it so easy that it makes it suck for simply things.
Ha! ktest.pl
already does this!
Thank you Masayoshi Mizuma! You only added this feature back in 2019 🤪