Ubuntu 10.04 Graphical Grub

Tutorial: Ubuntu 11.04 / 10.10 / 10.04 – Grub 2 with Themes

 

In this post, I will show you how to install grub 2 with themes so that you can replace the standard text-based grub menu with something that looks a bit nicer. This tutorial will use code which is under development, so it may be best not to use on an important machine. We will actually replace grub with something called burg, which is a developmental branch of grub.


Its quite easy to do now in Ubuntu 11.04, really just one step:

sudo add-apt-repository ppa:n-muench/burg 
sudo apt-get update 
sudo apt-get install burg burg-themes

However if you are using 10.04 or 10.10, follow the instructions below:

First, enable the repository for burg by editing your /etc/apt/sources.list file to include the following for Ubuntu 10.10 (Maverick):

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

or use the following for Ubuntu 10.04 (Lucid)

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

Next, (optional) to remove any warnings about gpg signatures, enter the following commands:

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

Alternatively, if you find the pgp serer gives you an error, you can try this one:

gpg --keyserver wwwkeys.stinkfoot.us.pgp.net --recv-keys 55708F1EE06803C5

Then we need to update apt and install burg:

sudo apt-get update
sudo apt-get install burg-pc burg burg-themes

This will prompt you to select several options along the way, so far I’ve just selected the default options since they seem to be detected from your existing grub install. The important one is to select the correct disk (Note: I’ve only tested in a non-raid system, so I don’t know how it will behave with this setup).

On the next restart, we should see a graphical grub menu, something like this:

Ubuntu 10.04 Graphical Grub

Ubuntu 10.04 with Graphical Grub Template

By default you will probably get the ubuntu template, and you can change the template by pressing ‘t’ during the grub screen. It should also remember which one was last selected.

Note: I have experienced some problems with a fresh install of ubuntu 10.04 and SLI video cards. Burg’s graphics mode seems to confuse ubuntu and it gets stuck on boot. If this happens, you can boot in recovery mode and install the restricted nvidia driver. Then on next boot everything should be fine.

Note 2: Occasionally, when Ubuntu updates, grub may install over your burg installation. In order to get burg back, you need to issue the following command:

sudo burg-install /dev/sda

where /dev/sda is the partition you want to install burg onto.

Note 3: You might find you have some extra entries that you want to remove, for example the recovery entries or whatever else. You can either edit the burg.cfg file directly located at /boot/burg/burg.cfg and or you can edit the files in /etc/default/burg and /etc/burg.d/. If you use the second choice, you will need to run:

sudo update-burg

in order to regenerate the new burg.cfg file.

Sources:
https://help.ubuntu.com/community/Burg
http://ubuntuforums.org/showthread.php?p=9231199

 

7 Responses to Tutorial: Ubuntu 11.04 / 10.10 / 10.04 – Grub 2 with Themes

 
  1. Elite Hussar says:

    Thank you for your nice post

  2. Coder says:

    Hey Jason, thanks for posting this! :-) Very helpful.

  3. Ronaldo Garry Müller says:

    I got the message above, when tried “sudo apt-get update” command

    W: Falhou ao buscar http://ppa.launchpad.net/gdm2setup/gdm2setup/ubuntu/dists/maverick/main/source/Sources.gz 404 Not Found

    W: Falhou ao buscar http://ppa.launchpad.net/gdm2setup/gdm2setup/ubuntu/dists/maverick/main/binary-i386/Packages.gz 404 Not Found

    E: Alguns arquivos de índice falharam para baixar, eles foram ignorados ou os antigos foram usados no lugar.

    Would you help me about?

    • Antonio says:

      Same error happened to me. It seems that repository has no Ubuntu Maverick files, so you can’t use it. Maybe it’ll come it the future, or maybe you can try Lucid Lynx. I didn’t, but maybe it works

  4. Pingback: Jason’s Computer Science Blog - Howto: Custom icons for Burg (Graphical Grub2)

  5. Thf says:

    nice one mate!

    question; its a grub replacement? is that required for the repositioning of the boot items (obviously the extra options; res stuff, are)? I’ve been wanting to do that (reposition the items) for ages, but couldn’t find out how… :-S

    • Jason Ernst says:

      Thanks! Yes, its a grub replacement. (Grub gets replaced in the mbr of the disk you are installing to, although it is still left on your system, so you can actually put it back on after by running “sudo grub-install /dev/sda (or whatever device your hdd is)”.

      To reposition the boot items (in burg or in grub) edit the burg.cfg or grub.cfg file. You can identify the entry you want to move because they are usually separated by comments. If you are you using nano to edit, you can use ctrl-K and ctrl-u to cut and paste the entries where you want them. If you are using gedit or something graphical its even easier.

      Of course it goes without saying, be careful trying this on a system that is important until you figure it all out. If you do end up fouling things up, you can probably fix it with a ubuntu live disk.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Recent Articles

Creating a Bluetooth Access point (NAP) in Ubuntu 11.10

Creating a Bluetooth Access point (NAP) in Ubuntu 11.10

November 29, 2011

A Bluetooth NAP is similar to a Wi-Fi access point. In this case, we will...

Screenshot at 2011-11-29 08:54:32

Burg / Grub 2 Icons for Meego

November 29, 2011

Only recently I noticed that Moblin (which I sometimes use) has changed...

Aircrack suite + Ubuntu 11.10 problems with monitor mode channel

Aircrack suite + Ubuntu 11.10 problems with monitor mode...

November 4, 2011

Recently I have been playing around with the aircrack suite and in...

 
Upcoming PhD QE Progress

Upcoming PhD QE Progress

July 27, 2011

So I've been doing my PhD for over two years now, and I haven't posted a...

waterloo

Why Blanket Wireless Coverage in Waterloo Failed, and...

July 22, 2011

Today the KW Record ran an article entitled "Blanket Wi-Fi plans unplugged...

sp1

Windows 7 – SP1, Multiple OS – Grub

July 17, 2011

A while ago I bought a Toshiba netbook which of course came with Windows 7...