Decorate Grub 2 boot loader using BURG

This post was written by admin on November 18, 2009
Posted Under: General

BURG is a program based-on Grub 2,BURG uses new menu list,screen layout and shortcut keys that all easily customized.Following is tested in Ubuntu Karmic.
1.Install BURG
Edit source.list file(Open terminal from Applications/Accessories/Terminal):

sudo gedit /etc/apt/sources.list

add following into the file and save it.

deb http://ppa.launchpad.net/bean123ch/burg/ubuntu karmic main
deb-src http://ppa.launchpad.net/bean123ch/burg/ubuntu karmic main

Add GPG key:

gpg --keyserver subkeys.pgp.net --recv 55708F1EE06803C5
gpg --export --armor 55708F1EE06803C5 | sudo apt-key add -

update and install:

sudo apt-get update
sudo apt-get install grub-pc

Then,write the new startup code into MBR:

sudo grub-install "(hd0)"

2.Download themes:

wget http://grub4dos.sourceforge.net/themes.tar.bz2

Extract it to /boot/grub/themes:

sudo tar -xjf themes.tar.bz2 -C /boot/grub/themes/

Then,edit /etc/default/grub:

sudo gedit /etc/default/grub

delete the “#”(without quotes) before this:

GRUB_TERMINAL=console

3.Now,edit /etc/grub.d/40_custom:

sudo gedit /etc/grub.d/40_custom

copy and paste following into this file:
set gfxmode="640x480"
set gfxfont="Unifont Regular 16"
loadfont /boot/grub/themes/fonts/unifont.pf2
loadfont /boot/grub/themes/fonts/aqui.pf2
loadfont /boot/grub/themes/fonts/edges.pf2
loadfont /boot/grub/themes/fonts/lime.pf2
loadfont /boot/grub/themes/fonts/7x13B.pf2
loadfont /boot/grub/themes/fonts/smoothansi.pf2
loadfont /boot/grub/themes/fonts/Helvetica-Bold-14.pf2
insmod vbe
insmod png
insmod coreui
load_config /boot/grub/themes/proto/theme.txt

the last line will load the theme.You can change this line to :
ubuntu theme:
load_config /boot/grub/themes/ubuntu/theme.txt
winter theme:
load_config /boot/grub/themes/winter/theme.txt
proto theme:
load_config /boot/grub/themes/proto/theme.txt
Now,use this command to create grub.cfg file:

sudo update-grub

grub2_theme

ubuntu

grub2_theme_1

proto

grub2_theme_2

winter

For more Burg details see:https://help.ubuntu.com/community/Burg/

Related posts:

  1. Add OS logos into Grub2 boot menu using BURG
  2. Clean up Ubuntu old grub boot menu after upgrades
  3. Boot up ubuntu directly without loading grub menu
  4. How to restore Grub 2 after reinstalling Windows XP/Vista/Win7
  5. Grub missed after reinstall Windows,or Grub error17 after delete Ubuntu partition

    Tags:

    Reader Comments

    I’ve tried this tutorial but when i restart pc don’t appear any theme for grub, now appear only a blue menĂ¹. what can i do?

    [Reply]

    #1 
    Written By ciccio on November 23rd, 2009 @ 7:29 am

    I’ve made a screenshot to show you how it appear:
    http://img504.imageshack.us/img504/9749/dscn2013.png

    [Reply]

    #2 
    Written By ciccio on November 24th, 2009 @ 2:36 am

    Very good!But I want to know how to add OS logos to the panel before the OS names.Could anyone tell me?

    [Reply]

    #3 
    Written By Lan on November 25th, 2009 @ 5:27 pm

    Didn’t work for me either.

    [Reply]

    Xabier Reply:

    hi, for everyone with problems showing themes try this:
    “sudo gedit /etc/grub.d/40_custom”
    and add this; “menu_viewer.ext” to the end of the file 40_custom.
    Works for me.

    [Reply]

    #4 
    Written By krash on December 12th, 2009 @ 4:18 am

    Didnt work for me boss…am reverting!
    Using Ubuntu 9.10 x86,guess some problem with dual boot & as suggested on a site that it may have to do with /boot loading before grub or some issue regarding boot chronology…
    Thanx anyways…

    [Reply]

    #5 
    Written By Vishnu on December 15th, 2009 @ 12:15 pm

    ***/boot loading before…sorry i meant /boot loading after…someone said that in some installations,bootloader is installed elsewhere ie different from the linux partition!

    [Reply]

    #6 
    Written By Vishnu on December 15th, 2009 @ 12:18 pm

    i didn’t find folder /boot/grub/themes. What should i do? i’m using ubuntu 9.10

    [Reply]

    admin Reply:

    By default,there’s not “themes” folder in /boot/grub,when run “sudo tar -xjf themes.tar.bz2 -C /”,it will create the folder automatically

    [Reply]

    #7 
    Written By zha on December 16th, 2009 @ 6:56 am

    I got it to work but I had issues mentioned above with the tar not working so I:
    - Opened Dolphin and found tar file then extracted to my home dir.
    - opened terminal and as sudo copied the /theme dir to my /boot/grub dir.

    after that everything worked!

    [Reply]

    #8 
    Written By Darryl Thompson on December 29th, 2009 @ 7:26 pm

    it’s not working for people because they’re using old versions of GRUB.

    “My PS2 won’t play my PS3 games!”

    [Reply]

    #9 
    Written By dave on January 16th, 2010 @ 12:01 pm

    Hello! Here I’ve inserted some themes that i’ve created editing official sora-clean theme: http://www.sourceslist.eu/guide/altri-temi-per-il-burg-basati-su-sora-clean/

    [Reply]

    #10 
    Written By Ingalex on February 9th, 2010 @ 1:44 am

    Add GPG key:
    gpg –keyserver subkeys.pgp.net –recv 55708F1EE06803C5
    gpg –export –armor 55708F1EE06803C5 | sudo apt-key add -

    is this One commant or two commant or 3 Commant..
    I am not able to do this step

    [Reply]

    #11 
    Written By Shinu on March 1st, 2010 @ 12:49 am

    Add a Comment

    required, use real name
    required, will not be published
    optional, your blog address