There is a software that nobody cares about, it is the bootloader.

But I don’t and I will change this sad grub menu to a happy one.

To begin the config file to edit is located in /etc/default/grub

The parameters I’ve edited are :

  • GRUB_GFXMODE=1920x1080x32,1280x720x32,auto

It sets the resolution to 1920x1080 in 32bits colors and if it’s not possible it will use 1280x720 and if none of these too works it will select a resolution that works (auto).


It sets the kernel to use the same resolution as grub.

  • GRUB_BACKGROUND="/boot/grub/boot.png"

Tells grub to use a wallpaper located in /boot/grub/boot.png it accepts also jpeg but I prefer png.

You can also change the color of the text :

  • GRUB_COLOR_NORMAL=“light-blue/black”
  • GRUB_COLOR_HIGHLIGHT=“light-cyan/blue”

Or change the font :

  • GRUB_FONT="/boot/grub/fonts/myfont.pf2"

If needed you can show the list of installed fonts by using the command fc-list and you convert a font to a grub font via the next command :

grub-mkfont -s 24 -o /boot/grub/fonts/myfont.pf2 /usr/share/fonts/ttf-linux-libertine/LinLibertine_M.otf

Once the changes have been done in the file you need to process the file :

grub-mkconfig -o /boot/grub/grub.cfg 

And voilà :)

If needed here is the link to the online grub documentation : Grub Online Documentation.



198 Words

2020-08-22 17:48 +0200