{"id":625,"date":"2018-07-07T05:10:00","date_gmt":"2018-07-07T12:10:00","guid":{"rendered":"https:\/\/kb.terabyteunlimited.com\/kb-articles\/grub-2-menu-not-shown-when-booting-linux\/"},"modified":"2021-09-07T15:36:41","modified_gmt":"2021-09-07T22:36:41","slug":"grub-2-menu-not-shown-when-booting-linux","status":"publish","type":"lsvr_kba","link":"https:\/\/www.terabyteunlimited.com\/kb\/kb-articles\/grub-2-menu-not-shown-when-booting-linux\/","title":{"rendered":"GRUB 2 Menu Not Shown When Booting Linux"},"content":{"rendered":"<p><strong><font color=\"#ff5500\">Problem:<\/font><\/strong> <\/p>\r\n  <p>The GRUB 2 menu is not shown when booting into a Linux installation.<\/p>\r\n  <p><strong><font color=\"#ff5500\">Cause:<\/font><\/strong> <\/p>\r\n  <p>By default, the GRUB 2 menu is hidden on many standard Linux installations.<\/p>\r\n  <p><strong><font color=\"#ff5500\">Solution:<\/font><\/strong><\/p>\r\n  <p>Depending on the system and the GRUB configuration, it may be possible to press ESC or hold the Shift key during startup to have the menu displayed. Otherwsie, you can edit the GRUB configuration options as detailed below.<\/p>\r\n  <p><strong>Instructions:<\/strong><\/p>\r\n  <ol>\r\n    <li>Open a terminal.<br \/>\r\n      <br \/>\r\n    <\/li>\r\n    <li>Open the<strong> \/etc\/default\/grub<\/strong> file in a text editor using root privileges or <strong>sudo<\/strong>. The command will vary depending on what editors are installed. For example, using <strong>gedit<\/strong> in Ubuntu:<br \/>\r\n      <font color=\"#008800\" face=\"Courier New, Courier, monospace\"><strong>sudo gedit \/etc\/default\/grub<\/strong><\/font>\r\n      <br \/>\r\n      <br \/>\r\n    <\/li>\r\n    <li>The file will open and show the current options. The first few lines of the file from an Ubuntu install are shown here:<br \/>\r\n      <font color=\"#008800\" face=\"Courier New, Courier, monospace\"><strong># If you change this file, run 'update-grub' afterwards to update<br \/>\r\n      # \/boot\/grub\/grub.cfg.<br \/>\r\n      # For full documentation of the options in this file, see:<br \/>\r\n      #   info -f grub -n 'Simple configuration'<br \/>\r\n      GRUB_DEFAULT=0<br \/>\r\n      GRUB_HIDDEN_TIMEOUT=0<br \/>\r\n      GRUB_HIDDEN_TIMEOUT_QUIET=true<br \/>\r\n      GRUB_TIMEOUT=10<br \/>\r\n      GRUB_DISTRIBUTOR=`lsb_release -i -s 2&gt; \/dev\/null || echo Debian`<br \/>\r\n      GRUB_CMDLINE_LINUX_DEFAULT=&quot;quiet splash&quot;<br \/>\r\n      GRUB_CMDLINE_LINUX=&quot;&quot;<\/strong><\/font><br \/>\r\n      <br \/>\r\n    <\/li>\r\n    <li>Comment out the <strong>GRUB_HIDDEN_TIMEOUT<\/strong> option by placing the <strong>#<\/strong> character at the beginning of the line: <br \/>\r\n      <font color=\"#008800\" face=\"Courier New, Courier, monospace\"><strong>#GRUB_HIDDEN_TIMEOUT=0<\/strong><\/font><br \/>\r\n      <br \/>\r\n      The menu will be displayed for the timeout period specified by the <strong>GRUB_TIMEOUT<\/strong> option. This option must be a positive integer value (default is 10 seconds). <br \/>\r\n      <font color=\"#008800\" face=\"Courier New, Courier, monospace\"><strong>GRUB_TIMEOUT=10\r\n      <\/strong><\/font><br \/>\r\n      <br \/>\r\n      If you would like the menu to remain on the screen until a selection is made you can set the value to -1:<br \/>\r\n      <font color=\"#008800\" face=\"Courier New, Courier, monospace\"><strong>GRUB_TIMEOUT=-1<\/strong><\/font><br \/>\r\n<br \/>\r\n    <\/li>\r\n    <li>Save the file and exit the editor.<br \/><br \/>\r\n    <\/li>\r\n    <li>From the terminal, run the <strong>update-grub<\/strong> command to update the GRUB files. This command must be run with root privileges or <strong>sudo<\/strong>.<br \/>\r\n      <font color=\"#008800\" face=\"Courier New, Courier, monospace\"><strong>sudo update-grub<\/strong><\/font>\r\n      <br \/>\r\n      <br \/>\r\n    <\/li>\r\n    <li>The GRUB menu will now be displayed as configured when booting the Linux installation.<\/li>\r\n  <\/ol>\r\n  <hr \/>\r\n  <p>The following link provides more details on the GRUB 2 options configured in this article as well as others:<br \/>\r\n    <a href=\"https:\/\/help.ubuntu.com\/community\/Grub2\/Setup#Configuring_GRUB_2\" target=\"_blank\" rel=\"noopener\">https:\/\/help.ubuntu.com\/community\/Grub2\/Setup#Configuring_GRUB_2<\/a>\r\n  <\/p>","protected":false},"excerpt":{"rendered":"<p>Problem: The GRUB 2 menu is not shown when booting into a Linux installation. Cause: By default, the GRUB 2 menu is hidden on many standard Linux installations. Solution: Depending on the system and the GRUB configuration, it may be possible to press ESC or hold the Shift key during startup to have the menu [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"lsvr_kba_cat":[1783],"lsvr_kba_tag":[2128],"class_list":["post-625","lsvr_kba","type-lsvr_kba","status-publish","hentry","lsvr_kba_cat-linux","lsvr_kba_tag-linux"],"_links":{"self":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/625","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba"}],"about":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/types\/lsvr_kba"}],"author":[{"embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/comments?post=625"}],"version-history":[{"count":1,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/625\/revisions"}],"predecessor-version":[{"id":6441,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/625\/revisions\/6441"}],"wp:attachment":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/media?parent=625"}],"wp:term":[{"taxonomy":"lsvr_kba_cat","embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba_cat?post=625"},{"taxonomy":"lsvr_kba_tag","embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba_tag?post=625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}