LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 12-25-2012, 02:08 AM   #1
slackin1stimer
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 03:45 PM. Reason: [SOLVED]--I wrote a custom.cfg and got my purdy colors back. Thanks all.
 
Old 12-26-2012, 05:20 AM   #2
alfredo10
Member
 
Registered: Sep 2010
Location: Algarve
Distribution: Linux Multiboot
Posts: 277

Rep: Reputation: 14
Hi!
Some URLs (I know, partially concerning different distributions); maybe you'll find a hint:
http://www.gnu.org/software/grub/manual/grub.html
http://members.iinet.net/~herman546/p20.html
http://help.ubuntu.com/community/Grub2
http://en.gentoo-wiki.com/wiki/Grub2
 
Old 12-26-2012, 09:12 AM   #3
hakan56
Member
 
Registered: Nov 2004
Location: Sweden
Distribution: Slackware64-14.0
Posts: 53

Rep: Reputation: 9
About background pictures, look here...
http://www.linuxquestions.org/questi...ge-4175432321/
..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...

Code:
# 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
..to create a new grub.cfg

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

/Håkan
 
1 members found this post helpful.
  


Reply


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 02: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 02: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 03:20 PM
Creating a Grub2 boot-cd with a (grub.cfg) menu ..my solution ssenuta Linux - General 3 02-04-2010 07:16 PM
Lilo Boot Menu Colors?? jimbo-62 DamnSmallLinux 2 07-19-2005 08:15 AM


All times are GMT -5. The time now is 11:42 PM.

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