On Thu,24.Dec.09, 20:29:19, Tom H wrote: > > > Sorry for the vagueness, but as I'm at work I can't look into > > /etc/grub/default or /etc/grub.d/debian-05 ... hopefully its enough to > > google the exact commands. > > I think that you mean "set gfxpayload=keep". I did not mention it > because it has not worked for me (my boot-up stops with a black > screen) but I have seen various sites that recommend it.
That would (should?) work if you also set $GRUB_GFXMODE to the desired mode (which resulted in strange effects for me). I'm using "GRUB_GFXPAYLOAD=1680x1050x8" instead with the attached patch (based on the patch in [0]) that I keep in /root and apply after every update of the grub package. WARNING: due to some recent changes in the grub package the patch needs some refreshing, but I'm not familiar enough with diff/patch to regenerate it. Use only if you know how the resulting grub.cfg should look like. [0] http://savannah.gnu.org/bugs/?27094 Regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
diff -Naur debian/default/grub grub2-1.96+20090725.new/debian/default/grub --- ../etc/default/grub 2009-07-22 13:08:36.000000000 -0430 +++ ../etc/default/grub 2009-07-22 13:07:32.014658923 -0430 @@ -6,6 +6,9 @@ GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet" GRUB_CMDLINE_LINUX="" +# Uncomment this to enable a higher resolution in kernel boot process +GRUB_GFXPAYLOAD=1680x1050x8 + # Uncomment to disable graphical terminal (grub-pc only) #GRUB_TERMINAL=console diff -Naur grub2-1.96+20090725/util/grub.d/10_linux.in grub2-1.96+20090725.new/util/grub.d/10_linux.in --- ../etc/grub.d/10_linux 2009-07-22 13:09:21.302668116 -0430 +++ ../etc/grub.d/10_linux 2009-07-22 09:35:42.428593815 -0430 @@ -94,6 +94,11 @@ prepare_boot_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed -e "s/^/\t/")" fi printf '%s\n' "${prepare_boot_cache}" + if [ "x$5" != "x" ]; then + cat << EOF + set gfxpayload=$5 +EOF + fi cat << EOF linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args} EOF @@ -136,9 +141,14 @@ # "UUID=" magic is parsed by initrds. Since there's no initrd, it can't work here. linux_root_device_thisversion=${GRUB_DEVICE} fi - - linux_entry "${OS}" "${version}" false \ - "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}" + if [ "x${GRUB_GFXPAYLOAD}" = "x" ]; then + linux_entry "${OS}" "${version}" false \ + "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}" + else + linux_entry "${OS}" "${version}" false \ + "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}" \ + "${GRUB_GFXPAYLOAD}" + fi if [ "x${GRUB_DISABLE_LINUX_RECOVERY}" != "xtrue" ]; then linux_entry "${OS}" "${version}" true \ "single ${GRUB_CMDLINE_LINUX}" diff -Naur grub2-1.96+20090725/util/grub-mkconfig.in grub2-1.96+20090725.new/util/grub-mkconfig.in --- ../usr/sbin/grub-mkconfig 2009-08-26 12:38:51.000000000 +0300 +++ ../usr/sbin/grub-mkconfig 2009-08-26 15:15:47.000000000 +0300 @@ -224,7 +224,8 @@ GRUB_DISABLE_LINUX_UUID \ GRUB_DISABLE_LINUX_RECOVERY \ GRUB_GFXMODE \ - GRUB_DISABLE_OS_PROBER + GRUB_DISABLE_OS_PROBER \ + GRUB_GFXPAYLOAD if test "x${grub_cfg}" != "x"; then rm -f ${grub_cfg}.new
signature.asc
Description: Digital signature