Why is Grub menu not shown when starting my computer?












10















I am a new user of Ubuntu 12.04.



I installed Ubuntu and Windows XP, and I want to use both operating systems. When I restart or boot my PC the GRUB menu does not appear.



How can I solve this problem?










share|improve this question




















  • 1





    Could you add some more details - Does your PC boot straight to Ubuntu without showing grub? Or does it boot straight to XP without showing grub? Are there any errors or messages displayed? What are your PC and Monitor specs?

    – Fernhill Linux Project
    Aug 30 '12 at 15:55


















10















I am a new user of Ubuntu 12.04.



I installed Ubuntu and Windows XP, and I want to use both operating systems. When I restart or boot my PC the GRUB menu does not appear.



How can I solve this problem?










share|improve this question




















  • 1





    Could you add some more details - Does your PC boot straight to Ubuntu without showing grub? Or does it boot straight to XP without showing grub? Are there any errors or messages displayed? What are your PC and Monitor specs?

    – Fernhill Linux Project
    Aug 30 '12 at 15:55
















10












10








10


4






I am a new user of Ubuntu 12.04.



I installed Ubuntu and Windows XP, and I want to use both operating systems. When I restart or boot my PC the GRUB menu does not appear.



How can I solve this problem?










share|improve this question
















I am a new user of Ubuntu 12.04.



I installed Ubuntu and Windows XP, and I want to use both operating systems. When I restart or boot my PC the GRUB menu does not appear.



How can I solve this problem?







dual-boot grub2 windows






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 4 '17 at 18:24









Zanna

51k13138242




51k13138242










asked Aug 30 '12 at 15:50









raamraam

54114




54114








  • 1





    Could you add some more details - Does your PC boot straight to Ubuntu without showing grub? Or does it boot straight to XP without showing grub? Are there any errors or messages displayed? What are your PC and Monitor specs?

    – Fernhill Linux Project
    Aug 30 '12 at 15:55
















  • 1





    Could you add some more details - Does your PC boot straight to Ubuntu without showing grub? Or does it boot straight to XP without showing grub? Are there any errors or messages displayed? What are your PC and Monitor specs?

    – Fernhill Linux Project
    Aug 30 '12 at 15:55










1




1





Could you add some more details - Does your PC boot straight to Ubuntu without showing grub? Or does it boot straight to XP without showing grub? Are there any errors or messages displayed? What are your PC and Monitor specs?

– Fernhill Linux Project
Aug 30 '12 at 15:55







Could you add some more details - Does your PC boot straight to Ubuntu without showing grub? Or does it boot straight to XP without showing grub? Are there any errors or messages displayed? What are your PC and Monitor specs?

– Fernhill Linux Project
Aug 30 '12 at 15:55












7 Answers
7






active

oldest

votes


















15














Hold down the shift key during the boot process this will give you the menu on a one off basis.



You can also modify /etc/default/grub comment out the line by adding a # to the start like:



# GRUB_HIDDEN_TIMEOUT=0


This will cause the grub menu to be displayed for the number of seconds in GRUB_TIMEOUT before selecting the default and booting that.



If you have modified this file then you need to run update-grub for it to take effect. This will automatically be run each time a new kernel is installed by sudo apt full-upgrade



sudo update-grub





share|improve this answer


























  • Tiptop. I'm using Fedora 29 but the grub selection is hidden, one just gets the "DELL" logo. Tapping SHIFT repeatedly (as opposed to holding shift) brings up the kernel selection menu.

    – David Tonhofer
    Dec 17 '18 at 14:23











  • Does update-grub also work on UEFI machines?

    – David Tonhofer
    Dec 17 '18 at 14:24



















2














I assume you tried to install windows XP after Ubuntu installation.Windows loader will replace GRUB loader. so you need to reinstall GRUB.Provided you have not formatted Ubuntu filesystem, while installing Windows XP.



Reinstalling GRUB (GRand Unified Bootloader) :




  1. Boot your system with UBUNTU live dvd/cd*.

  2. Mount the partition in which UBUNTU was installed before i.e. the root partition (old).now it’s like any other normal partition.

  3. After you mounted the partition,which has folders like boot, home, root, usr, bin, tmp. Find the mount point of root partition.It will be in /media (example: /media/disk1 or /media/234efsdfgg5dg435gh) and the device name, default name is /dev/sda .If you have more than one HD, You can find that by typing this command in terminal (applications->accessories ->terminal )“sudo blkid”. It shows all the partitions with its device name, UUID and etc.. Take only /dev/sda or /dev/sdb.


  4. Final step is to open terminal and type this command:



    sudo<space> grub-install<space> --root-directory=/media/<mount name> <space><device name>


    Example : sudo grub-install --root-directory=/media/disk1 /dev/sda
    And continue…. That’s all .
    Restart, you will have boot menu showing both OS.




*choosing which cd/dvd is important because grub versions are different.Best is to use the same version live cd/dvd.use your ubuntu 12.04 live cd.






share|improve this answer

































    1














    I have encountered a similar problem previously, a blank screen after bios until the Ubuntu login screen appeared, using an older LCD monitor. The monitor displayed "frequency out of range".



    You can test to see if this is the case by tapping the "down arrow" key for at least 15 seconds after the bios screen and then pressing "enter".

    If Windows loads then grub is working fine, but not being displayed.



    This can be resolved by using the 'out-of-range' option in the advanced section of boot repair or editing grub manually.



    According to lines 346 to 348 of the boot info script grub should be displayed.



    #GRUB_HIDDEN_TIMEOUT=0
    GRUB_HIDDEN_TIMEOUT_QUIET=true
    GRUB_TIMEOUT=10


    So using the command gksu gedit /etc/default/grub and uncommenting / removing the #hash from what appears as line 364 in the boot info script as #GRUB_GFXMODE=640x480 should work.

    After saving the changes you will need to run sudo update-grub



    Have a look at the answers to this question for instructions on using both methods.






    share|improve this answer

































      1














      Note that (at least on some old Ubuntu installs), if installed via USB, it may write the GRUB to the USB instead of the hard drive you've installed to.



      This UbuntuForums thread discusses it a bit further, and oldfred's solution for how to fix it there worked for me as well:




      To reinstall Grub from an active (not liveCD/DVD/USB only) system - first you need to find the Ubuntu drive (example is sdb, but make sure to use your drive and not a partition). To find it, use



      sudo fdisk -l



      then, if for example it's "/dev/sdb", just run:



      sudo grub-install /dev/sdb



      If that returns any errors run:



      sudo grub-install --recheck /dev/sdb



      sudo update-grub



      To see what drive grub2 uses look for the line - grub-pc/install_devices in:



      sudo debconf-show grub-pc



      sudo grub-probe -t device /boot/grub



      To get grub2 to remember where to reinstall on updates:



      sudo dpkg-reconfigure grub-pc



      From there press enter through the first pages, use spacebar to choose/unchoose the drive, and enter to accept. Again, do not choose partitions but whole drives.







      share|improve this answer

































        0














        Windows will over-write the boot sector during install and thereby kill Grub.
        Which means, always install windows first, and then Ubuntu for a dual boot setup.



        Else :
        There are various things that can go wrong with a boot menu of any sort.
        We will need more information to go on before we can begin to assist.



        Something is perturbing me about the way you've worded your question.
        You say "From the start my desktop does not show the grub menu."
        What do you mean by "Desktop"?






        share|improve this answer

































          0














          I ended up here while searching for a solution for a friend who had the same problem.



          What eventually worked for him: hit F2 during boot to go into the BIOS settings (on some machines it's a different key, but usually F2). Check the boot order, and make sure that GRUB is first.






          share|improve this answer































            0














            Go to bios menu change first efi from windows to ubuntu






            share|improve this answer























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "89"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f182248%2fwhy-is-grub-menu-not-shown-when-starting-my-computer%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              7 Answers
              7






              active

              oldest

              votes








              7 Answers
              7






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              15














              Hold down the shift key during the boot process this will give you the menu on a one off basis.



              You can also modify /etc/default/grub comment out the line by adding a # to the start like:



              # GRUB_HIDDEN_TIMEOUT=0


              This will cause the grub menu to be displayed for the number of seconds in GRUB_TIMEOUT before selecting the default and booting that.



              If you have modified this file then you need to run update-grub for it to take effect. This will automatically be run each time a new kernel is installed by sudo apt full-upgrade



              sudo update-grub





              share|improve this answer


























              • Tiptop. I'm using Fedora 29 but the grub selection is hidden, one just gets the "DELL" logo. Tapping SHIFT repeatedly (as opposed to holding shift) brings up the kernel selection menu.

                – David Tonhofer
                Dec 17 '18 at 14:23











              • Does update-grub also work on UEFI machines?

                – David Tonhofer
                Dec 17 '18 at 14:24
















              15














              Hold down the shift key during the boot process this will give you the menu on a one off basis.



              You can also modify /etc/default/grub comment out the line by adding a # to the start like:



              # GRUB_HIDDEN_TIMEOUT=0


              This will cause the grub menu to be displayed for the number of seconds in GRUB_TIMEOUT before selecting the default and booting that.



              If you have modified this file then you need to run update-grub for it to take effect. This will automatically be run each time a new kernel is installed by sudo apt full-upgrade



              sudo update-grub





              share|improve this answer


























              • Tiptop. I'm using Fedora 29 but the grub selection is hidden, one just gets the "DELL" logo. Tapping SHIFT repeatedly (as opposed to holding shift) brings up the kernel selection menu.

                – David Tonhofer
                Dec 17 '18 at 14:23











              • Does update-grub also work on UEFI machines?

                – David Tonhofer
                Dec 17 '18 at 14:24














              15












              15








              15







              Hold down the shift key during the boot process this will give you the menu on a one off basis.



              You can also modify /etc/default/grub comment out the line by adding a # to the start like:



              # GRUB_HIDDEN_TIMEOUT=0


              This will cause the grub menu to be displayed for the number of seconds in GRUB_TIMEOUT before selecting the default and booting that.



              If you have modified this file then you need to run update-grub for it to take effect. This will automatically be run each time a new kernel is installed by sudo apt full-upgrade



              sudo update-grub





              share|improve this answer















              Hold down the shift key during the boot process this will give you the menu on a one off basis.



              You can also modify /etc/default/grub comment out the line by adding a # to the start like:



              # GRUB_HIDDEN_TIMEOUT=0


              This will cause the grub menu to be displayed for the number of seconds in GRUB_TIMEOUT before selecting the default and booting that.



              If you have modified this file then you need to run update-grub for it to take effect. This will automatically be run each time a new kernel is installed by sudo apt full-upgrade



              sudo update-grub






              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Apr 12 '18 at 8:53

























              answered Aug 30 '12 at 16:15









              StuartStuart

              8931511




              8931511













              • Tiptop. I'm using Fedora 29 but the grub selection is hidden, one just gets the "DELL" logo. Tapping SHIFT repeatedly (as opposed to holding shift) brings up the kernel selection menu.

                – David Tonhofer
                Dec 17 '18 at 14:23











              • Does update-grub also work on UEFI machines?

                – David Tonhofer
                Dec 17 '18 at 14:24



















              • Tiptop. I'm using Fedora 29 but the grub selection is hidden, one just gets the "DELL" logo. Tapping SHIFT repeatedly (as opposed to holding shift) brings up the kernel selection menu.

                – David Tonhofer
                Dec 17 '18 at 14:23











              • Does update-grub also work on UEFI machines?

                – David Tonhofer
                Dec 17 '18 at 14:24

















              Tiptop. I'm using Fedora 29 but the grub selection is hidden, one just gets the "DELL" logo. Tapping SHIFT repeatedly (as opposed to holding shift) brings up the kernel selection menu.

              – David Tonhofer
              Dec 17 '18 at 14:23





              Tiptop. I'm using Fedora 29 but the grub selection is hidden, one just gets the "DELL" logo. Tapping SHIFT repeatedly (as opposed to holding shift) brings up the kernel selection menu.

              – David Tonhofer
              Dec 17 '18 at 14:23













              Does update-grub also work on UEFI machines?

              – David Tonhofer
              Dec 17 '18 at 14:24





              Does update-grub also work on UEFI machines?

              – David Tonhofer
              Dec 17 '18 at 14:24













              2














              I assume you tried to install windows XP after Ubuntu installation.Windows loader will replace GRUB loader. so you need to reinstall GRUB.Provided you have not formatted Ubuntu filesystem, while installing Windows XP.



              Reinstalling GRUB (GRand Unified Bootloader) :




              1. Boot your system with UBUNTU live dvd/cd*.

              2. Mount the partition in which UBUNTU was installed before i.e. the root partition (old).now it’s like any other normal partition.

              3. After you mounted the partition,which has folders like boot, home, root, usr, bin, tmp. Find the mount point of root partition.It will be in /media (example: /media/disk1 or /media/234efsdfgg5dg435gh) and the device name, default name is /dev/sda .If you have more than one HD, You can find that by typing this command in terminal (applications->accessories ->terminal )“sudo blkid”. It shows all the partitions with its device name, UUID and etc.. Take only /dev/sda or /dev/sdb.


              4. Final step is to open terminal and type this command:



                sudo<space> grub-install<space> --root-directory=/media/<mount name> <space><device name>


                Example : sudo grub-install --root-directory=/media/disk1 /dev/sda
                And continue…. That’s all .
                Restart, you will have boot menu showing both OS.




              *choosing which cd/dvd is important because grub versions are different.Best is to use the same version live cd/dvd.use your ubuntu 12.04 live cd.






              share|improve this answer






























                2














                I assume you tried to install windows XP after Ubuntu installation.Windows loader will replace GRUB loader. so you need to reinstall GRUB.Provided you have not formatted Ubuntu filesystem, while installing Windows XP.



                Reinstalling GRUB (GRand Unified Bootloader) :




                1. Boot your system with UBUNTU live dvd/cd*.

                2. Mount the partition in which UBUNTU was installed before i.e. the root partition (old).now it’s like any other normal partition.

                3. After you mounted the partition,which has folders like boot, home, root, usr, bin, tmp. Find the mount point of root partition.It will be in /media (example: /media/disk1 or /media/234efsdfgg5dg435gh) and the device name, default name is /dev/sda .If you have more than one HD, You can find that by typing this command in terminal (applications->accessories ->terminal )“sudo blkid”. It shows all the partitions with its device name, UUID and etc.. Take only /dev/sda or /dev/sdb.


                4. Final step is to open terminal and type this command:



                  sudo<space> grub-install<space> --root-directory=/media/<mount name> <space><device name>


                  Example : sudo grub-install --root-directory=/media/disk1 /dev/sda
                  And continue…. That’s all .
                  Restart, you will have boot menu showing both OS.




                *choosing which cd/dvd is important because grub versions are different.Best is to use the same version live cd/dvd.use your ubuntu 12.04 live cd.






                share|improve this answer




























                  2












                  2








                  2







                  I assume you tried to install windows XP after Ubuntu installation.Windows loader will replace GRUB loader. so you need to reinstall GRUB.Provided you have not formatted Ubuntu filesystem, while installing Windows XP.



                  Reinstalling GRUB (GRand Unified Bootloader) :




                  1. Boot your system with UBUNTU live dvd/cd*.

                  2. Mount the partition in which UBUNTU was installed before i.e. the root partition (old).now it’s like any other normal partition.

                  3. After you mounted the partition,which has folders like boot, home, root, usr, bin, tmp. Find the mount point of root partition.It will be in /media (example: /media/disk1 or /media/234efsdfgg5dg435gh) and the device name, default name is /dev/sda .If you have more than one HD, You can find that by typing this command in terminal (applications->accessories ->terminal )“sudo blkid”. It shows all the partitions with its device name, UUID and etc.. Take only /dev/sda or /dev/sdb.


                  4. Final step is to open terminal and type this command:



                    sudo<space> grub-install<space> --root-directory=/media/<mount name> <space><device name>


                    Example : sudo grub-install --root-directory=/media/disk1 /dev/sda
                    And continue…. That’s all .
                    Restart, you will have boot menu showing both OS.




                  *choosing which cd/dvd is important because grub versions are different.Best is to use the same version live cd/dvd.use your ubuntu 12.04 live cd.






                  share|improve this answer















                  I assume you tried to install windows XP after Ubuntu installation.Windows loader will replace GRUB loader. so you need to reinstall GRUB.Provided you have not formatted Ubuntu filesystem, while installing Windows XP.



                  Reinstalling GRUB (GRand Unified Bootloader) :




                  1. Boot your system with UBUNTU live dvd/cd*.

                  2. Mount the partition in which UBUNTU was installed before i.e. the root partition (old).now it’s like any other normal partition.

                  3. After you mounted the partition,which has folders like boot, home, root, usr, bin, tmp. Find the mount point of root partition.It will be in /media (example: /media/disk1 or /media/234efsdfgg5dg435gh) and the device name, default name is /dev/sda .If you have more than one HD, You can find that by typing this command in terminal (applications->accessories ->terminal )“sudo blkid”. It shows all the partitions with its device name, UUID and etc.. Take only /dev/sda or /dev/sdb.


                  4. Final step is to open terminal and type this command:



                    sudo<space> grub-install<space> --root-directory=/media/<mount name> <space><device name>


                    Example : sudo grub-install --root-directory=/media/disk1 /dev/sda
                    And continue…. That’s all .
                    Restart, you will have boot menu showing both OS.




                  *choosing which cd/dvd is important because grub versions are different.Best is to use the same version live cd/dvd.use your ubuntu 12.04 live cd.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Sep 14 '12 at 7:49









                  hexafraction

                  16.4k105486




                  16.4k105486










                  answered Aug 31 '12 at 9:14









                  sai siva sundarsai siva sundar

                  1164




                  1164























                      1














                      I have encountered a similar problem previously, a blank screen after bios until the Ubuntu login screen appeared, using an older LCD monitor. The monitor displayed "frequency out of range".



                      You can test to see if this is the case by tapping the "down arrow" key for at least 15 seconds after the bios screen and then pressing "enter".

                      If Windows loads then grub is working fine, but not being displayed.



                      This can be resolved by using the 'out-of-range' option in the advanced section of boot repair or editing grub manually.



                      According to lines 346 to 348 of the boot info script grub should be displayed.



                      #GRUB_HIDDEN_TIMEOUT=0
                      GRUB_HIDDEN_TIMEOUT_QUIET=true
                      GRUB_TIMEOUT=10


                      So using the command gksu gedit /etc/default/grub and uncommenting / removing the #hash from what appears as line 364 in the boot info script as #GRUB_GFXMODE=640x480 should work.

                      After saving the changes you will need to run sudo update-grub



                      Have a look at the answers to this question for instructions on using both methods.






                      share|improve this answer






























                        1














                        I have encountered a similar problem previously, a blank screen after bios until the Ubuntu login screen appeared, using an older LCD monitor. The monitor displayed "frequency out of range".



                        You can test to see if this is the case by tapping the "down arrow" key for at least 15 seconds after the bios screen and then pressing "enter".

                        If Windows loads then grub is working fine, but not being displayed.



                        This can be resolved by using the 'out-of-range' option in the advanced section of boot repair or editing grub manually.



                        According to lines 346 to 348 of the boot info script grub should be displayed.



                        #GRUB_HIDDEN_TIMEOUT=0
                        GRUB_HIDDEN_TIMEOUT_QUIET=true
                        GRUB_TIMEOUT=10


                        So using the command gksu gedit /etc/default/grub and uncommenting / removing the #hash from what appears as line 364 in the boot info script as #GRUB_GFXMODE=640x480 should work.

                        After saving the changes you will need to run sudo update-grub



                        Have a look at the answers to this question for instructions on using both methods.






                        share|improve this answer




























                          1












                          1








                          1







                          I have encountered a similar problem previously, a blank screen after bios until the Ubuntu login screen appeared, using an older LCD monitor. The monitor displayed "frequency out of range".



                          You can test to see if this is the case by tapping the "down arrow" key for at least 15 seconds after the bios screen and then pressing "enter".

                          If Windows loads then grub is working fine, but not being displayed.



                          This can be resolved by using the 'out-of-range' option in the advanced section of boot repair or editing grub manually.



                          According to lines 346 to 348 of the boot info script grub should be displayed.



                          #GRUB_HIDDEN_TIMEOUT=0
                          GRUB_HIDDEN_TIMEOUT_QUIET=true
                          GRUB_TIMEOUT=10


                          So using the command gksu gedit /etc/default/grub and uncommenting / removing the #hash from what appears as line 364 in the boot info script as #GRUB_GFXMODE=640x480 should work.

                          After saving the changes you will need to run sudo update-grub



                          Have a look at the answers to this question for instructions on using both methods.






                          share|improve this answer















                          I have encountered a similar problem previously, a blank screen after bios until the Ubuntu login screen appeared, using an older LCD monitor. The monitor displayed "frequency out of range".



                          You can test to see if this is the case by tapping the "down arrow" key for at least 15 seconds after the bios screen and then pressing "enter".

                          If Windows loads then grub is working fine, but not being displayed.



                          This can be resolved by using the 'out-of-range' option in the advanced section of boot repair or editing grub manually.



                          According to lines 346 to 348 of the boot info script grub should be displayed.



                          #GRUB_HIDDEN_TIMEOUT=0
                          GRUB_HIDDEN_TIMEOUT_QUIET=true
                          GRUB_TIMEOUT=10


                          So using the command gksu gedit /etc/default/grub and uncommenting / removing the #hash from what appears as line 364 in the boot info script as #GRUB_GFXMODE=640x480 should work.

                          After saving the changes you will need to run sudo update-grub



                          Have a look at the answers to this question for instructions on using both methods.







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Apr 13 '17 at 12:25









                          Community

                          1




                          1










                          answered Aug 31 '12 at 14:00









                          Fernhill Linux ProjectFernhill Linux Project

                          3,56411425




                          3,56411425























                              1














                              Note that (at least on some old Ubuntu installs), if installed via USB, it may write the GRUB to the USB instead of the hard drive you've installed to.



                              This UbuntuForums thread discusses it a bit further, and oldfred's solution for how to fix it there worked for me as well:




                              To reinstall Grub from an active (not liveCD/DVD/USB only) system - first you need to find the Ubuntu drive (example is sdb, but make sure to use your drive and not a partition). To find it, use



                              sudo fdisk -l



                              then, if for example it's "/dev/sdb", just run:



                              sudo grub-install /dev/sdb



                              If that returns any errors run:



                              sudo grub-install --recheck /dev/sdb



                              sudo update-grub



                              To see what drive grub2 uses look for the line - grub-pc/install_devices in:



                              sudo debconf-show grub-pc



                              sudo grub-probe -t device /boot/grub



                              To get grub2 to remember where to reinstall on updates:



                              sudo dpkg-reconfigure grub-pc



                              From there press enter through the first pages, use spacebar to choose/unchoose the drive, and enter to accept. Again, do not choose partitions but whole drives.







                              share|improve this answer






























                                1














                                Note that (at least on some old Ubuntu installs), if installed via USB, it may write the GRUB to the USB instead of the hard drive you've installed to.



                                This UbuntuForums thread discusses it a bit further, and oldfred's solution for how to fix it there worked for me as well:




                                To reinstall Grub from an active (not liveCD/DVD/USB only) system - first you need to find the Ubuntu drive (example is sdb, but make sure to use your drive and not a partition). To find it, use



                                sudo fdisk -l



                                then, if for example it's "/dev/sdb", just run:



                                sudo grub-install /dev/sdb



                                If that returns any errors run:



                                sudo grub-install --recheck /dev/sdb



                                sudo update-grub



                                To see what drive grub2 uses look for the line - grub-pc/install_devices in:



                                sudo debconf-show grub-pc



                                sudo grub-probe -t device /boot/grub



                                To get grub2 to remember where to reinstall on updates:



                                sudo dpkg-reconfigure grub-pc



                                From there press enter through the first pages, use spacebar to choose/unchoose the drive, and enter to accept. Again, do not choose partitions but whole drives.







                                share|improve this answer




























                                  1












                                  1








                                  1







                                  Note that (at least on some old Ubuntu installs), if installed via USB, it may write the GRUB to the USB instead of the hard drive you've installed to.



                                  This UbuntuForums thread discusses it a bit further, and oldfred's solution for how to fix it there worked for me as well:




                                  To reinstall Grub from an active (not liveCD/DVD/USB only) system - first you need to find the Ubuntu drive (example is sdb, but make sure to use your drive and not a partition). To find it, use



                                  sudo fdisk -l



                                  then, if for example it's "/dev/sdb", just run:



                                  sudo grub-install /dev/sdb



                                  If that returns any errors run:



                                  sudo grub-install --recheck /dev/sdb



                                  sudo update-grub



                                  To see what drive grub2 uses look for the line - grub-pc/install_devices in:



                                  sudo debconf-show grub-pc



                                  sudo grub-probe -t device /boot/grub



                                  To get grub2 to remember where to reinstall on updates:



                                  sudo dpkg-reconfigure grub-pc



                                  From there press enter through the first pages, use spacebar to choose/unchoose the drive, and enter to accept. Again, do not choose partitions but whole drives.







                                  share|improve this answer















                                  Note that (at least on some old Ubuntu installs), if installed via USB, it may write the GRUB to the USB instead of the hard drive you've installed to.



                                  This UbuntuForums thread discusses it a bit further, and oldfred's solution for how to fix it there worked for me as well:




                                  To reinstall Grub from an active (not liveCD/DVD/USB only) system - first you need to find the Ubuntu drive (example is sdb, but make sure to use your drive and not a partition). To find it, use



                                  sudo fdisk -l



                                  then, if for example it's "/dev/sdb", just run:



                                  sudo grub-install /dev/sdb



                                  If that returns any errors run:



                                  sudo grub-install --recheck /dev/sdb



                                  sudo update-grub



                                  To see what drive grub2 uses look for the line - grub-pc/install_devices in:



                                  sudo debconf-show grub-pc



                                  sudo grub-probe -t device /boot/grub



                                  To get grub2 to remember where to reinstall on updates:



                                  sudo dpkg-reconfigure grub-pc



                                  From there press enter through the first pages, use spacebar to choose/unchoose the drive, and enter to accept. Again, do not choose partitions but whole drives.








                                  share|improve this answer














                                  share|improve this answer



                                  share|improve this answer








                                  edited Feb 21 at 9:13

























                                  answered Feb 19 at 11:10









                                  JeopardyTempestJeopardyTempest

                                  1114




                                  1114























                                      0














                                      Windows will over-write the boot sector during install and thereby kill Grub.
                                      Which means, always install windows first, and then Ubuntu for a dual boot setup.



                                      Else :
                                      There are various things that can go wrong with a boot menu of any sort.
                                      We will need more information to go on before we can begin to assist.



                                      Something is perturbing me about the way you've worded your question.
                                      You say "From the start my desktop does not show the grub menu."
                                      What do you mean by "Desktop"?






                                      share|improve this answer






























                                        0














                                        Windows will over-write the boot sector during install and thereby kill Grub.
                                        Which means, always install windows first, and then Ubuntu for a dual boot setup.



                                        Else :
                                        There are various things that can go wrong with a boot menu of any sort.
                                        We will need more information to go on before we can begin to assist.



                                        Something is perturbing me about the way you've worded your question.
                                        You say "From the start my desktop does not show the grub menu."
                                        What do you mean by "Desktop"?






                                        share|improve this answer




























                                          0












                                          0








                                          0







                                          Windows will over-write the boot sector during install and thereby kill Grub.
                                          Which means, always install windows first, and then Ubuntu for a dual boot setup.



                                          Else :
                                          There are various things that can go wrong with a boot menu of any sort.
                                          We will need more information to go on before we can begin to assist.



                                          Something is perturbing me about the way you've worded your question.
                                          You say "From the start my desktop does not show the grub menu."
                                          What do you mean by "Desktop"?






                                          share|improve this answer















                                          Windows will over-write the boot sector during install and thereby kill Grub.
                                          Which means, always install windows first, and then Ubuntu for a dual boot setup.



                                          Else :
                                          There are various things that can go wrong with a boot menu of any sort.
                                          We will need more information to go on before we can begin to assist.



                                          Something is perturbing me about the way you've worded your question.
                                          You say "From the start my desktop does not show the grub menu."
                                          What do you mean by "Desktop"?







                                          share|improve this answer














                                          share|improve this answer



                                          share|improve this answer








                                          edited Aug 30 '12 at 17:27

























                                          answered Aug 30 '12 at 17:20









                                          user85894user85894

                                          412




                                          412























                                              0














                                              I ended up here while searching for a solution for a friend who had the same problem.



                                              What eventually worked for him: hit F2 during boot to go into the BIOS settings (on some machines it's a different key, but usually F2). Check the boot order, and make sure that GRUB is first.






                                              share|improve this answer




























                                                0














                                                I ended up here while searching for a solution for a friend who had the same problem.



                                                What eventually worked for him: hit F2 during boot to go into the BIOS settings (on some machines it's a different key, but usually F2). Check the boot order, and make sure that GRUB is first.






                                                share|improve this answer


























                                                  0












                                                  0








                                                  0







                                                  I ended up here while searching for a solution for a friend who had the same problem.



                                                  What eventually worked for him: hit F2 during boot to go into the BIOS settings (on some machines it's a different key, but usually F2). Check the boot order, and make sure that GRUB is first.






                                                  share|improve this answer













                                                  I ended up here while searching for a solution for a friend who had the same problem.



                                                  What eventually worked for him: hit F2 during boot to go into the BIOS settings (on some machines it's a different key, but usually F2). Check the boot order, and make sure that GRUB is first.







                                                  share|improve this answer












                                                  share|improve this answer



                                                  share|improve this answer










                                                  answered Aug 21 '18 at 12:28









                                                  Steven PembertonSteven Pemberton

                                                  232




                                                  232























                                                      0














                                                      Go to bios menu change first efi from windows to ubuntu






                                                      share|improve this answer




























                                                        0














                                                        Go to bios menu change first efi from windows to ubuntu






                                                        share|improve this answer


























                                                          0












                                                          0








                                                          0







                                                          Go to bios menu change first efi from windows to ubuntu






                                                          share|improve this answer













                                                          Go to bios menu change first efi from windows to ubuntu







                                                          share|improve this answer












                                                          share|improve this answer



                                                          share|improve this answer










                                                          answered Nov 4 '18 at 1:10









                                                          alireza abbasialireza abbasi

                                                          1




                                                          1






























                                                              draft saved

                                                              draft discarded




















































                                                              Thanks for contributing an answer to Ask Ubuntu!


                                                              • Please be sure to answer the question. Provide details and share your research!

                                                              But avoid



                                                              • Asking for help, clarification, or responding to other answers.

                                                              • Making statements based on opinion; back them up with references or personal experience.


                                                              To learn more, see our tips on writing great answers.




                                                              draft saved


                                                              draft discarded














                                                              StackExchange.ready(
                                                              function () {
                                                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f182248%2fwhy-is-grub-menu-not-shown-when-starting-my-computer%23new-answer', 'question_page');
                                                              }
                                                              );

                                                              Post as a guest















                                                              Required, but never shown





















































                                                              Required, but never shown














                                                              Required, but never shown












                                                              Required, but never shown







                                                              Required, but never shown

































                                                              Required, but never shown














                                                              Required, but never shown












                                                              Required, but never shown







                                                              Required, but never shown







                                                              Popular posts from this blog

                                                              flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                                                              Mangá

                                                               ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕