Bug#557130: grub2: update-grub do not works with gfxpayload

Felix Zielcke fzielcke at z-51.de
Fri Nov 20 07:32:24 UTC 2009


reassign 557130 grub-common
forcemerge 536453 557130
thanks

Am Donnerstag, den 19.11.2009, 15:20 -0300 schrieb Saulo Soares de
Toledo:
> Package: grub2
> Version: 1.97+20091115-1
> Severity: normal
> 
> Grub2 in Debian do not allow the use of "set gfxpayload" option indo
> grub.cfg, update-grub command remove it if the configuration is
> manual.
> 
> gfxpayload allow us change the console resolution, but Debian default
> files
> do not have this option to use with.
> 
> A possible solution:
> 1) Into /etc/grub.d/00_header, add "set gfxmode=${GRUB_GFXPAYLOAD}"

This has to be set gfxpayload=
Using gfxmode with GRUB_GFXPAYLOAD variable doestn't make any sense.
for gfxmode there's already GRUB_GFXMODE.

> 2) Into /etc/default/grub, add "GRUB_GFXPAYLOAD=keep"
> "keep" is the default option for gfxpayload, it will get the value of
> "gfxmode"
> 
> And now, if we need another resolution, we can edit /etc/default/grub
> and
> put another resolution for the console. Examples:
> 
> GRUB_GFXPAYLOAD=1280x1024
> GRUB_GFXPAYLOAD=1024x768
> 
> 
> After run "update-grub" or "update-grub2", the gfxpayload option will
> works
> correctily.
> 
> Or if there are another way to solve this in Debian, let me know.
> 
> Thanks

See #536453, this has been even forwarded with a patch already upstream.
But the patch submitter disappeared. Which is with GNU projects not
really a good way to get your patch commited.
And our policy for the Debian package is to have everything which is
useful for upstream too commited upstream.
With GRUB Legacy we already made the mistake to include too much things
inside Debian which would also make sense for upstream and then we have
to maintain all the things without help.

Anyway, currently there isn't any support for it inside grub-mkconfig.
So either modify 00_header or just copy 40_custom to for example
05_gfxpayload and put it there.

-- 
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer






More information about the Pkg-grub-devel mailing list