Grub2 broken in 12.2 RC1

Fresh install 12.2 RC1 x86_64 wouldn’t boot. I had to chroot into it from another system and manually edit grub.cfg. It had openSuSE partition listed as ‘hd1,msdos9’ when it is actually ‘hd1,msdos7’. When I booted into it and tried ‘grub2-mkconfig -o /boot/grub2/grub.cfg’ I got:

# grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub.cfg ...
/etc/grub.d/05_menu_color: line 8: /usr/lib/grub/grub-mkconfig_lib: No such file or directory

If I comment out that line ‘grub2-mkconfig -o /boot/grub2/grub.cfg’ will run but it still gets my partitions wrong. Any idea how to fix?

AFAIKT grub-mkconfig_lib doesn’t exist on my system. Dolphin can’t find it nor can whereis in Konsole.

On my system, it is using “/usr/share/grub2/grub-mkconfig_lib” at that point.