Hi:
Grub Customizer, has the option to rename/customize Grub text entries.
My question is if that option could be added to MX-Boot Options, I think it is the only thing that this great tool is missing.
Best regards from Senpai
Edit Grub text entries from MX-Boot Options [Solved]
Re: Edit Grub text entries from MX-Boot Options
Grub menu entries titles get generated by "update-grub" (grub-mkconfig).
One way to adjust the generated titles would be to modify the source where grub-mkconfg ( and os-prober)
get the titel names from, which are two lines within /etc/lsb-release:
PRETTY_NAME=
DISTRIB_DESCRIPTION=
E.g on my MX AHS installes I have adjusted to:
and on KDE to
Within the generated grub.cfg, the shown entries do have now different titles for the different installations.
One way to adjust the generated titles would be to modify the source where grub-mkconfg ( and os-prober)
get the titel names from, which are two lines within /etc/lsb-release:
PRETTY_NAME=
DISTRIB_DESCRIPTION=
E.g on my MX AHS installes I have adjusted to:
Code: Select all
PRETTY_NAME="MX 19.4 AHS patito feo"
DISTRIB_DESCRIPTION="MX 19.4 AHS patito feo"
Code: Select all
PRETTY_NAME="MX 19.4 KDE patito feo"
DISTRIB_DESCRIPTION="MX 19.4 KDE patito feo"
Re: Edit Grub text entries from MX-Boot Options
Thank you fehlix, I'll do it like this, I have 3 MX installations on my two PCs and sometimes it's a mess to boot :), So I have to modify "lsb-release" on each installation?, but I still think it would be a good option for MX-Boot Options.fehlix wrote: Tue May 25, 2021 9:30 am Grub menu entries titles get generated by "update-grub" (grub-mkconfig).
One way to adjust the generated titles would be to modify the source where grub-mkconfg ( and os-prober)
get the titel names from, which are two lines within /etc/lsb-release:
PRETTY_NAME=
DISTRIB_DESCRIPTION=
E.g on my MX AHS installes I have adjusted to:and on KDE toCode: Select all
PRETTY_NAME="MX 19.4 AHS patito feo" DISTRIB_DESCRIPTION="MX 19.4 AHS patito feo"
Within the generated grub.cfg, the shown entries do have now different titles for the different installations.Code: Select all
PRETTY_NAME="MX 19.4 KDE patito feo" DISTRIB_DESCRIPTION="MX 19.4 KDE patito feo"
Re: Edit Grub text entries from MX-Boot Options
Yes, do only adjust the two lines mentioned within /etc/lsb-release and run afterwards update-grub.Senpai wrote: Tue May 25, 2021 10:18 am So I have to modify "lsb-release" on each installation?, but I still think it would be a good option for MX-Boot Options.
Do this for all 3 installations including running update-grub. And as the last step do re-generate again the grub-menu (update-grub) on the installation, which does provide the "controlling" grub, the one with the first menu-entry shown in the boot-menu. update-grub will pickup through os-prober the adjusted names from the other installations.
Re: Edit Grub text entries from MX-Boot Options
Check out my solution, maybe my post will help you.Senpai wrote: Tue May 25, 2021 6:37 am Hi:
Grub Customizer, has the option to rename/customize Grub text entries.
My question is if that option could be added to MX-Boot Options, I think it is the only thing that this great tool is missing.
Best regards from Senpai
https://forum.mxlinux.org/viewtopic.php?t=69768
https://forum.mxlinux.org/viewtopic.php?t=69883
I also used Grub Customizer initially, but I don't use it anymore. I am using MX boot options.
With Terminal typing:
Code: Select all
sudo update-grub