February 4, 2017

Customize other OS menu entries in GRUB2

The procedure for customizing menu entries for other OSes in GRUB2 is as follows:
1) Copy the menu entry you wish to customize from "/boot/grub/grub.cfg"
to "/etc/grub.d/40_custom".
2) Change the name of the menu entry as you wish.
3) Disable the OS prober to prevent regenerating the old menu entry by using the option "GRUB_DISABLE_OS_PROBER=true" in "/etc/default/grub".
4) Regenerate the the grub configuration file by running 'sudo update-grub'.

No comments:

Post a Comment