Bug#538060: [grub-pc] vga=XXX is ignored at boot

Valerio Passini valerio.passini at unicam.it
Thu Jul 23 22:55:12 UTC 2009


Alle mercoledì 22 luglio 2009, Felix Zielcke ha scritto:
> Am Mittwoch, den 22.07.2009, 21:21 +0200 schrieb Valerio Passini:
> > I think that this is a separate and minor problem in respect to bug
> > 535026, thus I'm writing this bug report.
> > I have upgraded to grub2 because of its support to ext4 / partition and
> > tried to replicate the behavior of its predecessor. The option that seems
> > to be completely ignored is vga=865 (i.e:1280x800), I have also tried to
> > use set gfxpayload=1280x800x32 as suggested at boot time by grub since a
> > message warns that vga=XXX is deprecated, but the situation didn't
> > improve.
> > Given that I'm not so experienced to put my hands on the scripts inside
> > /etc/grub.d/ and the documentation on grub2 is almost missing, there is
> > something that I'm doing wrong or is this a minor bug? How can I help to
> > fix?
> > Cheers
> >
> > Valerio
>
> Hi,
>
> vga=865 (0x361) is for the new linux loader 1440x900x15 so that just
> can't work for you.
> But gfxpayload should.
> Check with vbeinfo in grub2 cmdline if it lists 1280x800x32. Maybe it
> just lists x24 and you have to adjust it.

Sorry for replying just now, the antispam system has made a mistake...
Let's go to the point. I have tried vbeinfo and it seems aware of 1280x800x32 
capability of my video board (nvidia 8600 gs). I'm trying to set this option  
just before boot by editing the corresponding line, something like:

	set root=(hd0,2)
	set gfxpayload=1280x800x8/32
	search --no-floppy --fs-uuid --set 10d77f64-fdcc-47a0-92f3-507fd91f798f
	linux	/boot/vmlinuz-2.6.30.2 root=UUID=10d77f64-fdcc-47a0-92f3-507fd91f798f ro 
rootfstype=ext4 quiet
	initrd	/boot/initrd.img-2.6.30.2

The console boots at 640x480 as always.
Just one note: I have chosen vga=865 in grub-legacy because it was the only 
parameter that made the console run at 1280x800. This is a known problem, see 
notes on http://en.wikipedia.org/wiki/VESA_BIOS_Extensions. If there is any 
other parameter that would fit my purpose of having a console 1280x800x16/32, I 
would be really happy to know. Bye





More information about the Pkg-grub-devel mailing list