Ask Your Question

grub2 color

asked 2011-12-06 10:13:26 -0500

cebri gravatar image

hello,i change the background image of grub2 by adding a GRUBBACKGROUND variable in /etc/default/grub and i cant success to change color of text. i add the GRUBCOLORNORMAL and GRUBCOLOR_HIGHLIGHT variable to /etc/default/grub an nothing happen. somebody known how to do it?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2011-12-06 13:53:14 -0500

skytux gravatar image

The file you have to edit is /etc/grub.d/41_custom. Mine is:

cat <<EOF
if [ -f  \$prefix/custom.cfg ]; then
  source \$prefix/custom.cfg;
set color_normal=white/black
set color_highlight=light-cyan/blue

Good luck :)

edit flag offensive delete link more

answered 2011-12-06 11:50:20 -0500

hhlp gravatar image

updated 2011-12-06 12:29:19 -0500

you can change the menu colors in Grub2. The available colors for color normal and color highlight.

you can always consult the grub2 documentation ...

Here is an example:

Edit /etc/default/grub:


everytime you change /etc/default/grub you have to generate again grub.cfg with this command ...

Generate the changes:

sudo grub2-mkconfig -o /boot/grub2/grub.cfg
edit flag offensive delete link more


that is the way ... and it doesn't work for me too but i can't see any parameters in /etc/grub.d/00header to change this behaviour i think this is a bug i fill a bug in bugzilla... ->

hhlp gravatar imagehhlp ( 2011-12-06 12:59:03 -0500 )edit

answered 2011-12-08 13:40:05 -0500

kiilerix gravatar image

Please edit the question and use proper markup so it is readable.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2011-12-06 10:13:26 -0500

Seen: 4,046 times

Last updated: Dec 08 '11