How to change the screen resolution of the Grub boot menu on Ubuntu

Is the font size in the boot boot menu too small or too large? You can easily fix it by setting the appropriate screen resolution in the Ubuntu Grub boot menu.

1.) What video modes does my graphics card support?

Before you start configuring the Grub bootloader, you need to know the supported video modes.

a.) hwinfo The command has an option to display information. However, nothing is displayed. You can try it by opening a terminal (Ctrl + Alt + T) and running the command.

                      sudo apt install hwinfo && hwinfo --framebuffer

b.) If howinfo Does not work, use videoinfo Instead, it runs in the Grub command console.

First, reboot the machine. In Grub’s boot menu, press c to enter the command console.

Then run the command videoinfo to list the supported video modes.

Take a picture of the output or write down the desired resolution (for example, 1024x768x32 or 1280x1024x32).

Finally, run exit to return to the boot menu.

2.) Set a custom screen resolution for the Grub boot menu.

Start Ubuntu, open a terminal from the system app launcher and run commands to edit the Grub configuration file.

                      sudo gedit /etc/default/grub

Next, change the value of “GRUB_GFXMODE” to set the screen resolution. For example, set 1024x768x32 (32 means 32-bit color) in the following way:


You can specify multiple resolutions.The default is auto ..

You can also set it from Grub Customizer on the Appearance page without running the command.

3.) Update grub to apply your changes.

If you have changed your solution with Grub Customizer, just click the Save button. Alternatively, open a terminal and run the command to update grub.

                      sudo update-grub

that’s all. pleasant!

Share this:

  • More

Related Posts