{"id":33857,"date":"2021-05-29T17:13:43","date_gmt":"2021-05-29T17:13:43","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=33857"},"modified":"2021-05-29T17:13:43","modified_gmt":"2021-05-29T17:13:43","slug":"screen-resolution-grub-boot-menu-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2021\/05\/screen-resolution-grub-boot-menu-ubuntu\/","title":{"rendered":"How to Change Screen Resolution of Grub Boot Menu in Ubuntu"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/10\/grub-customizer-newicon.png\" alt=\"\" width=\"245\" height=\"250\" class=\"alignleft size-full wp-image-8255\" \/><\/p>\n<p>The font size of startup boot menu is too small or too large? It&#8217;s easy to fix by setting an appropriate screen resolution for the Grub boot-menu in Ubuntu.<\/p>\n<p><b>1.) Tell which video modes your graphics card support.<\/b><\/p>\n<p>Before starting to configure the Grub bootloader, you firstly need to know which video modes are supported. <\/p>\n<p>a.) The <code>hwinfo<\/code> command has an option to display the information. It however show me nothing. You can try it by opening <i>terminal<\/i> (Ctrl+Alt+T) and run command:<\/p>\n<pre style=\"border:none;\">sudo apt install hwinfo && hwinfo --framebuffer<\/pre>\n<p>b.) If <code>howinfo<\/code> does not work, use <code>videoinfo<\/code> instead which however runs in Grub command console.<\/p>\n<p>Firstly restart your machine. When you&#8217;re at Grub boot-menu, press <b>c<\/b> to get into command console.<\/p>\n<p>Next run command <b>videoinfo<\/b> to list supported video modes.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/videoinfo-output.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/videoinfo-output-600x242.jpg\" alt=\"\" width=\"600\" height=\"242\" class=\"aligncenter size-large wp-image-33858\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/videoinfo-output-600x242.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/videoinfo-output-300x121.jpg 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/videoinfo-output-768x310.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/videoinfo-output.jpg 806w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Take a picture of the output, or write down your desired resolution, e.g., 1024x768x32 and 1280x1024x32.<\/p>\n<p>Finally run <b>exit<\/b> to get back boot menu.<\/p>\n<p><b>2.) Set a custom screen resolution for Grub boot menu:<\/b><\/p>\n<p>Now boot into Ubuntu, open terminal from system app launcher, and run command to edit the Grub configuration file:<\/p>\n<pre style=\"border:none;\">sudo gedit \/etc\/default\/grub<\/pre>\n<p>Next set a screen resolution by changing value of &#8220;GRUB_GFXMODE&#8221;. For instance, set <b>1024x768x32<\/b> (<i>32 means 32-bit color<\/i>) via:<\/p>\n<pre style=\"background:none;\">GRUB_GFXMODE=1024x768x32,auto<\/pre>\n<p><i>Multiple resolutions can be specified, the default is <code>auto<\/code>.<\/i><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/grub-resolution.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/grub-resolution-600x344.jpg\" alt=\"\" width=\"600\" height=\"344\" class=\"aligncenter size-large wp-image-33859\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/grub-resolution-600x344.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/grub-resolution-300x172.jpg 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/grub-resolution-768x440.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/grub-resolution.jpg 1081w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><b>Without running command<\/b>, you can also set it via <b>Grub Customizer<\/b> under its &#8216;Appearance settings&#8217; page.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/grubcustomizer-resolution.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/grubcustomizer-resolution-600x390.jpg\" alt=\"\" width=\"600\" height=\"390\" class=\"aligncenter size-large wp-image-33860\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/grubcustomizer-resolution-600x390.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/grubcustomizer-resolution-300x195.jpg 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/grubcustomizer-resolution-768x499.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/grubcustomizer-resolution.jpg 809w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><b>3.) Update grub to apply change:<\/b><\/p>\n<p>If changed the solution via Grub Customizer, simply click on &#8220;Save&#8221; button. Or, open terminal and run command to update grub:<\/p>\n<pre style=\"border:None;\">sudo update-grub<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/update-grub-focal.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/update-grub-focal-600x311.jpg\" alt=\"\" width=\"600\" height=\"311\" class=\"aligncenter size-large wp-image-33861\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/update-grub-focal-600x311.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/update-grub-focal-300x156.jpg 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/update-grub-focal-768x398.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/update-grub-focal.jpg 771w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>That&#8217;s all. Enjoy!<\/p>","protected":false},"excerpt":{"rendered":"<p>The font size of startup boot menu is too small or too large? It&#8217;s easy to fix by setting an appropriate screen resolution for the Grub boot-menu in Ubuntu. 1.) Tell which video modes your graphics card support. Before starting to configure the Grub bootloader, you firstly need to know which video modes are supported. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":32671,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[2034],"class_list":["post-33857","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-grub"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/33857","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=33857"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/33857\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/32671"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=33857"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=33857"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=33857"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}