Grub2 menu resolution weirdness

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
colin_e

Grub2 menu resolution weirdness

Post by colin_e »

Hardware: Asus M4A88T-D/USB3 Motherboard with onboard AMD Radeon 4250
OS: Linux Mint 10
Driver: Default X drivers (no AMD proprietary drivers installed)

I was trying to get the boot menu looking reasonable on my 1920x1200 (16:10 aspect ratio) display.

The first problem is resolutions in Grub2 have to be set with VESA modes, and there are almost no widescreen resolutions supported. More strange than that though was that the resolution i actually got seemed to have little to do with what I configured!

Examples:

GRUB_GFXMODE=640x480
Result: 640x480 (BIOS default startup res.)

GRUB_GFXMODE=720x400
Result: 1280x1024 (where did that come from?)

GRUB_GFXMODE=640x400x32
Result: 1920x1200 (according to vbeinfo this resolution isn't supported as a VESA mode, but there it was!)

In the end I decided that the full-res screen had such tiny text it looked strange after the BIOS messages, so i've gone back to a boring old text console for the boot menu. I'm still curious to know what's going on with GRUB2 GRUB_GFXMODE though.

Regards: colin_e
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
seeley

Re: Grub2 menu resolution weirdness

Post by seeley »

Hi!
You know that you must edit the file /etc/default/grub to take effect forever:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=8
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
...
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=800x600...
and run

Code: Select all

sudo update-grub
afterwards?
seeley
colin_e

Re: Grub2 menu resolution weirdness

Post by colin_e »

Re: You know to...

Yup. I was setting GRUB_GFXMODE in /etc/default/grub and running update-grub, which how I was getting some effect on resolution. I don't know whether the AMD 4250 does something weird in the way it interprets VESA modes, but the results of setting a mode seem to have little to do what the mode code says the resolution should be. Very strange.
Locked

Return to “Installation & Boot”