My linux has got stuck in grub rescue mode

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








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 a 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 a 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 a 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 a 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










asked Feb 24 at 11:00









kesarling

1




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













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

    );

    Post as a guest






























    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















































             


            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













































































            Popular posts from this blog

            pylint3 and pip3 broken

            Missing snmpget and snmpwalk

            How to enroll fingerprints to Ubuntu 17.10 with VFS491