Bug#542423: [grub-pc] gfxmode set in /etc/default/grub does not show in grub.cfg

Hans-Georg Bork hgb at hgbhome.net
Wed Dec 9 00:43:52 UTC 2009


Package: grub-pc
Version: 1.97+20091130-1

Hi,

just another addition to this: any settng of GRUB_GFXMODE
in /etc/default/grub is silently ignored as well, since "set
gfxmode=640x480" is hardcoded in /etc/grub.d/00_header (line 80). I
belive this should be "set gfxmode=${GRUB_GFXMODE}".

gfxpayload should probably be set similar in /etc/default/grub
and /etc/grub.d/00_header ...

Regards
HG


*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set 7cdf8228-db9a-4ac6-a395-15eb70e69f89
if loadfont /share/grub/unicode.pf2 ; then
set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
set timeout=5
### END /etc/grub.d/00_header ###

<<remaining part removed, since irrelevant>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20091209/7bad3f6e/attachment.pgp>


More information about the Pkg-grub-devel mailing list