Updating the GRUB2 boot menu

Some time ago, I indicated how to manually update the grub boot menu (see: GRUB2 revisited). This required quite a lot of effort to change file permissions and edit several text files. A much simpler method, that uses a graphical user interface, is to use the Grub Customizer application developed by Daniel Richter [Thanks Daniel!]

Installation is simple using Daniel’s PPA with the following commands in a Terminal window:

sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer

The application shows up in the Administration menu and, when run, displays a list of boot menu items in the program’s window.

After installing Linux Mint Version 19.3 (Tara), my need was to remove a boot menu item for my dedicated data partition (/dev/sda2). This partition is formatted as NTFS in order that it can be used in both Linux and Windows in my dual-boot system. However, for some reason, grub identified this data partition (on which no operating system is installed) as a bootable Windows 7 menu entry. Needless to say that, any attempt to boot using this menu entry failed.

Removing this redundant menu item using Grub Customizer is as simple as selecting the item in the List configuration tab and clicking on the Remove menu item. This has the effect of moving the entry from the list configuration to the list of removed items at right. I also took the opportunity to simplify the boot menu by removing all items except for Linux, memtest86+, and Windows, resulting in the following screen display:

Grub Customizer

Another useful feature of Grub Customizer is that grub identified my Linux installation as Ubuntu. This was easily changed by selecting the menu entry, clicking on the pencil icon (edit), and replacing the text for the distro’s name with Linux Mint 19.3 Tara.

Once all the modifications were complete, all that was left to do was to click on Save and reboot the computer in order to display my newly “minted” boot menu!

References:

GRUB2 revisited
https://linuxnorth.wordpress.com/2011/03/09/grub2-revisited/

Grub Customizer
https://launchpad.net/grub-customizer

GRUB Customizer – GRUB configuration with style
https://www.dedoimedo.com/computers/grub-customizer.html

This entry was posted in Applications, Commands, GRUB, Mint and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s