How to set solid background color in grub

grub2

enter image description here

This is how my grub looks like when I start the system up now

I added this line to my /etc/default/grub

GRUB_BACKGROUND=''

to unset the default background, but I want to set this blue color to black. How do I do it?

I do not want to set a black background image in order to make it appear black. I want to set the background color to solid black.

uname -a gives me the following output

Linux earth 4.9.0-kali4-amd64 #1 SMP Debian 4.9.30-2kali1 (2017-06-22) x86_64 GNU/Linux

Best Answer

As you know, /etc/default/grub is the place to configure this. Now that GRUB_BACKGROUND is unset, you are most of the way. There are two other options that should be of interest to you.

  • GRUB_COLOR_NORMAL="foreground/background": sets the colours of a line that is not currently selected
  • GRUB_COLOR_HIGHLIGHT="foreground/background": sets the colours of the currently selected line

If you ensure that background is set to black in both of these options ypou should have the effect that you are after. This works on a system with grub 2.02 If this doesn't work, try setting GRUB_TERMINAL_OUTPUT=console.

Related Question