grub rescue at every boot












1















I had a dual boot installation (Win8 & Ubuntu). I was not using Windows much and decided to have Ubuntu for the whole system. When I reinstalled Ubuntu, I got the error



error: no such partition
Entering rescue mode
grub rescue >


Then I tried the following at the grub rescue



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


When I tried these command, I got the Ubuntu boot menu where I was able to start the system. However, when I shut down the system and restarted I got the same grub rescue error. Can you please help?



I am not sure if this helps. Here is the output of sudo fdisk -l



enter image description here










share|improve this question



























    1















    I had a dual boot installation (Win8 & Ubuntu). I was not using Windows much and decided to have Ubuntu for the whole system. When I reinstalled Ubuntu, I got the error



    error: no such partition
    Entering rescue mode
    grub rescue >


    Then I tried the following at the grub rescue



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


    When I tried these command, I got the Ubuntu boot menu where I was able to start the system. However, when I shut down the system and restarted I got the same grub rescue error. Can you please help?



    I am not sure if this helps. Here is the output of sudo fdisk -l



    enter image description here










    share|improve this question

























      1












      1








      1








      I had a dual boot installation (Win8 & Ubuntu). I was not using Windows much and decided to have Ubuntu for the whole system. When I reinstalled Ubuntu, I got the error



      error: no such partition
      Entering rescue mode
      grub rescue >


      Then I tried the following at the grub rescue



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


      When I tried these command, I got the Ubuntu boot menu where I was able to start the system. However, when I shut down the system and restarted I got the same grub rescue error. Can you please help?



      I am not sure if this helps. Here is the output of sudo fdisk -l



      enter image description here










      share|improve this question














      I had a dual boot installation (Win8 & Ubuntu). I was not using Windows much and decided to have Ubuntu for the whole system. When I reinstalled Ubuntu, I got the error



      error: no such partition
      Entering rescue mode
      grub rescue >


      Then I tried the following at the grub rescue



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


      When I tried these command, I got the Ubuntu boot menu where I was able to start the system. However, when I shut down the system and restarted I got the same grub rescue error. Can you please help?



      I am not sure if this helps. Here is the output of sudo fdisk -l



      enter image description here







      grubrescue






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 8 '14 at 7:56









      AnkitAnkit

      5762925




      5762925






















          2 Answers
          2






          active

          oldest

          votes


















          0














          Those commands are fixing your problem temporarily.



          Try running this command from terminal when Ubuntu is running to try to fix the problem -



          sudo update-grub


          Running just this command should be enough for you, but if it isn't, you can run all three of these to try fixing your problem. [Replace X with your drive letter]



          sudo grub-install /dev/sdX
          sudo grub-install --recheck /dev/sdX
          sudo update-grub





          share|improve this answer































            0














            You must try Boot-Repair here : https://help.ubuntu.com/community/Boot-Repair it easy use and have solved most problems about grup rescue






            share|improve this answer
























            • I tried that already. It did not work :(

              – Ankit
              Nov 8 '14 at 8:24











            • oh :O okkay maybe you want to try another way like this, first step, check your ubuntu partition, ex: my ubuntu partition on /dev/sda2 and so go to command line and type : creatorb@creatorb ~ $ sudo mount /dev/sda2 /mnt next type again creatorb@creatorb ~ $ sudo grub-install --root-directory=/mnt/ /dev/sda and last update your grub by type sudo update-grub and reboot

              – creatorbe
              Nov 8 '14 at 8:32














            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%2f547085%2fgrub-rescue-at-every-boot%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Those commands are fixing your problem temporarily.



            Try running this command from terminal when Ubuntu is running to try to fix the problem -



            sudo update-grub


            Running just this command should be enough for you, but if it isn't, you can run all three of these to try fixing your problem. [Replace X with your drive letter]



            sudo grub-install /dev/sdX
            sudo grub-install --recheck /dev/sdX
            sudo update-grub





            share|improve this answer




























              0














              Those commands are fixing your problem temporarily.



              Try running this command from terminal when Ubuntu is running to try to fix the problem -



              sudo update-grub


              Running just this command should be enough for you, but if it isn't, you can run all three of these to try fixing your problem. [Replace X with your drive letter]



              sudo grub-install /dev/sdX
              sudo grub-install --recheck /dev/sdX
              sudo update-grub





              share|improve this answer


























                0












                0








                0







                Those commands are fixing your problem temporarily.



                Try running this command from terminal when Ubuntu is running to try to fix the problem -



                sudo update-grub


                Running just this command should be enough for you, but if it isn't, you can run all three of these to try fixing your problem. [Replace X with your drive letter]



                sudo grub-install /dev/sdX
                sudo grub-install --recheck /dev/sdX
                sudo update-grub





                share|improve this answer













                Those commands are fixing your problem temporarily.



                Try running this command from terminal when Ubuntu is running to try to fix the problem -



                sudo update-grub


                Running just this command should be enough for you, but if it isn't, you can run all three of these to try fixing your problem. [Replace X with your drive letter]



                sudo grub-install /dev/sdX
                sudo grub-install --recheck /dev/sdX
                sudo update-grub






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 8 '14 at 8:02









                SukarnSukarn

                1816




                1816

























                    0














                    You must try Boot-Repair here : https://help.ubuntu.com/community/Boot-Repair it easy use and have solved most problems about grup rescue






                    share|improve this answer
























                    • I tried that already. It did not work :(

                      – Ankit
                      Nov 8 '14 at 8:24











                    • oh :O okkay maybe you want to try another way like this, first step, check your ubuntu partition, ex: my ubuntu partition on /dev/sda2 and so go to command line and type : creatorb@creatorb ~ $ sudo mount /dev/sda2 /mnt next type again creatorb@creatorb ~ $ sudo grub-install --root-directory=/mnt/ /dev/sda and last update your grub by type sudo update-grub and reboot

                      – creatorbe
                      Nov 8 '14 at 8:32


















                    0














                    You must try Boot-Repair here : https://help.ubuntu.com/community/Boot-Repair it easy use and have solved most problems about grup rescue






                    share|improve this answer
























                    • I tried that already. It did not work :(

                      – Ankit
                      Nov 8 '14 at 8:24











                    • oh :O okkay maybe you want to try another way like this, first step, check your ubuntu partition, ex: my ubuntu partition on /dev/sda2 and so go to command line and type : creatorb@creatorb ~ $ sudo mount /dev/sda2 /mnt next type again creatorb@creatorb ~ $ sudo grub-install --root-directory=/mnt/ /dev/sda and last update your grub by type sudo update-grub and reboot

                      – creatorbe
                      Nov 8 '14 at 8:32
















                    0












                    0








                    0







                    You must try Boot-Repair here : https://help.ubuntu.com/community/Boot-Repair it easy use and have solved most problems about grup rescue






                    share|improve this answer













                    You must try Boot-Repair here : https://help.ubuntu.com/community/Boot-Repair it easy use and have solved most problems about grup rescue







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Nov 8 '14 at 8:08









                    creatorbecreatorbe

                    167




                    167













                    • I tried that already. It did not work :(

                      – Ankit
                      Nov 8 '14 at 8:24











                    • oh :O okkay maybe you want to try another way like this, first step, check your ubuntu partition, ex: my ubuntu partition on /dev/sda2 and so go to command line and type : creatorb@creatorb ~ $ sudo mount /dev/sda2 /mnt next type again creatorb@creatorb ~ $ sudo grub-install --root-directory=/mnt/ /dev/sda and last update your grub by type sudo update-grub and reboot

                      – creatorbe
                      Nov 8 '14 at 8:32





















                    • I tried that already. It did not work :(

                      – Ankit
                      Nov 8 '14 at 8:24











                    • oh :O okkay maybe you want to try another way like this, first step, check your ubuntu partition, ex: my ubuntu partition on /dev/sda2 and so go to command line and type : creatorb@creatorb ~ $ sudo mount /dev/sda2 /mnt next type again creatorb@creatorb ~ $ sudo grub-install --root-directory=/mnt/ /dev/sda and last update your grub by type sudo update-grub and reboot

                      – creatorbe
                      Nov 8 '14 at 8:32



















                    I tried that already. It did not work :(

                    – Ankit
                    Nov 8 '14 at 8:24





                    I tried that already. It did not work :(

                    – Ankit
                    Nov 8 '14 at 8:24













                    oh :O okkay maybe you want to try another way like this, first step, check your ubuntu partition, ex: my ubuntu partition on /dev/sda2 and so go to command line and type : creatorb@creatorb ~ $ sudo mount /dev/sda2 /mnt next type again creatorb@creatorb ~ $ sudo grub-install --root-directory=/mnt/ /dev/sda and last update your grub by type sudo update-grub and reboot

                    – creatorbe
                    Nov 8 '14 at 8:32







                    oh :O okkay maybe you want to try another way like this, first step, check your ubuntu partition, ex: my ubuntu partition on /dev/sda2 and so go to command line and type : creatorb@creatorb ~ $ sudo mount /dev/sda2 /mnt next type again creatorb@creatorb ~ $ sudo grub-install --root-directory=/mnt/ /dev/sda and last update your grub by type sudo update-grub and reboot

                    – creatorbe
                    Nov 8 '14 at 8:32




















                    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%2f547085%2fgrub-rescue-at-every-boot%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

                    How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

                    is 'sed' thread safe

                    How to make a Squid Proxy server?