My linux has got stuck in grub rescue mode











up vote
0
down vote

favorite












What all .mod files do I need?
I found normal.mod, but now it's asking for terminal.mod
So, instead of booting up a thousand times and getting a screen staring blankly at my face, asking for a new file every time, I thought it would be better to download all the .mod files needed in one go.
Please help.










share|improve this question




















  • 1




    What are the results of the command apt policy grub-efi-amd64-bin ? Unless your computer has an ARM processor one of the files in grub-efi-* where the * is a wildcard has all the .mod files that you need.
    – karel
    Feb 24 at 11:06

















up vote
0
down vote

favorite












What all .mod files do I need?
I found normal.mod, but now it's asking for terminal.mod
So, instead of booting up a thousand times and getting a screen staring blankly at my face, asking for a new file every time, I thought it would be better to download all the .mod files needed in one go.
Please help.










share|improve this question




















  • 1




    What are the results of the command apt policy grub-efi-amd64-bin ? Unless your computer has an ARM processor one of the files in grub-efi-* where the * is a wildcard has all the .mod files that you need.
    – karel
    Feb 24 at 11:06















up vote
0
down vote

favorite









up vote
0
down vote

favorite











What all .mod files do I need?
I found normal.mod, but now it's asking for terminal.mod
So, instead of booting up a thousand times and getting a screen staring blankly at my face, asking for a new file every time, I thought it would be better to download all the .mod files needed in one go.
Please help.










share|improve this question















What all .mod files do I need?
I found normal.mod, but now it's asking for terminal.mod
So, instead of booting up a thousand times and getting a screen staring blankly at my face, asking for a new file every time, I thought it would be better to download all the .mod files needed in one go.
Please help.







16.04 dual-boot






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 3 at 7:31

























asked Feb 24 at 11:00









kesarling

11




11








  • 1




    What are the results of the command apt policy grub-efi-amd64-bin ? Unless your computer has an ARM processor one of the files in grub-efi-* where the * is a wildcard has all the .mod files that you need.
    – karel
    Feb 24 at 11:06
















  • 1




    What are the results of the command apt policy grub-efi-amd64-bin ? Unless your computer has an ARM processor one of the files in grub-efi-* where the * is a wildcard has all the .mod files that you need.
    – karel
    Feb 24 at 11:06










1




1




What are the results of the command apt policy grub-efi-amd64-bin ? Unless your computer has an ARM processor one of the files in grub-efi-* where the * is a wildcard has all the .mod files that you need.
– karel
Feb 24 at 11:06






What are the results of the command apt policy grub-efi-amd64-bin ? Unless your computer has an ARM processor one of the files in grub-efi-* where the * is a wildcard has all the .mod files that you need.
– karel
Feb 24 at 11:06












1 Answer
1






active

oldest

votes

















up vote
0
down vote














  • Switch on the laptop, wait till you get the Grub Rescue Screen


  • Type the following commands


  • ls

  • It will show you a list of partions you have made

    You will get something like this (hd0),(hd0,msdos1)(hd0,msdos2)(hd0,msdos4)

    You need to find which drive is your Ubuntu root for which type the following:


  • set prefix= (hd0,msdos1)/boot/grub

    If it’s not the root drive you will get an error message "unknown filesystem".
    In that case try the same command with the next partion, ex: - set prefix=(hd0,msdos2)/boot/grub

    If you are not getting an error: Congrats, you have found your root drive. You can proceed to the next command after that:

    • set prefix=(hd0,msdos1)/boot/grub

    • insmod normal

    • normal

    • Your PC will now boot successfully. Now select Ubuntu & login.

    • Open Terminal( Ctr+Alt+T or use the search)

    • sudo update-grub

    • sudo grub-install /dev/sda





Now the bootloader error is fixed you should be able to boot your laptop normally & even your data is intact.

Note: If sudo update-grub didn't work, type sudo grub-update

Once In my case, grub-update didn't happen same day but few days alter alongwith sudo apt dist-upgrade






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: 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%2f1009294%2fmy-linux-has-got-stuck-in-grub-rescue-mode%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote














    • Switch on the laptop, wait till you get the Grub Rescue Screen


    • Type the following commands


    • ls

    • It will show you a list of partions you have made

      You will get something like this (hd0),(hd0,msdos1)(hd0,msdos2)(hd0,msdos4)

      You need to find which drive is your Ubuntu root for which type the following:


    • set prefix= (hd0,msdos1)/boot/grub

      If it’s not the root drive you will get an error message "unknown filesystem".
      In that case try the same command with the next partion, ex: - set prefix=(hd0,msdos2)/boot/grub

      If you are not getting an error: Congrats, you have found your root drive. You can proceed to the next command after that:

      • set prefix=(hd0,msdos1)/boot/grub

      • insmod normal

      • normal

      • Your PC will now boot successfully. Now select Ubuntu & login.

      • Open Terminal( Ctr+Alt+T or use the search)

      • sudo update-grub

      • sudo grub-install /dev/sda





    Now the bootloader error is fixed you should be able to boot your laptop normally & even your data is intact.

    Note: If sudo update-grub didn't work, type sudo grub-update

    Once In my case, grub-update didn't happen same day but few days alter alongwith sudo apt dist-upgrade






    share|improve this answer

























      up vote
      0
      down vote














      • Switch on the laptop, wait till you get the Grub Rescue Screen


      • Type the following commands


      • ls

      • It will show you a list of partions you have made

        You will get something like this (hd0),(hd0,msdos1)(hd0,msdos2)(hd0,msdos4)

        You need to find which drive is your Ubuntu root for which type the following:


      • set prefix= (hd0,msdos1)/boot/grub

        If it’s not the root drive you will get an error message "unknown filesystem".
        In that case try the same command with the next partion, ex: - set prefix=(hd0,msdos2)/boot/grub

        If you are not getting an error: Congrats, you have found your root drive. You can proceed to the next command after that:

        • set prefix=(hd0,msdos1)/boot/grub

        • insmod normal

        • normal

        • Your PC will now boot successfully. Now select Ubuntu & login.

        • Open Terminal( Ctr+Alt+T or use the search)

        • sudo update-grub

        • sudo grub-install /dev/sda





      Now the bootloader error is fixed you should be able to boot your laptop normally & even your data is intact.

      Note: If sudo update-grub didn't work, type sudo grub-update

      Once In my case, grub-update didn't happen same day but few days alter alongwith sudo apt dist-upgrade






      share|improve this answer























        up vote
        0
        down vote










        up vote
        0
        down vote










        • Switch on the laptop, wait till you get the Grub Rescue Screen


        • Type the following commands


        • ls

        • It will show you a list of partions you have made

          You will get something like this (hd0),(hd0,msdos1)(hd0,msdos2)(hd0,msdos4)

          You need to find which drive is your Ubuntu root for which type the following:


        • set prefix= (hd0,msdos1)/boot/grub

          If it’s not the root drive you will get an error message "unknown filesystem".
          In that case try the same command with the next partion, ex: - set prefix=(hd0,msdos2)/boot/grub

          If you are not getting an error: Congrats, you have found your root drive. You can proceed to the next command after that:

          • set prefix=(hd0,msdos1)/boot/grub

          • insmod normal

          • normal

          • Your PC will now boot successfully. Now select Ubuntu & login.

          • Open Terminal( Ctr+Alt+T or use the search)

          • sudo update-grub

          • sudo grub-install /dev/sda





        Now the bootloader error is fixed you should be able to boot your laptop normally & even your data is intact.

        Note: If sudo update-grub didn't work, type sudo grub-update

        Once In my case, grub-update didn't happen same day but few days alter alongwith sudo apt dist-upgrade






        share|improve this answer













        • Switch on the laptop, wait till you get the Grub Rescue Screen


        • Type the following commands


        • ls

        • It will show you a list of partions you have made

          You will get something like this (hd0),(hd0,msdos1)(hd0,msdos2)(hd0,msdos4)

          You need to find which drive is your Ubuntu root for which type the following:


        • set prefix= (hd0,msdos1)/boot/grub

          If it’s not the root drive you will get an error message "unknown filesystem".
          In that case try the same command with the next partion, ex: - set prefix=(hd0,msdos2)/boot/grub

          If you are not getting an error: Congrats, you have found your root drive. You can proceed to the next command after that:

          • set prefix=(hd0,msdos1)/boot/grub

          • insmod normal

          • normal

          • Your PC will now boot successfully. Now select Ubuntu & login.

          • Open Terminal( Ctr+Alt+T or use the search)

          • sudo update-grub

          • sudo grub-install /dev/sda





        Now the bootloader error is fixed you should be able to boot your laptop normally & even your data is intact.

        Note: If sudo update-grub didn't work, type sudo grub-update

        Once In my case, grub-update didn't happen same day but few days alter alongwith sudo apt dist-upgrade







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 24 at 13:05









        Manasvee Kumar

        155




        155






























            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.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • 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%2f1009294%2fmy-linux-has-got-stuck-in-grub-rescue-mode%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

            數位音樂下載

            When can things happen in Etherscan, such as the picture below?

            格利澤436b