Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-25-2012, 01:08 AM   #1
LQ Newbie
Registered: Dec 2012
Distribution: Slackware-14 64
Posts: 6

Rep: Reputation: Disabled
Can't get colors in grub2 boot menu.

I've recently installed Slack-14 64bit and so far everything worked as it should until I installed grub2--big surprise there right?. There is by no means a show-stopping lack of functionality but I would really like to get some colors in my grub2 menu. I've edited "/etc/default/grub" many times with no success. I can't even change the resolution on the boot menu. I've used other distros on this laptop before and been able to use colors and images with no problem. I'm sure there's a little switch somewhere that needs to be flicked but I just can't find it. Any help would be appreciated.

Last edited by slackin1stimer; 12-26-2012 at 02:45 PM. Reason: [SOLVED]--I wrote a custom.cfg and got my purdy colors back. Thanks all.
Old 12-26-2012, 04:20 AM   #2
Registered: Sep 2010
Location: Algarve
Distribution: Linux Multiboot
Posts: 295

Rep: Reputation: 15
Some URLs (I know, partially concerning different distributions); maybe you'll find a hint:
Old 12-26-2012, 08:12 AM   #3
Registered: Nov 2004
Location: Sweden
Distribution: Slackware64-14.0
Posts: 53

Rep: Reputation: 9
About background pictures, look here...
..number 6 "imprazaguy"

About colors...
The /etc/grub.d/05_debian_theme is not present anymore. (that,s where the "colorcommands" for /etc/default/grub was before)

Now you can do it with a /boot/grub/custom.cfg file, you create it and put this in...

# menu_color_highlight => The color of the highlighted menu entry and its background within the menu box
# menu_color_normal => The color of non-selected menu entry and its background within the menu box
# color_normal => The color of text and background outside the menu box
# The syntax for specifying the color is as follows:
# menu_color_highlight=fg-color/bg-color
# The following colors are supported by grub: black,blue,brown,cyan,dark-gray,green,light-cyan
# light-blue,light-green,light-gray,light-magenta,light-red,magenta,red,white,yellow

# The "black/black" equals foreground/background colors, except that black as a background 
# color actually means "transparent" (no background color).

set color_normal="brown/black"
set menu_color_normal="black/black"
set menu_color_highlight="red/light-gray"
...of course you should pick your own colors.

This file is called from /etc/grub.d/41_custom, so make sure it is "executable" before you run..
# grub-mkconfig -o /boot/grub/grub.cfg create a new grub.cfg

As always, please be patient with my English, it.s not my native language.

1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Editing the grub2 boot menu in a dual boot machine Chriscrof Linux - Newbie 13 07-15-2010 01:14 AM
GRUB2 - FreeBSD-8.0 does not show up in triple boot menu, dual boot menu it does.. wiliweld *BSD 7 05-03-2010 01:05 PM
LXer: So HERE'S how you get into grub2 if there's no boot menu in Ubuntu Lucid 10.04 LXer Syndicated Linux News 0 03-23-2010 02:20 PM
Creating a Grub2 boot-cd with a (grub.cfg) menu solution ssenuta Linux - General 3 02-04-2010 06:16 PM
Lilo Boot Menu Colors?? jimbo-62 DamnSmallLinux 2 07-19-2005 07:15 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration