On Wed, Jan 20, 2010 at 04:00:44PM +0100, Robert Millan wrote:
> But it seems we need to do a better job at ensuring Linux was built with
> the necessary options, otherwise it can get confused.

Would you please try attached patch and regenerate grub.cfg ?

It can be applied directly to /etc/grub.d/10_linux

-- 
Robert Millan

  "Be the change you want to see in the world" -- Gandhi
=== modified file 'util/grub.d/10_linux.in'
--- util/grub.d/10_linux.in	2010-01-14 14:04:44 +0000
+++ util/grub.d/10_linux.in	2010-01-20 15:14:24 +0000
@@ -53,6 +53,11 @@ linux_entry ()
   version="$2"
   recovery="$3"
   args="$4"
+  if ! grep -qx "CONFIG_FB_VESA=y" /boot/config-${version} 2> /dev/null ; then
+    cat << EOF
+	set gfxpayload=text
+EOF
+  fi
   if ${recovery} ; then
     title="$(gettext "%s, with Linux %s (recovery mode)")"
   else

Reply via email to