# Use a simple linear framebuffer appropriate to the platform if support
# for it is known to be built into the kernel. We need it to be built-in
# rather than modular, as otherwise early output from the kernel won't
# work.
Sorry I made an error in my cut and paste
if [ "x$GRUB_GFXPAYLOAD_LINUX" = x ]; then
cat << EOF
load_video
EOF
if [ "x$LINUX_CONFIG_FB" != x ] \
&& grep -qx "$LINUX_CONFIG_FB=y" /boot/config-${version} 2> /dev/null \
&& grep -qx "CONFIG_VT_HW_CONSOLE_BINDING=y" /boot/config-${version} 2> /dev/null; then
cat << EOF
set gfxpayload=text # change keep to text?
EOF
fi
else
cat << EOF
set gfxpayload=$GRUB_GFXPAYLOAD_LINUX
EOF
fi
# Use a simple linear framebuffer appropriate to the platform if support
# for it is known to be built into the kernel. We need it to be built-in
# rather than modular, as otherwise early output from the kernel won't
# work.
Sorry I made an error in my cut and paste
if [ "x$GRUB_ GFXPAYLOAD_ LINUX" = x ]; then CONFIG_ FB=y" /boot/config- ${version} 2> /dev/null \ VT_HW_CONSOLE_ BINDING= y" /boot/config- ${version} 2> /dev/null; then $GRUB_GFXPAYLOA D_LINUX
cat << EOF
load_video
EOF
if [ "x$LINUX_CONFIG_FB" != x ] \
&& grep -qx "$LINUX_
&& grep -qx "CONFIG_
cat << EOF
set gfxpayload=text # change keep to text?
EOF
fi
else
cat << EOF
set gfxpayload=
EOF
fi