Bug#659813: grub-pc: since upgrading to sid (13/2/2011) grub splashscreen doesn't work

2012-03-11 Thread Martin Steigerwald
Package: grub-pc
Version: 1.99-17
Followup-For: Bug #659813

Dear Maintainer,

I can confirm this, but I am not so exactly sure since when this is the
case, but I think it started in the recent weeks.

Additionally to the missing background image also setting a resolution
is not working anymore. If wished, I report a different bug about this.

Expected results:

Background image and resolution settings are respected.


This is on a ThinkPad T520 with Full HD display.


Although a /boot/efi partition is available, I do not use EFI at the
moment since I didn´t get it to at least try to boot the OS. The BIOS
just always seems to think there is nothing to boot from with EFI.
Wether with MBR or GPT. MBR is in use right now.


Background image and unicode font exist:

martin@merkaba:~> grep unicode /boot/grub/grub.cfg
if loadfont /usr/share/grub/unicode.pf2 ; then
martin@merkaba:~> LANG=C stat /usr/share/grub/unicode.pf2
  File: `/usr/share/grub/unicode.pf2'
  Size: 2560080 Blocks: 5008   IO Block: 4096   regular file
Device: 11h/17d Inode: 33937   Links: 1
Access: (0644/-rw-r--r--)  Uid: (0/root)   Gid: (0/root)
Access: 2012-03-07 15:47:57.0 +0100
Modify: 2012-03-06 20:21:46.0 +0100
Change: 2012-03-07 15:48:33.937976644 +0100
 Birth: -
martin@merkaba:~> grep "\.png" /boot/grub/grub.cfg
if background_image 
/usr/share/images/desktop-base/spacefun-grub-widescreen.png; then
martin@merkaba:~> LANG=C stat 
/usr/share/images/desktop-base/spacefun-grub-widescreen.png
  File: `/usr/share/images/desktop-base/spacefun-grub-widescreen.png'
  Size: 106517  Blocks: 216IO Block: 4096   regular file
Device: 11h/17d Inode: 284719  Links: 1
Access: (0644/-rw-r--r--)  Uid: (0/root)   Gid: (0/root)
Access: 2011-12-21 14:09:06.089836809 +0100
Modify: 2011-10-14 21:44:10.0 +0200
Change: 2011-12-21 14:09:06.089836809 +0100
 Birth: -
martin@merkaba:~> file 
/usr/share/images/desktop-base/spacefun-grub-widescreen.png
/usr/share/images/desktop-base/spacefun-grub-widescreen.png: PNG image data, 
1440 x 900, 8-bit/color RGBA, non-interlaced


I have:

*** BEGIN /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="threadirqs"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=1920x1080

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
*** END /etc/default/grub

and

martin@merkaba:~> LANG=C update-alternatives --display desktop-grub
desktop-grub - manual mode
  link currently points to 
/usr/share/images/desktop-base/spacefun-grub-widescreen.png
/usr/share/images/desktop-base/moreblue-orbit-grub.png - priority 10
/usr/share/images/desktop-base/spacefun-grub-widescreen.png - priority 14
/usr/share/images/desktop-base/spacefun-grub.png - priority 15
Current 'best' version is '/usr/share/images/desktop-base/spacefun-grub.png'.

Thanks,
Martin

-- Package-specific info:

*** BEGIN /proc/mounts
/dev/mapper/merkaba-debian / btrfs 
rw,noatime,compress=lzo,ssd,space_cache,inode_cache 0 0
/dev/sda3 /boot ext4 
rw,noatime,user_xattr,acl,barrier=1,stripe=128,data=ordered 0 0
/dev/sda2 /boot/efi vfat 
rw,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=utf8,shortname=mixed,errors=remount-ro
 0 0
/dev/mapper/merkaba-home /home ext4 
rw,noatime,user_xattr,acl,barrier=1,stripe=128,data=ordered 0 0
*** END /proc/mounts

*** BEGIN /boot/grub/device.map
(hd0)   /dev/disk/by-id/ata-INTEL_SSDSA2CW300G3_[…]
(hd1)   /dev/disk/by-id/usb-TinyDisk_2007-05-12[…9
*** END /boot/grub/device.map

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

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_

Bug#659813: grub-pc: since upgrading to sid (13/2/2011) grub splashscreen doesn't work

2012-02-13 Thread John Hughes
Package: grub-pc
Version: 1.99-14
Severity: normal

Dear Maintainer,

I can't get grub to show the pretty debian splashscreen

-- Package-specific info:

*** BEGIN /proc/mounts
/dev/mapper/coal-root / ext3 
rw,relatime,errors=remount-ro,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/md126p5 /boot ext3 
rw,relatime,errors=continue,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/mapper/coal-home /home ext3 
rw,relatime,errors=continue,user_xattr,acl,barrier=1,data=ordered 0 0
*** END /proc/mounts

*** BEGIN /boot/grub/device.map
(hd0)   /dev/disk/by-id/ata-SAMSUNG_MZRPC256HADR-000SO_S0T5NY0BA01617
(hd1)   /dev/disk/by-id/ata-SAMSUNG_MZRPC256HADR-000SO_S0T5NY5BA01617
(hd2)   /dev/disk/by-id/md-uuid-e32e0439:7c03631e:a6ee5474:aed5fb87
*** END /boot/grub/device.map

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

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
  fi
}

function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

set timeout=5
### END /etc/grub.d/00_header ###

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

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, with Linux 3.2.0-1-amd64' --class debian --class 
gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd2,msdos5)'
search --no-floppy --fs-uuid --set=root 
c80f0960-e576-4704-86a8-fd5f8a01df21
echo'Loading Linux 3.2.0-1-amd64 ...'
linux   /vmlinuz-3.2.0-1-amd64 root=/dev/mapper/coal-root ro  quiet
echo'Loading initial ramdisk ...'
initrd  /initrd.img-3.2.0-1-amd64
}
menuentry 'Debian GNU/Linux, with Linux 3.2.0-1-amd64 (recovery mode)' --class 
debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd2,msdos5)'
search --no-floppy --fs-uuid --set=root 
c80f0960-e576-4704-86a8-fd5f8a01df21
echo'Loading Linux 3.2.0-1-amd64 ...'
linux   /vmlinuz-3.2.0-1-amd64 root=/dev/mapper/coal-root ro single 
echo'Loading initial ramdisk ...'
initrd  /initrd.img-3.2.0-1-amd64
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows Recovery Environment (loader) (on /dev/md126p1)" --class 
windows --class os {
insmod part_msdos
insmod ntfs
set root='(hd2,msdos1)'
search --no-floppy --fs-uuid --set=root FC903F88903F4902
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Windows 7 (loader) (on /dev/md126p2)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(hd2,msdos2)'
search --no-floppy --fs-uuid --set=root 88C043A6C0439978
chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
*** END /boot/grub/grub.cfg

*** BEGIN /proc/mdstat
Personalities : [raid0] 
md126 : active raid0 sda[1] sdb[0]
  250064896 blocks super external:/md127/0 128k chunks
  
md127 : inactive sda[1](S) sdb[0](S)
  4520 blocks super external:imsm
   
unused devices: 
*** END /proc/mdstat

*** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root  9 Feb 13 21:15 
ata-SAMSUNG_MZRPC256HADR-000SO_S0T5NY0BA01617 -> ../../sda
lrwxrwxrwx 1 root root  9 Feb 13 21:15 
ata-SAMSUNG_MZRPC256HADR-000SO_S0T5NY5BA01617 -> ../../sdb
lrwxrwxrwx 1 root root 10 Feb 13 22:15 dm-name-coal-home -> ../../dm-3
lrwxrwxrwx 1 root root 10 Feb 13 22:15 dm-name-coal-root -> ../../dm-1
lrwxrwxrwx 1 root root 10 Feb 13 22:15 dm-name-coal-swap -> ../../dm-2
lrwxrwxrwx 1 root root 10 Feb 13 22:15 dm-name-md126p6_crypt -> ../../dm-0
lrwxrwxrwx 1 root root 10 Feb 13 22:15 
dm-uuid-CRYPT-LUKS1-e4dd8c41b9384b439f5837186c17268d-md126p6_crypt -> ../../dm-0
lrwxrwxrwx 1 root root 10 Feb 13 2