1

What is the correct format for the GRUB_GFXMODE variable in /etc/default/grub?

Should it have a dash before the color depth?...

GRUB_GFXMODE=1920x1200-24

Or, should it use an "x" before the color depth?...

GRUB_GFXMODE=1920x1200x32

Also, should the color depth be "32" or "24" ?

1
  • 1
    It should be an "x". You can use any valid number, I doubt you will notice any difference between 24 and 32 bit in grub or the console. – Panther Mar 24 '15 at 1:04
1

The correct syntax is to use an x:

widthxheightxdepth

Interestingly, at the top of the file it mention a command to get help with this file :)

info -f grub -n 'Simple configuration'

This command will give you the following information at 15.1.10:

screenshoot

There is also web documentation in HTML format.

About the depth value, as long as it is an integer you'd be fine :-)

2
  • I did review the info file, but didn't see that. Thanks for finding this and posting the image and documentation link! – PJ Singh Mar 24 '15 at 1:20
  • No problem, glad it helped! BTW, I don't blame you about that, the resolution section was down under, a lot of scrolling to reach it :) – Lucio Mar 24 '15 at 3:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.