Fix GRUB bitmap error: switch from PNG to TGA for splash logo
GRUB's PNG reader (grub2 bookworm) fails to load bee-logo.png despite the file being valid RGB 8-bit non-interlaced PNG with minimal chunks. Root cause is a known fragility in GRUB's png.c; exact trigger is unknown. Switch to uncompressed 24-bit TGA which bypasses the PNG parser entirely. tga.mod is already present in the ISO (x86_64-efi/tga.mod). - Convert bee-logo.png → bee-logo.tga (480018 bytes, BGR top-left) - config.cfg: insmod png → insmod tga - theme.txt: bee-logo.png → bee-logo.tga - Document all prior failed attempts in git-bible/grub-bitmap-error.md Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -27,5 +27,5 @@ insmod gfxterm
|
||||
terminal_input console serial
|
||||
terminal_output gfxterm serial
|
||||
|
||||
insmod png
|
||||
insmod tga
|
||||
source /boot/grub/theme.cfg
|
||||
|
||||
BIN
iso/builder/config/bootloaders/grub-efi/live-theme/bee-logo.tga
Normal file
BIN
iso/builder/config/bootloaders/grub-efi/live-theme/bee-logo.tga
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 469 KiB |
@@ -9,7 +9,7 @@ terminal-font: "Unifont Regular 16"
|
||||
+ image {
|
||||
top = 4%
|
||||
left = 50%-200
|
||||
file = "bee-logo.png"
|
||||
file = "bee-logo.tga"
|
||||
}
|
||||
|
||||
#help bar at the bottom
|
||||
|
||||
Reference in New Issue
Block a user