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

Package:
grub-pc
Source:
grub2
Description:
GRand Unified Bootloader, version 2 (PC/BIOS version)
Submitter:
John Hughes
Date:
2013-09-20 16:00:05 UTC
Severity:
normal
#659813#5
Date:
2012-02-13 21:22:52 UTC
From:
To:
Dear Maintainer,

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

#659813#10
Date:
2012-03-11 10:39:53 UTC
From:
To:
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.000000000 +0100
Modify: 2012-03-06 20:21:46.000000000 +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: 216        IO 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.000000000 +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

#659813#15
Date:
2012-07-24 17:08:39 UTC
From:
To:
Hi,

I'm not sure this is the same bug, but it's probably related.

Squeeze, and now wheezy, can't find grub's splash screen or
international fonts during installation, if they are on encrypted
partitions at that time (I noticed this behavior on all laptops I
installed squeeze or wheezy on).

If grub-pc is re-configured after first boot, the splash screen and the
font are copied to /boot. Running update-grub or grub-install wasn't
enough, I had to dpkg --reconfigure grub-pc to make it work.

Since OP's partitions are /dev/mapper/XXX, much like a classical
encrypted setup (LVM inside a LUKS partition), I think both problems may
have the same origin.

Regards,

#659813#20
Date:
2013-09-20 15:43:14 UTC
From:
To:
I see this bug whenever I configure a system with an encrypted disk.

And his "dpkg-reconfigure grub-pc" workaround "fixes" the problem.