Conversation

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. 😠

2
1
1

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.

2
0
0

@rostedt is grub2 a requirement for you? coz recently I've discovered limine, and it seems for your use-case it may work better

1
0
0

@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.

0
0
0

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.

1
0
0

Ha! ktest.pl already does this!

https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-ktest.git/commit/?h=for-next&id=ac2466456eaa0ff9b8cf647c4c52832024bc929f

Thank you Masayoshi Mizuma! You only added this feature back in 2019 🤪

0
1
0
@rostedt there's no such thing as a "normal kernel", at least since 3.12
2
0
1

@vbabka Heh, I didn’t mean normal as the kernel itself was normal. I meant normal as in the kernel that Fedora normally boots up by default.

0
0
2

@vbabka But now I have to go look at what came about in 3.13 that got rid of the concept of a normal kernel.

1
0
1
@rostedt oh I meant since 3.12 inclusive
0
0
0