Two commands are available to configure GRUB menu contents: set-menu and change-entry.
The following sections provide examples of how to use these commands. The examples use the menu listing in Displaying GRUB Menu Entries as the starting menu on which the changes are implemented.
After making any configuration changes, verify the results with the list-menu command or by viewing the contents of grub.cfg. In some cases, a system reboot is required for the changes to take effect.