Bug#604699: grub2: Fails to enable the background image with encrypted LVM

Alexander Kurtz kurtz.alex at googlemail.com
Tue Feb 8 21:09:05 UTC 2011


# grub2 is a dummy transitional package nowadays
reassign 461851 grub-pc

# see below
forcemerge 605705 604699
thanks

Am Dienstag, den 23.11.2010, 16:47 +0100 schrieb Cyril Brulebois:
> even with a fresh grub-pc/grub2 (re)installation, grub can't set the
> background image, because is_path_readable_by_grub() on the file (as set
> by desktop-base, i.e. desktop-grub.png pointing to spacefun) fails,
> because grub-probe fails.
> 
> I presume this is due to its accessing /dev/sda$foo directly, which is
> an encrypted LVM. As a workaround, I tried copying the wallpaper under
> /boot/grub (which is on a separate, non-encrypted partition), which
> worked fine. For reference, the snippet I used in 05_debian_theme:
[...]
> 
> I'm no grub guru, so I can't tell about the possible impact of such a
> chance, but I'd tend to think it might be reasonable to:
>  - test whether the path is readable;
>  - if it's not, attempt a copy to /boot/grub, adapt $WALLPAPER, and try
>    again.
> 
> What do you think?

I think that's exactly what I did to fix #605705[1]. Do you agree?

Best regards

Alexander Kurtz

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605705

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20110208/69df6c81/attachment.pgp>


More information about the Pkg-grub-devel mailing list