I have Leap 15 on dual boot with Windows 10 working without problems. However, when I want to change or edit the text on boot menu entries is really a mess, especially for newbies. Information are spread to different files and I can’t find where or how I just want to do that.
I just want to edit whatever file is and change the order of entries on menu and the text description, not changing parameters or technical stuff just this :
Not sure you can change the order (maybe but may be complicated) but you can change the default selection in Yast-bootloader section so Win 10 would be the selected item
The last time I looked at editing the specific text which was awhile ago (may be different today),
The text was dynamically generated so it wasn’t particularly easy to modify without some experimentation.
But,
If you’d like to simply modify the default selection,
The YaST boot loader module can do this for you in a couple clicks (Third “Boot Options” tab to the far right when you first open the boot loader module).
Otherwise,
If you were asking about the grub menu’s appearance and not the text,
I’ve updated a script to do that easily for LEAP 15.
But my script won’t alter the text content…
For some definition of “improve”, it is possible to have something approximating what you want. Start in /etc/grub.d/ by copying or renaming 40_custom and 41_custom to 06_custom and 07_custom. At some point grub updates will replace [40,41], unless you replace them yourself with zero byte files and set them immutable with chattr, or create a cron job to delete them when they are found to exist.
Then move to /boot/grub2/ and create file “custom.cfg”. In it, create the custom stanzas you wish to see in the boot menu in the order you wish to see them. Because of [06,07]_custom, these stanzas will appear before the auto-generated ones updating grub or installing a new kernel creates. Here for example only is an abbreviated version of my latest iteration of custom.cfg:
Note my abbreviation is exclusion of stanzas, 7 out of a total of 11, not of significant portions of individual stanzas. Auto-generated stanzas include many unnecessary insurance components. I’m not sure whether I ever finished eradicating those from my custom stanzas, but obviously mine are quite svelte by comparison.