Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub menues[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
jserink
l33t
l33t


Joined: 30 Jan 2004
Posts: 933

PostPosted: Mon Dec 12, 2016 8:35 am    Post subject: Grub menues[solved] Reply with quote

Hi All:

Ok, my grub2 is working 'ok; but I want to do the follwoing:
1. Increase the font size,
2. Change the font colors....

I want to accomplish item 2 first. Here is my /etc/default/grub file:
GRUB_DISTRIBUTOR="Gentoo"
GRUB_DEFAULT=1
GRUB_TIMEOUT=20
GRUB_TIMEOUT_STYLE=menu
GRUB_BACKGROUND="/boot/grub/KidsPool.jpg"
GRUB_DISABLE_RECOVERY=true
GRUB_DISABLE_SUBMENU=y
export GRUB_COLOR_NORMAL="blue/black"
export GRUB_COLOR_HIGHLIGHT="red/black"

The bottom two lines have ZERO effect, the font comes out light grey and teh selected default item 1 comes out with an opaque grey background with black text.

I have tried this as well:
GRUB_COLOR_NORMAL="blue/black"
GRUB_COLOR_HIGHLIGHT="red/black"

Same thing, no effect.

So, how do I change the font menu colors in grub?

Cheers,
john


Last edited by jserink on Sun Dec 18, 2016 6:20 am; edited 1 time in total
Back to top
View user's profile Send private message
Kajan
Guru
Guru


Joined: 23 Dec 2004
Posts: 321
Location: Warsaw, Poland

PostPosted: Mon Dec 12, 2016 10:25 am    Post subject: Reply with quote

Hi,

Backup your old file grub.cfg and after editing use this command to update GRUB configuration file
Code:

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


Best regards.
_________________
Powered By Gentoo Linux !!!
Back to top
View user's profile Send private message
jserink
l33t
l33t


Joined: 30 Jan 2004
Posts: 933

PostPosted: Mon Dec 12, 2016 10:47 am    Post subject: Reply with quote

Kajan wrote:
Hi,

Backup your old file grub.cfg and after editing use this command to update GRUB configuration file
Code:

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


Best regards.


Did that.
The font colors are unchanged.

Cheers,
John
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43198
Location: 56N 3W

PostPosted: Mon Dec 12, 2016 11:07 am    Post subject: Reply with quote

jserink,

Why
Code:
export GRUB_COLOR_NORMAL="blue/black"
export GRUB_COLOR_HIGHLIGHT="red/black"


Remove the export then regenerate your grub.cfg. See the Arch Wiki
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
jserink
l33t
l33t


Joined: 30 Jan 2004
Posts: 933

PostPosted: Mon Dec 12, 2016 11:12 am    Post subject: Reply with quote

NeddySeagoon wrote:
jserink,

Why
Code:
export GRUB_COLOR_NORMAL="blue/black"
export GRUB_COLOR_HIGHLIGHT="red/black"


Remove the export then regenerate your grub.cfg. See the Arch Wiki


Did that too, no change.

Cheers,
John
Back to top
View user's profile Send private message
jserink
l33t
l33t


Joined: 30 Jan 2004
Posts: 933

PostPosted: Sun Dec 18, 2016 6:20 am    Post subject: Reply with quote

Ok, so, I spent a good 2 hours on this yesterday and this is what I found out:
1. If I go into the grub console I see that color_normal=light-gray/black when I enter the 'set' command,
2. If I enter this: set color_normal=blue-black, the font changes to blue, wonderful....
3. there is NO WAY to change this environment variable form the /etc/default/grub file,
4. There is NO way to change this from anywhere,
5. This command, grub-editenv list, produces NO OUTPUT(while /boot is mounted),
6. This command produces, well, this:
jserinki7 jserink # grub-editenv set color_normal=blue/black
Unknown command `color_normal=blue/black'.
Usage: grub-editenv [OPTION...] FILENAME COMMAND
Try 'grub-editenv --help' or 'grub-editenv --usage' for more information.


The only way there 'seems' to be available to change the font color is to configure /etc/default/grub to use the starfield theme and hack that.

So, grub, like systemd, proves itself to be so versatile that it is boarding on useless for what most of us want to use it for....
Mission creep personified.

I got the resolution to work, have it set to 1024x768x32 and happy to report that the jpg photo I have used for the background 'seems' to get automatically scaled to the proper size.

I'll have to live with the current font colors and wait for the next version. Perhaps the developers will see fit to allow us to change this stuff from the /etc/default/grub file like some distros appear to be able to , I was unsuccessful doing so with Gentoo so far.

Calling this solved.

Cheers,
john
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7134
Location: almost Mile High in the USA

PostPosted: Sun Dec 18, 2016 7:11 am    Post subject: Reply with quote

I'd call that a grub bug and not mission creep like systemd...no reason why colors shouldn't be able to be changed. Systemd would simply stop you from changing the colors because all boxes should look the same...
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum