Grub rescue mode always boot

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












i have a problem, my pc in every boot puts in mode grub rescue, i know the sequence for boot



set prefix=(hd1,msdos5)/boot/grub
insmod normal
normal


And after that the system boots normal (i have dual system, with dual hard drive, windows and unbutu 17.10, windows C lives in a ssd, sdb unit, and linux and a windows drive d lives in a normal hard drive sda), but i'm tired of make that



that happens after i reinstall the system (because i break the gui dependences), i try all solutions:



 update-grub
grub-install


set manually:



 sudo grub-install --root-directory /mnt/sda5 /dev/sda


Anyone know some solution, for now my only choice is change from grub to lilo (but i don't get enought examples for make that process), is a normal boot (not uefi).










share|improve this question



























    up vote
    0
    down vote

    favorite












    i have a problem, my pc in every boot puts in mode grub rescue, i know the sequence for boot



    set prefix=(hd1,msdos5)/boot/grub
    insmod normal
    normal


    And after that the system boots normal (i have dual system, with dual hard drive, windows and unbutu 17.10, windows C lives in a ssd, sdb unit, and linux and a windows drive d lives in a normal hard drive sda), but i'm tired of make that



    that happens after i reinstall the system (because i break the gui dependences), i try all solutions:



     update-grub
    grub-install


    set manually:



     sudo grub-install --root-directory /mnt/sda5 /dev/sda


    Anyone know some solution, for now my only choice is change from grub to lilo (but i don't get enought examples for make that process), is a normal boot (not uefi).










    share|improve this question

























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      i have a problem, my pc in every boot puts in mode grub rescue, i know the sequence for boot



      set prefix=(hd1,msdos5)/boot/grub
      insmod normal
      normal


      And after that the system boots normal (i have dual system, with dual hard drive, windows and unbutu 17.10, windows C lives in a ssd, sdb unit, and linux and a windows drive d lives in a normal hard drive sda), but i'm tired of make that



      that happens after i reinstall the system (because i break the gui dependences), i try all solutions:



       update-grub
      grub-install


      set manually:



       sudo grub-install --root-directory /mnt/sda5 /dev/sda


      Anyone know some solution, for now my only choice is change from grub to lilo (but i don't get enought examples for make that process), is a normal boot (not uefi).










      share|improve this question















      i have a problem, my pc in every boot puts in mode grub rescue, i know the sequence for boot



      set prefix=(hd1,msdos5)/boot/grub
      insmod normal
      normal


      And after that the system boots normal (i have dual system, with dual hard drive, windows and unbutu 17.10, windows C lives in a ssd, sdb unit, and linux and a windows drive d lives in a normal hard drive sda), but i'm tired of make that



      that happens after i reinstall the system (because i break the gui dependences), i try all solutions:



       update-grub
      grub-install


      set manually:



       sudo grub-install --root-directory /mnt/sda5 /dev/sda


      Anyone know some solution, for now my only choice is change from grub to lilo (but i don't get enought examples for make that process), is a normal boot (not uefi).







      boot dual-boot grub2 partitioning






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 1 at 6:07

























      asked Apr 1 at 5:10









      APRocha

      12




      12




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          0
          down vote













          --root-directory /mnt/sda5 looks like it may be the problem. When you're installing grub, make sure your actual system's root is at / (chrooting if necessary to make this the case), then run grub-install without this parameter.






          share|improve this answer



























            up vote
            0
            down vote













            To recover grub:



            1. Open the live version (boot from live dvd/usb)

            2. Open the terminal and run sudo fdisk -l to see where Linux is installed.

            3. Run sudo mount /dev/sdaX /mnt where x is the number you have found Linux word in

            4. Run sudo grub-install --root-directory=/mnt /dev/sda to install grub.

            5. Run sudo update-grub to update grub and if this command didn't work run it after rebooting.

            6. Reboot.

            Please change hdd name as per yours. Hope this helps. Excuse for the raw text as writing on phone.






            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',
              convertImagesToLinks: true,
              noModals: false,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              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%2f1020988%2fgrub-rescue-mode-always-boot%23new-answer', 'question_page');

              );

              Post as a guest






























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              0
              down vote













              --root-directory /mnt/sda5 looks like it may be the problem. When you're installing grub, make sure your actual system's root is at / (chrooting if necessary to make this the case), then run grub-install without this parameter.






              share|improve this answer
























                up vote
                0
                down vote













                --root-directory /mnt/sda5 looks like it may be the problem. When you're installing grub, make sure your actual system's root is at / (chrooting if necessary to make this the case), then run grub-install without this parameter.






                share|improve this answer






















                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  --root-directory /mnt/sda5 looks like it may be the problem. When you're installing grub, make sure your actual system's root is at / (chrooting if necessary to make this the case), then run grub-install without this parameter.






                  share|improve this answer












                  --root-directory /mnt/sda5 looks like it may be the problem. When you're installing grub, make sure your actual system's root is at / (chrooting if necessary to make this the case), then run grub-install without this parameter.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Apr 1 at 5:13









                  Joseph Sible

                  83138




                  83138






















                      up vote
                      0
                      down vote













                      To recover grub:



                      1. Open the live version (boot from live dvd/usb)

                      2. Open the terminal and run sudo fdisk -l to see where Linux is installed.

                      3. Run sudo mount /dev/sdaX /mnt where x is the number you have found Linux word in

                      4. Run sudo grub-install --root-directory=/mnt /dev/sda to install grub.

                      5. Run sudo update-grub to update grub and if this command didn't work run it after rebooting.

                      6. Reboot.

                      Please change hdd name as per yours. Hope this helps. Excuse for the raw text as writing on phone.






                      share|improve this answer
























                        up vote
                        0
                        down vote













                        To recover grub:



                        1. Open the live version (boot from live dvd/usb)

                        2. Open the terminal and run sudo fdisk -l to see where Linux is installed.

                        3. Run sudo mount /dev/sdaX /mnt where x is the number you have found Linux word in

                        4. Run sudo grub-install --root-directory=/mnt /dev/sda to install grub.

                        5. Run sudo update-grub to update grub and if this command didn't work run it after rebooting.

                        6. Reboot.

                        Please change hdd name as per yours. Hope this helps. Excuse for the raw text as writing on phone.






                        share|improve this answer






















                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          To recover grub:



                          1. Open the live version (boot from live dvd/usb)

                          2. Open the terminal and run sudo fdisk -l to see where Linux is installed.

                          3. Run sudo mount /dev/sdaX /mnt where x is the number you have found Linux word in

                          4. Run sudo grub-install --root-directory=/mnt /dev/sda to install grub.

                          5. Run sudo update-grub to update grub and if this command didn't work run it after rebooting.

                          6. Reboot.

                          Please change hdd name as per yours. Hope this helps. Excuse for the raw text as writing on phone.






                          share|improve this answer












                          To recover grub:



                          1. Open the live version (boot from live dvd/usb)

                          2. Open the terminal and run sudo fdisk -l to see where Linux is installed.

                          3. Run sudo mount /dev/sdaX /mnt where x is the number you have found Linux word in

                          4. Run sudo grub-install --root-directory=/mnt /dev/sda to install grub.

                          5. Run sudo update-grub to update grub and if this command didn't work run it after rebooting.

                          6. Reboot.

                          Please change hdd name as per yours. Hope this helps. Excuse for the raw text as writing on phone.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Apr 1 at 5:32









                          Arijit Chatterjee

                          8411311




                          8411311



























                               

                              draft saved


                              draft discarded















































                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1020988%2fgrub-rescue-mode-always-boot%23new-answer', 'question_page');

                              );

                              Post as a guest













































































                              Popular posts from this blog

                              pylint3 and pip3 broken

                              Missing snmpget and snmpwalk

                              How to enroll fingerprints to Ubuntu 17.10 with VFS491