Update Grub Menu Entries

Hello,
After my upgrade from 13.2 to Leap 42.2 & 42.3, the Grub menu entries are still the openSUSE 13.2.
It’s not an issue since the kernel is the correct one, but obviously something IS wrong
Yast boot loader is not what we had with 13.2 (it misses a lot of functionality), so, I need to go to the CLI for this.

But I have no idea where the grub scripts load the necessary variables from!
So, which file/script updates them?

OK, I answer my own question:
edit the /etc/defaults/grub :slight_smile:

And then you have to re-build the initrd

The process is described in many places.

Also, you can take a look at scripts I’ve written to modify the appearance(not content) of the grub menu (none for 42.3 at the moment, but can be done).
I modify different files, but like any changes to grub.cfg need to rebuild the initrd.

https://en.opensuse.org/User:Tsu2/12.3/Modified_GRUB_Menu

TSU

No, (s)he has not. What is needed, is recreating bootloader configuration which has nothing to do with initrd content.

I modify different files, but like any changes to grub.cfg need to rebuild the initrd.

OMG … theme file is loaded by grub2 during execution, there is no need to rebuild anything at all (not even grub.cfg) as long as you keep the same file name …