gfxboot for ubuntu

gfx boot for ubuntu

1. Add the repository from sidux

deb http://debian.tu-bs.de/project/sidux/debian/ sid main contrib non-free fix.main fix.contrib fix.non-free

apt-get install grub-gfxboot gfxboot
(This will install an additional package called grub-common)
apt-cache policy grub-gfxboot
grub-gfxboot:
  Installed: 0.97-42
  Candidate: 0.97-42
  Version table:
 *** 0.97-42 0
        100 /var/lib/dpkg/status

apt-cache policy gfxboot
gfxboot:
  Installed: 3.3.39-0ubuntu2
  Candidate: 3.3.39-0ubuntu2
  Version table:
 *** 3.3.39-0ubuntu2 0
        500 http://mirror.ox.ac.uk intrepid/main Packages
        500 http://archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status

apt-cache policy grub-common
grub-common:
  Installed: 1.96+20080512-1ubuntu2
  Candidate: 1.96+20080512-1ubuntu2
  Version table:
 *** 1.96+20080512-1ubuntu2 0
        500 http://mirror.ox.ac.uk intrepid/universe Packages
        500 http://archive.ubuntu.com intrepid/universe Packages
        100 /var/lib/dpkg/status

2. Note that grub-gfxboot is from sidux whereas gfxboot is from ubuntu repository.

cd /usr/share/gfxboot-theme-suse

Since there are some compilation errors in finding {panim,panim_a}.jpg
change the line PIC_COMMON in Makefile
PIC_COMMON   = timer_a.jpg pback.jpg phead.jpg panim.jpg panim_a.jpg pabout.txt gfxboot.cfg

Edit /usr/share/gfxboot-theme-suse/gfxboot.cfg
to change to the following:
# penguin theme likelihood in percent; -1 = auto
penguin=100
welcome=1

make bootdir

This compilation should create a file message inside
/usr/share/gfxboot-theme-suse/boot/

cp /usr/share/gfxboot-theme-suse/boot/message to your boot_directory example: /boot/

Edit /boot/grub/menu.lst
gfxmenu (hd0,5)/boot/message

3. Run
update-grub
You may want to edit the string "Debian" to "Ubuntu" inside the script update-grub

3. Very important: Reinstall grub
grub-install /dev/sda
(or whatever. You have to reinstall the master-boot-record before rebooting the system otherwise it is a huge problem).