[Splashy-devel] Bug#539239: grub2 deprecated vga=, splashy sort of needs it
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Wed Nov 25 23:03:42 UTC 2009
Hi,
Something like this works for me:
--- .splashy.00 2009-04-18 21:41:24.000000000 +0200
+++ splashy 2009-11-25 23:41:28.000000000 +0100
@@ -83,6 +83,10 @@
;;
esac
done
+ # grub2 gfxmode?
+ [ "$FBMODESET" != "true" ] && [ -f /boot/grub/grub.cfg ] && \
+ grep -q "^[[:space:]]*set[[:space:]]*gfxmode=" /boot/grub/grub.cfg && \
+ FBMODESET="true"
[ "$SPLASH" = "true" -a "$FBMODESET" = "true" ] && ENABLE=1
[ "$SINGLE" = "true" ] && ENABLE=0
for grub2 to play nicely with splashy (or other such apps), we have to
"set gfxpayload=keep" as suggested elsewhere:
# diff -u /etc/grub.d/{.*,}00_header
--- /etc/grub.d/.old.00_header 2009-11-25 23:56:28.000000000 +0100
+++ /etc/grub.d/00_header 2009-11-25 23:50:58.000000000 +0100
@@ -76,6 +76,7 @@
cat << EOF
if loadfont `make_system_path_relative_to_its_root ${GRUB_FONT_PATH}` ; then
set gfxmode=${GRUB_GFXMODE}
+ set gfxpayload=keep
insmod gfxterm
insmod ${GRUB_VIDEO_BACKEND}
if terminal_output gfxterm ; then true ; else
now if only grub2-config would use update-alternatives(8) to configure
05_debian_theme's theme file. One wouldn't need to sync the required
resolution to grub gfx, splashy and the desktop manually. Oh well ;)
HTH,
More information about the Splashy-devel
mailing list