Bug#506232: grub-pc: no easy way to change splash-screens at boot-up

shirish shirishag75 at gmail.com
Wed Nov 19 16:07:11 UTC 2008


Package: grub-pc
Version: 1.96+20080724-12ubuntu1
Severity: normal

*** Please type your report below this line ***
There is no easy way to change splash-screens while booting up in grub2.
To change default splash-screen a user needs to do the following :-

a. Know where the splash screen images reside
b. Know the file where the information for splash screen images is
c. Change the information therein.

Hence had to find the file where splash images are

a. The files are at /usr/share/images/grub/
b. Now edit the file /etc/grub.d/05_debian_theme
specifically line 16

from

for i in
{/boot/grub,/usr/share/images/desktop-base}/moreblue-orbit-grub.{png,tga}
; do

to

for i in
{/boot/grub,/usr/share/images/desktop-base,/usr/share/images/grub,/usr/share/pixmaps/splash/}/gnome-splash.{png,tga}
; do

Then do an update-grub

For normal users they should not be expected to know or do invasive
changes like this.


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/fc24631b-c156-4beb-bf61-be84e24bc946 / ext3
rw,relatime,errors=remount-ro,data=ordered 0 0
/dev/disk/by-uuid/fc24631b-c156-4beb-bf61-be84e24bc946
/dev/.static/dev ext3 ro,errors=remount-ro,data=ordered 0 0
/dev/sda1 /boot ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/sda3 /home ext3 rw,relatime,errors=continue,data=ordered 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/sda
(hd1)	/dev/sdb
*********************** END /boot/grub/device.map

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/update-grub using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=1000
set root=(hd0,2)
search --fs-uuid --set fc24631b-c156-4beb-bf61-be84e24bc946
if font /usr/share/grub/ascii.pff ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  terminal gfxterm
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set root=(hd0,2)
search --fs-uuid --set fc24631b-c156-4beb-bf61-be84e24bc946
insmod png
if background_image /usr/share/pixmaps/splash/gnome-splash.png ; then
  set color_normal=black/black
  set color_highlight=magenta/black
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/05_debian_theme.original ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme.original ###

### BEGIN /etc/grub.d/10_hurd ###
### END /etc/grub.d/10_hurd ###

### BEGIN /etc/grub.d/10_linux ###
set root=(hd0,1)
search --fs-uuid --set 083eb71a-610b-45fe-b843-2acc97b088ac
menuentry "Ubuntu, linux 2.6.27-7-generic" {
	linux	/vmlinuz-2.6.27-7-generic
root=UUID=fc24631b-c156-4beb-bf61-be84e24bc946 ro  quiet
	initrd	/initrd.img-2.6.27-7-generic
}
menuentry "Ubuntu, linux 2.6.27-7-generic (single-user mode)" {
	linux	/vmlinuz-2.6.27-7-generic
root=UUID=fc24631b-c156-4beb-bf61-be84e24bc946 ro single
	initrd	/initrd.img-2.6.27-7-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	linux	/memtest86+.bin
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file is an example on how to add custom entries
### END /etc/grub.d/40_custom ###
*********************** END /boot/grub/grub.cfg

-- System Information:
Debian Release: lenny/sid
  APT prefers jaunty-updates
  APT policy: (500, 'jaunty-updates'), (500, 'jaunty-security'), (500,
'jaunty-backports'), (500, 'jaunty')
Architecture: i386 (i686)

Kernel: Linux 2.6.27-7-generic (SMP w/1 CPU core)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-pc depends on:
ii  debconf [debconf 1.5.24ubuntu1           Debian configuration management sy
ii  grub-common      1.96+20080724-12ubuntu1 GRand Unified Bootloader, version
ii  libc6            2.8+20081027-0ubuntu10  GNU C Library: Shared libraries
ii  liblzo2-2        2.03-1                  data compression library
ii  libncurses5      5.7-2ubuntu1            shared libraries for terminal hand
ii  os-prober        1.28ubuntu1             utility to detect other OSes on a

grub-pc recommends no packages.

-- debconf information:
* grub-pc/linux_cmdline:
* grub-pc/chainload_from_menu.lst: true


-- 
          Regards,
          Shirish Agarwal
  This email is licensed under http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17





More information about the Pkg-grub-devel mailing list