The first tab deals with the list of Operating systems to boot. At the top, we see the save button along with remove, edit, new and priority managers. We use the new entry button to add a new OS or kernel. The remove button to remove any unnecessary entries in the list. The edit button to edit a configured entry. Let’s add a new entry.
Grub ( GRand Unified Bootloader) is the default bootloader of Ubuntu, Mint and many major distros. But what is a boot loader? It is the first software that loads into memory after booting up. It helps in the selection of OS which we would like to boot into. It will then, boot the respective kernel or chainload another bootloader ( if it is not a multiboot supporting os or does not support grub like windows).
It can be customized and adjusted according to personal preferences, although, like most aspects of Linux, It requires some skill and some knowledge to do so. But again, the linux ecosystem is moving towards a world with Linux as a major desktop OS, which requires the development of a lot of GUI based front-ends for all utilities. And today, we talk about one such utility called grub-customizer. It helps in editing the grub configuration files using a Graphical User Interface. First, look at the grub that is by default installed by Ubuntu.
We need to add the ppa first.
Adding ppa and installing the application requires three commands.
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
You need to enter your password for sudo. Then, you will be asked for confirmation to add the ppa. Press enter to proceed.
Then, we need to update the lists by entering the following command.
sudo apt update
Now, we install grub-customizer by typing the following command.
sudo apt install grub-customizer
When asked for confirmation, type y, and press enter.
Now, launch grub-customizer from menu or dash or directly from command-line by typing –
Grub-customizer is really simple with three tabs.
The first tab deals with the list of Operating systems to boot. At the top, we see the save button along with remove, edit, new and priority managers. We use the new entry button to add a new OS or kernel. The remove button to remove any unnecessary entries in list. The edit button to edit a configured entry. Let’s add a new entry.
The first field is the display name of the entry. The second type of field is about the type of OS. Here, the options are Linux, Linux iso, chainloader, etc… For windows, we use chainloader. You can select the applicable partition. Click OK. But, remember that these changes are not saved until we click the save button on the top.
Now, on the next tab, we have the option to select the default entry to boot. Then, we have the option to hide the boot menu or set a timer to boot into default entry, if no key is pressed.
The kernel parameters which new users won’t be messing with unless you need to. For example, intel multi-core CPU has an issue of turning off the unwanted cores and then, causing the ubuntu to hang up and not respond. They need to add the “intel_cstate.max = 1” to the kernel parameters.
In the last tab, We can select the font, font size, font color, the background of the font and a background wallpaper itself. This makes a huge difference than all the previous options.
I selected my favorite picture. It is important to have a nice picture popping up, as this is the first thing that you will see after starting your computer.
And the end result is this. Not the most beautiful, but, customized to my preference.
That is how we use a grub customizer. You can personalize your grub too, according to your personal taste.
how does none change the icon associated with an entry? the UI makes no damn sense
Adding Windows is easy. I have a triple boot system (Win 10 ( NTFS ), Kubuntu 5.11.0-27 ( btrfs ) and Mint 20.1 Ulyssa Cinnamon 5.4.0-81 ( ext-4 ) on 1 nvme drive ) and had a problem with grub 2 after a Mint update. Although I was asked if grub could overwrite the files and I denied its permission, I have the problem that after booting into Mint, grub 2 doesn’t show any entries of Kubuntu. So to make things easy I just wanted to add them using grub-customizer. So typed in Kubuntu 5.11.0-27 as name, Linux as type, selected the right partition, /initrd.img as initial ramdisk, /vmlinux as Linux image and nothing as kernel-parameters. And it says failure with bootsequence. I don know what I do wrong in this program.
As administrator/root I can copy the grub.cfg file from the Kubuntu partition and replace the one on the Mint partition, but as this file gets its information from files in etc/grub.d it will only work once. So after rebooting it shows all entrys, but once I booted into Mint, a reboot will only show Mint, advanced options of Mint, Win 10 and UEFI. Before closing Mint I have to copy grub.cfg from my Kubuntu part. to my Mint part. again. As I am a novice Linux user I don’t exactly know which files to change. Gonna keep on looking for an answer. But as you wrote a lot of stuff, maybe you know the answer.