This is a feature request more than a bug, however, it is an important feature for Gentoo servers to which the maintainers have no physical access. Say you install a new kernel and forget to compile in a crucial bit which renders the kernel unbootable, the server will hang upon reboot. The desired behaviour in such a situation would be an automatic reboot on kernel panics into another known-to-work kernel. There's a short howto in the forum (https://forums.gentoo.org/viewtopic-t-928972.html), however, it's of little use unless you plan to maintain grub.cfg manually. A solution which works with grub.cfg generated by grub2-mkconfig would be a very useful. There's a similar feature documented for Ubuntu: http://wiki.ubuntuusers.de/GRUB_2/Skripte#Fehler-in-Grub-abfangen Like many users I don't have much knowledge of what grub-2 is like under the hood and would love to rely on what grub2-mkconfig generates. I'd suggest such a feature to be enabled in /etc/default/grub and to disable it by default in order not to break existing installations. Thanks for giving this a thought. Reproducible: Always
I am unlikely to implement this myself. I would suggest discussing it on the upstream development list.
There's nothing to do upstream. Fallbacks can be configured, however, given the "one size fits all" approach of GRUB2, it's not an easy task - hence the idea to do it right once and then ship it with the ebuild.