GRUB2 won't install into MBR

Multi tool use
Multi tool use

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











up vote
0
down vote

favorite












I got a blank screen after the "Welcome to GRUB" greetings.



I ran grub-install and grub-mkconfig from a chroot, but still couldn't get to the GRUB menu.



Because of the setup (former dual boot with another GNU/Linux distribution) I thought maybe it was using GRUB-legacy, so I ran both this first method, which confirmed that GRUB-legacy was not installed, and this second method, which confirmed GRUB2 was installed. However, confusingly this third method seemed to provide evidence that GRUB-legacy was installed.



Consequently, I decided to wipe the MBR and reinstall a fresh GRUB2 on it. As suggested elsewhere, I used dd if=/dev/zero of=/dev/hda bs=1 count=446 to wipe the MBR (above commands and a reboot all confirmed the success of this command).



Finally, I chrooted again into my working partition and ran grub-install, which reported "Installation finished" without errors but didn't seem to actually modify the MBR.



Now I'm lost, how am I supposed to install GRUB2 on the MBR ?



FWIW, /boot is on /dev/sda3, which is set as "bootable".



For now I ended up installing LILO (I'm running Slackware) but I'm still willing to fix this issue.



Update :



I couldn't help but run grub-install again after booting through LILO. This time the MBR was successfully modified according to the second method mentioned above (though the third method still showed LILO but I guess it's only a remaining useless string) and the fact that I got the GRUB greetings.



I suppose I'm missing some binding besides /sys and /proc when running grub-install through chroot (yes I tried again), but which one(s) ? It says "No error reported"…



(Still get the blank screen, though… Gonna stick to LILO for now.)










share|improve this question



























    up vote
    0
    down vote

    favorite












    I got a blank screen after the "Welcome to GRUB" greetings.



    I ran grub-install and grub-mkconfig from a chroot, but still couldn't get to the GRUB menu.



    Because of the setup (former dual boot with another GNU/Linux distribution) I thought maybe it was using GRUB-legacy, so I ran both this first method, which confirmed that GRUB-legacy was not installed, and this second method, which confirmed GRUB2 was installed. However, confusingly this third method seemed to provide evidence that GRUB-legacy was installed.



    Consequently, I decided to wipe the MBR and reinstall a fresh GRUB2 on it. As suggested elsewhere, I used dd if=/dev/zero of=/dev/hda bs=1 count=446 to wipe the MBR (above commands and a reboot all confirmed the success of this command).



    Finally, I chrooted again into my working partition and ran grub-install, which reported "Installation finished" without errors but didn't seem to actually modify the MBR.



    Now I'm lost, how am I supposed to install GRUB2 on the MBR ?



    FWIW, /boot is on /dev/sda3, which is set as "bootable".



    For now I ended up installing LILO (I'm running Slackware) but I'm still willing to fix this issue.



    Update :



    I couldn't help but run grub-install again after booting through LILO. This time the MBR was successfully modified according to the second method mentioned above (though the third method still showed LILO but I guess it's only a remaining useless string) and the fact that I got the GRUB greetings.



    I suppose I'm missing some binding besides /sys and /proc when running grub-install through chroot (yes I tried again), but which one(s) ? It says "No error reported"…



    (Still get the blank screen, though… Gonna stick to LILO for now.)










    share|improve this question

























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I got a blank screen after the "Welcome to GRUB" greetings.



      I ran grub-install and grub-mkconfig from a chroot, but still couldn't get to the GRUB menu.



      Because of the setup (former dual boot with another GNU/Linux distribution) I thought maybe it was using GRUB-legacy, so I ran both this first method, which confirmed that GRUB-legacy was not installed, and this second method, which confirmed GRUB2 was installed. However, confusingly this third method seemed to provide evidence that GRUB-legacy was installed.



      Consequently, I decided to wipe the MBR and reinstall a fresh GRUB2 on it. As suggested elsewhere, I used dd if=/dev/zero of=/dev/hda bs=1 count=446 to wipe the MBR (above commands and a reboot all confirmed the success of this command).



      Finally, I chrooted again into my working partition and ran grub-install, which reported "Installation finished" without errors but didn't seem to actually modify the MBR.



      Now I'm lost, how am I supposed to install GRUB2 on the MBR ?



      FWIW, /boot is on /dev/sda3, which is set as "bootable".



      For now I ended up installing LILO (I'm running Slackware) but I'm still willing to fix this issue.



      Update :



      I couldn't help but run grub-install again after booting through LILO. This time the MBR was successfully modified according to the second method mentioned above (though the third method still showed LILO but I guess it's only a remaining useless string) and the fact that I got the GRUB greetings.



      I suppose I'm missing some binding besides /sys and /proc when running grub-install through chroot (yes I tried again), but which one(s) ? It says "No error reported"…



      (Still get the blank screen, though… Gonna stick to LILO for now.)










      share|improve this question















      I got a blank screen after the "Welcome to GRUB" greetings.



      I ran grub-install and grub-mkconfig from a chroot, but still couldn't get to the GRUB menu.



      Because of the setup (former dual boot with another GNU/Linux distribution) I thought maybe it was using GRUB-legacy, so I ran both this first method, which confirmed that GRUB-legacy was not installed, and this second method, which confirmed GRUB2 was installed. However, confusingly this third method seemed to provide evidence that GRUB-legacy was installed.



      Consequently, I decided to wipe the MBR and reinstall a fresh GRUB2 on it. As suggested elsewhere, I used dd if=/dev/zero of=/dev/hda bs=1 count=446 to wipe the MBR (above commands and a reboot all confirmed the success of this command).



      Finally, I chrooted again into my working partition and ran grub-install, which reported "Installation finished" without errors but didn't seem to actually modify the MBR.



      Now I'm lost, how am I supposed to install GRUB2 on the MBR ?



      FWIW, /boot is on /dev/sda3, which is set as "bootable".



      For now I ended up installing LILO (I'm running Slackware) but I'm still willing to fix this issue.



      Update :



      I couldn't help but run grub-install again after booting through LILO. This time the MBR was successfully modified according to the second method mentioned above (though the third method still showed LILO but I guess it's only a remaining useless string) and the fact that I got the GRUB greetings.



      I suppose I'm missing some binding besides /sys and /proc when running grub-install through chroot (yes I tried again), but which one(s) ? It says "No error reported"…



      (Still get the blank screen, though… Gonna stick to LILO for now.)







      grub2 boot-loader mbr






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 3 hours ago

























      asked 4 hours ago









      Skippy le Grand Gourou

      9771020




      9771020

























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          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: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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%2funix.stackexchange.com%2fquestions%2f480866%2fgrub2-wont-install-into-mbr%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f480866%2fgrub2-wont-install-into-mbr%23new-answer', 'question_page');

          );

          Post as a guest













































































          uIhU,2e2DjfX b3HnYx7EXy0df3vX8Q5q,uMlk5 Jz,dJi,Tzo JrPbs2CCz94HAvxqejqC,LR,wKvvgPBa eeSnNxZDHYUS05GVS21Wz3
          0T59seGUOGocPvHytqgnARfl4a Niyta52O7ZsOLpvnkey3cPw,Ma hBEaDzQcKFpa20 nUAB55X,PUXQJes

          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          How many registers does an x86_64 CPU actually have?

          Displaying single band from multi-band raster using QGIS