Bug#541273: grub-pc: vga= kernel command line option has no effect when grub runs in console mode

Johannes Stezenbach js at sig21.net
Wed Nov 11 14:18:01 UTC 2009


On Tue, Nov 10, 2009 at 07:32:40PM +0100, Felix Zielcke wrote:
> Am Dienstag, den 10.11.2009, 19:09 +0100 schrieb Johannes Stezenbach:
> > 
> > PS: I tried GRUB_GFXMODE=1600x1200x32 without GRUB_TERMINAL=console,
> > but grub2 then just appears in a small rectangle in the upper left
> > corner of the screen.  I'd prefer text mode for grub, but if graphics
> > mode would work in a useful way I'd just use that.
> > 
> 
> Then you're probable using the Debian image (or some other) which
> doestn't have a resolution of 1600x1200x32
> Either try just without any or with a png/tga/jpg image of that size.

cp /usr/share/images/desktop-base/moreblue-orbit-wallpaper.png /boot/grub/moreblue-orbit-grub.png
got me a nice fullscreen grub, but with the interesting part (the boot menu)
still in he upper left corner. I'd prefer a 640x480 grub in the center of the screen.

However, I found that Linux vesafb still doesn't work unless I set
gfxpayload=1600x1200x32 (which I have to do because vga=0x376 is
not supported by grub2). So it seems gfxpayload should always
be set identical to gfxmode (when GRUB_GFXMODE is set in /etc/default/grub).

Some other oddities:
- /etc/grub.d/05_debian_theme refers to /usr/share/desktop-base/grub_background.sh
  which doesn't exist (but see bug #550984)
- even if grub_background.sh would exist, there is no way for the user
  to override the background, e.g. via /etc/defaults/grub
  (or maybe I didn't get this right -- is the user supposed to
  copy the background imange manually to /etc/grub ?)
- if I go to the grub command line and enter a few commands
  like vbeinfo, lsmod, set, I find that the screen scrolls in slow motion


Thanks
Johannes





More information about the Pkg-grub-devel mailing list