Decorate Grub 2 boot loader using BURG
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
ubuntu
proto
winter
For more Burg details see:https://help.ubuntu.com/community/Burg/
Niciun comentariu:
Trimiteți un comentariu