Monday, April 26, 2010

Pretty your GRUB loader

It is pretty easy to change default boot timeout and colors.

GRUB 1

Edit the following settings in /boot/grub/grub.cfg:
# Set a timeout, in seconds, before automatically booting 
# the default entry (normally the first entry defined).
timeout  2

# Pretty colours
color  light-blue/black light-cyan/black

GRUB 2

Disable graphical terminal /etc/default/grub:
# Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL=console
Edit the settings in /etc/grub.d/05_debian_theme:
 ...

set_default_theme(){
     # Set the traditional Debian blue theme.
     #echo "${1}set menu_color_normal=cyan/blue"
     #echo "${1}set menu_color_highlight=white/blue"
     echo "${1}set menu_color_normal=light-gray/black"
     echo "${1}set menu_color_highlight=white/black"
}
Once finished issue the command to regenerate grub config files:
update-grub

No comments :

Post a Comment