I've successfully installed Gentoo as a VirtualBox Guest VM following the handbook (http://www.gentoo.org/doc/en/handbook/handbook-x86.xml). Everything in order, but I want to change the default resolution of my console, after grub2 loads.
But, when changing my /etc/default/grub
file and adding:
GRUB_GFXPAYLOAD_LINUX=keep
.. the system successfully starts grub2, but then hangs when loading the kernel. On-screen it just displays 'Loading kernel such-and-such'.
Since the liveCD image has no problem with running the console in a higher resolutions, it seems I'm missing a driver, or forgot something when compiling the kernel. But reading up on Grub2 and Gentoo documentation for a while now, I can't figure out what is missing, and how to troubleshoot this issue further.
And, for the record:
- Gentoo Base System release 2.2
- Linux kernel 3.10.25-gentoo
- After changing the
/etc/default/grub
file, I of course rungrub2-mkconfig -o /boot/grub/grub.cfg
and check for the message 'Found linux image [..]
'.) to determine the change togrub.cfg
was made successfully - When I configure a higher resolution for grub2 only, and omit the
GRUB_GFXPAYLOAD_LINUX=keep
option, the system boots normally (in the default, low resolution). And grub2 uses the higher resolution correctly - The resolution I want to use (
1024x768x32
) is listed in the grub2vbeinfo
output - When I configure any value for
GRUB_GFXPAYLOAD_LINUX
, like640x480x32
, the system also freezes when loading the kernel
Any help or hints would be much appreciated!
GRUB_GFXMODE=1024x768x32
andGRUB_GFXPAYLOAD=1024x768x32