Decorate Grub 2 boot loader using BURG
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-grububuntu
proto
winter
For more Burg details see:https://help.ubuntu.com/community/Burg/
Related posts:
- Add OS logos into Grub2 boot menu using BURG
- Clean up Ubuntu old grub boot menu after upgrades
- Boot up ubuntu directly without loading grub menu
- How to restore Grub 2 after reinstalling Windows XP/Vista/Win7
- Grub missed after reinstall Windows,or Grub error17 after delete Ubuntu partition




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]
I’ve made a screenshot to show you how it appear:
http://img504.imageshack.us/img504/9749/dscn2013.png
[Reply]
Very good!But I want to know how to add OS logos to the panel before the OS names.Could anyone tell me?
[Reply]
Didn’t work for me either.
[Reply]
Xabier Reply:
December 15th, 2009 at 11:06 am
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]
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]
***/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]
i didn’t find folder /boot/grub/themes. What should i do? i’m using ubuntu 9.10
[Reply]
admin Reply:
December 16th, 2009 at 5:53 pm
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]
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]
it’s not working for people because they’re using old versions of GRUB.
“My PS2 won’t play my PS3 games!”
[Reply]
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]
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]