How can I chainload GRUB on another drive?












2















I have two pen drives. On one I have a full install of Arch GNU/Linux. This install is compatible with both EFI systems and BIOS systems; it has a GPT drive with a BIOS Compatibility Region and an EFI partition. GRUB2 is installed as an EFI application in the EFI partition, and it is also embedded into the BIOS Compatibility Region. On the second pen drive, I have an MBR and a FAT32 partition that fills the entire drive.



I have a BIOS computer (an XPS 13 that came preinstalled with Windows 7) that refuses to boot the GPT drive, despite the fact that I have successfully booted using the BIOS Compatibility Region on other computers. The only explanation is that there is a bug in the computer's BIOS; therefore, I've tried updating the BIOS, to no avail. I've also set the bootable flag on the Protective MBR's GPT partition - this did nothing. I've called Dell technical support, and went through 3 departments until they eventually wanted me to pay $60 to have one of their support guys help me work around a bug in their own BIOS. I declined. Because of all this, I've decided that fixing the BIOS is a dead end.



What I want to do instead is use the second pen drive to chainload the first, since if a drive has an MBR, the BIOS will boot it just fine. I don't care how this is done. It can be done using Syslinux, GRUB2, or some other specialized tool. I would prefer to not have to create another partition on the drive to house config files, but I doubt this will be possible. I've tried messing around with Syslinux's chain32 command (IIRC, that's what it's called), but it seems like this can only do stuff on the same drive. Likewise with GRUB's chainload +1. I've fiddled with all this endlessly, but with no luck. I've Googled, but haven't found anything useful.



So: how can I chainload a GRUB installation that resides on a separate drive?










share|improve this question
















bumped to the homepage by Community 2 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    2















    I have two pen drives. On one I have a full install of Arch GNU/Linux. This install is compatible with both EFI systems and BIOS systems; it has a GPT drive with a BIOS Compatibility Region and an EFI partition. GRUB2 is installed as an EFI application in the EFI partition, and it is also embedded into the BIOS Compatibility Region. On the second pen drive, I have an MBR and a FAT32 partition that fills the entire drive.



    I have a BIOS computer (an XPS 13 that came preinstalled with Windows 7) that refuses to boot the GPT drive, despite the fact that I have successfully booted using the BIOS Compatibility Region on other computers. The only explanation is that there is a bug in the computer's BIOS; therefore, I've tried updating the BIOS, to no avail. I've also set the bootable flag on the Protective MBR's GPT partition - this did nothing. I've called Dell technical support, and went through 3 departments until they eventually wanted me to pay $60 to have one of their support guys help me work around a bug in their own BIOS. I declined. Because of all this, I've decided that fixing the BIOS is a dead end.



    What I want to do instead is use the second pen drive to chainload the first, since if a drive has an MBR, the BIOS will boot it just fine. I don't care how this is done. It can be done using Syslinux, GRUB2, or some other specialized tool. I would prefer to not have to create another partition on the drive to house config files, but I doubt this will be possible. I've tried messing around with Syslinux's chain32 command (IIRC, that's what it's called), but it seems like this can only do stuff on the same drive. Likewise with GRUB's chainload +1. I've fiddled with all this endlessly, but with no luck. I've Googled, but haven't found anything useful.



    So: how can I chainload a GRUB installation that resides on a separate drive?










    share|improve this question
















    bumped to the homepage by Community 2 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      2












      2








      2








      I have two pen drives. On one I have a full install of Arch GNU/Linux. This install is compatible with both EFI systems and BIOS systems; it has a GPT drive with a BIOS Compatibility Region and an EFI partition. GRUB2 is installed as an EFI application in the EFI partition, and it is also embedded into the BIOS Compatibility Region. On the second pen drive, I have an MBR and a FAT32 partition that fills the entire drive.



      I have a BIOS computer (an XPS 13 that came preinstalled with Windows 7) that refuses to boot the GPT drive, despite the fact that I have successfully booted using the BIOS Compatibility Region on other computers. The only explanation is that there is a bug in the computer's BIOS; therefore, I've tried updating the BIOS, to no avail. I've also set the bootable flag on the Protective MBR's GPT partition - this did nothing. I've called Dell technical support, and went through 3 departments until they eventually wanted me to pay $60 to have one of their support guys help me work around a bug in their own BIOS. I declined. Because of all this, I've decided that fixing the BIOS is a dead end.



      What I want to do instead is use the second pen drive to chainload the first, since if a drive has an MBR, the BIOS will boot it just fine. I don't care how this is done. It can be done using Syslinux, GRUB2, or some other specialized tool. I would prefer to not have to create another partition on the drive to house config files, but I doubt this will be possible. I've tried messing around with Syslinux's chain32 command (IIRC, that's what it's called), but it seems like this can only do stuff on the same drive. Likewise with GRUB's chainload +1. I've fiddled with all this endlessly, but with no luck. I've Googled, but haven't found anything useful.



      So: how can I chainload a GRUB installation that resides on a separate drive?










      share|improve this question
















      I have two pen drives. On one I have a full install of Arch GNU/Linux. This install is compatible with both EFI systems and BIOS systems; it has a GPT drive with a BIOS Compatibility Region and an EFI partition. GRUB2 is installed as an EFI application in the EFI partition, and it is also embedded into the BIOS Compatibility Region. On the second pen drive, I have an MBR and a FAT32 partition that fills the entire drive.



      I have a BIOS computer (an XPS 13 that came preinstalled with Windows 7) that refuses to boot the GPT drive, despite the fact that I have successfully booted using the BIOS Compatibility Region on other computers. The only explanation is that there is a bug in the computer's BIOS; therefore, I've tried updating the BIOS, to no avail. I've also set the bootable flag on the Protective MBR's GPT partition - this did nothing. I've called Dell technical support, and went through 3 departments until they eventually wanted me to pay $60 to have one of their support guys help me work around a bug in their own BIOS. I declined. Because of all this, I've decided that fixing the BIOS is a dead end.



      What I want to do instead is use the second pen drive to chainload the first, since if a drive has an MBR, the BIOS will boot it just fine. I don't care how this is done. It can be done using Syslinux, GRUB2, or some other specialized tool. I would prefer to not have to create another partition on the drive to house config files, but I doubt this will be possible. I've tried messing around with Syslinux's chain32 command (IIRC, that's what it's called), but it seems like this can only do stuff on the same drive. Likewise with GRUB's chainload +1. I've fiddled with all this endlessly, but with no luck. I've Googled, but haven't found anything useful.



      So: how can I chainload a GRUB installation that resides on a separate drive?







      grub2 boot-loader uefi syslinux






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 21 '14 at 0:43









      Braiam

      23.4k1977140




      23.4k1977140










      asked Apr 21 '14 at 0:20









      strugeestrugee

      8,1991254102




      8,1991254102





      bumped to the homepage by Community 2 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 2 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          You won't chainload UEFI bootloader from BIOS bootloader. You can chainload a BIOS bootloader using EDK2 refind build though.



          http://www.rodsbooks.com/efi-bootloaders/principles.html
          http://www.rodsbooks.com/refind/






          share|improve this answer























            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',
            autoActivateHeartbeat: false,
            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%2f125716%2fhow-can-i-chainload-grub-on-another-drive%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









            0














            You won't chainload UEFI bootloader from BIOS bootloader. You can chainload a BIOS bootloader using EDK2 refind build though.



            http://www.rodsbooks.com/efi-bootloaders/principles.html
            http://www.rodsbooks.com/refind/






            share|improve this answer




























              0














              You won't chainload UEFI bootloader from BIOS bootloader. You can chainload a BIOS bootloader using EDK2 refind build though.



              http://www.rodsbooks.com/efi-bootloaders/principles.html
              http://www.rodsbooks.com/refind/






              share|improve this answer


























                0












                0








                0







                You won't chainload UEFI bootloader from BIOS bootloader. You can chainload a BIOS bootloader using EDK2 refind build though.



                http://www.rodsbooks.com/efi-bootloaders/principles.html
                http://www.rodsbooks.com/refind/






                share|improve this answer













                You won't chainload UEFI bootloader from BIOS bootloader. You can chainload a BIOS bootloader using EDK2 refind build though.



                http://www.rodsbooks.com/efi-bootloaders/principles.html
                http://www.rodsbooks.com/refind/







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 21 '14 at 22:33









                Michael ShigorinMichael Shigorin

                77259




                77259






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • 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%2funix.stackexchange.com%2fquestions%2f125716%2fhow-can-i-chainload-grub-on-another-drive%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

                    Loup dans la culture

                    How to solve the problem of ntp “Unable to contact time server” from KDE?

                    ASUS Zenbook UX433/UX333 — Configure Touchpad-embedded numpad on Linux