Custom install onto UEFI-only machine











up vote
2
down vote

favorite
1












I am trying to install Ubuntu 14.04 via USB onto a Dell 7060, which only allows EFI boot when booting from HD. I am passing -isohybrid-mbr to xorriso CLARIFYING EDIT: and installing from legacy-mode, and things seem to install ok, but after removing the USB and rebooting, I get the error, "No bootable devices found." My current xorriso arguments are:



Source: http://askubuntu.com/questions/625286/how-to-create-uefi-bootable-iso



remaster_iso() {

cd "${BASEDIR}/extract-cd"

sudo xorriso -as mkisofs
-iso-level 3
-isohybrid-mbr /usr/lib/syslinux/isohdpfx.bin
-c isolinux/boot.cat
-b isolinux/isolinux.bin
-no-emul-boot
-boot-load-size 4
-boot-info-table
-eltorito-alt-boot
-e boot/grub/efi.img
-no-emul-boot
-isohybrid-gpt-basdat
-D -r -J -l -V "${ISO_LABEL}"
-o ../staging/"$ISO_COMMON_NAME-$ISO_VERSION-$ISO_BUILDNUM.iso" .


Any ideas how to troubleshoot this?



EDIT: One thing which helped was figuring out which cfg file was getting called. In legacy boot mode, we were using an edited version of txt.cfg. But in EFI mode, the menu appearing was boot/grub/grub.cfg, which seems to be called by the boot/grub/efi.img we are passing in the command above. Editing the boot.cfg file to include an option which uses our preseed allows the installation to proceed mostly as planned.










share|improve this question




















  • 1




    Is this a single installation to the Dell 7060? In that case, you can install from a USB drive made from the standard Ubuntu iso file. It can boot in UEFI mode, and you can install Ubuntu. After the installation you can add any program packages and tweaks. You can even make an OEM system, which can be ported (as an installed system) to other computers of the same kind, but also to different computers. But it is not as portable as an Ubuntu live drive (made from an iso file).
    – sudodus
    Nov 26 at 16:47










  • Single boot. OEM install looks interesting, but our current process is to install everything at once, and it would be preferable to continue to do so.
    – ctd
    Nov 26 at 18:52










  • okay so since you figured it out, why not write an answer, so everyone can join your newly achieved knowledge
    – db429
    Nov 27 at 1:07






  • 1




    If no one writes up something nice about how the .img and .cfg files are interconnected in the next day or so, I will write up my hacky guesswork.
    – ctd
    Nov 27 at 1:44










  • @ctd, We are looking forward to your solution :-)
    – sudodus
    Nov 27 at 5:34















up vote
2
down vote

favorite
1












I am trying to install Ubuntu 14.04 via USB onto a Dell 7060, which only allows EFI boot when booting from HD. I am passing -isohybrid-mbr to xorriso CLARIFYING EDIT: and installing from legacy-mode, and things seem to install ok, but after removing the USB and rebooting, I get the error, "No bootable devices found." My current xorriso arguments are:



Source: http://askubuntu.com/questions/625286/how-to-create-uefi-bootable-iso



remaster_iso() {

cd "${BASEDIR}/extract-cd"

sudo xorriso -as mkisofs
-iso-level 3
-isohybrid-mbr /usr/lib/syslinux/isohdpfx.bin
-c isolinux/boot.cat
-b isolinux/isolinux.bin
-no-emul-boot
-boot-load-size 4
-boot-info-table
-eltorito-alt-boot
-e boot/grub/efi.img
-no-emul-boot
-isohybrid-gpt-basdat
-D -r -J -l -V "${ISO_LABEL}"
-o ../staging/"$ISO_COMMON_NAME-$ISO_VERSION-$ISO_BUILDNUM.iso" .


Any ideas how to troubleshoot this?



EDIT: One thing which helped was figuring out which cfg file was getting called. In legacy boot mode, we were using an edited version of txt.cfg. But in EFI mode, the menu appearing was boot/grub/grub.cfg, which seems to be called by the boot/grub/efi.img we are passing in the command above. Editing the boot.cfg file to include an option which uses our preseed allows the installation to proceed mostly as planned.










share|improve this question




















  • 1




    Is this a single installation to the Dell 7060? In that case, you can install from a USB drive made from the standard Ubuntu iso file. It can boot in UEFI mode, and you can install Ubuntu. After the installation you can add any program packages and tweaks. You can even make an OEM system, which can be ported (as an installed system) to other computers of the same kind, but also to different computers. But it is not as portable as an Ubuntu live drive (made from an iso file).
    – sudodus
    Nov 26 at 16:47










  • Single boot. OEM install looks interesting, but our current process is to install everything at once, and it would be preferable to continue to do so.
    – ctd
    Nov 26 at 18:52










  • okay so since you figured it out, why not write an answer, so everyone can join your newly achieved knowledge
    – db429
    Nov 27 at 1:07






  • 1




    If no one writes up something nice about how the .img and .cfg files are interconnected in the next day or so, I will write up my hacky guesswork.
    – ctd
    Nov 27 at 1:44










  • @ctd, We are looking forward to your solution :-)
    – sudodus
    Nov 27 at 5:34













up vote
2
down vote

favorite
1









up vote
2
down vote

favorite
1






1





I am trying to install Ubuntu 14.04 via USB onto a Dell 7060, which only allows EFI boot when booting from HD. I am passing -isohybrid-mbr to xorriso CLARIFYING EDIT: and installing from legacy-mode, and things seem to install ok, but after removing the USB and rebooting, I get the error, "No bootable devices found." My current xorriso arguments are:



Source: http://askubuntu.com/questions/625286/how-to-create-uefi-bootable-iso



remaster_iso() {

cd "${BASEDIR}/extract-cd"

sudo xorriso -as mkisofs
-iso-level 3
-isohybrid-mbr /usr/lib/syslinux/isohdpfx.bin
-c isolinux/boot.cat
-b isolinux/isolinux.bin
-no-emul-boot
-boot-load-size 4
-boot-info-table
-eltorito-alt-boot
-e boot/grub/efi.img
-no-emul-boot
-isohybrid-gpt-basdat
-D -r -J -l -V "${ISO_LABEL}"
-o ../staging/"$ISO_COMMON_NAME-$ISO_VERSION-$ISO_BUILDNUM.iso" .


Any ideas how to troubleshoot this?



EDIT: One thing which helped was figuring out which cfg file was getting called. In legacy boot mode, we were using an edited version of txt.cfg. But in EFI mode, the menu appearing was boot/grub/grub.cfg, which seems to be called by the boot/grub/efi.img we are passing in the command above. Editing the boot.cfg file to include an option which uses our preseed allows the installation to proceed mostly as planned.










share|improve this question















I am trying to install Ubuntu 14.04 via USB onto a Dell 7060, which only allows EFI boot when booting from HD. I am passing -isohybrid-mbr to xorriso CLARIFYING EDIT: and installing from legacy-mode, and things seem to install ok, but after removing the USB and rebooting, I get the error, "No bootable devices found." My current xorriso arguments are:



Source: http://askubuntu.com/questions/625286/how-to-create-uefi-bootable-iso



remaster_iso() {

cd "${BASEDIR}/extract-cd"

sudo xorriso -as mkisofs
-iso-level 3
-isohybrid-mbr /usr/lib/syslinux/isohdpfx.bin
-c isolinux/boot.cat
-b isolinux/isolinux.bin
-no-emul-boot
-boot-load-size 4
-boot-info-table
-eltorito-alt-boot
-e boot/grub/efi.img
-no-emul-boot
-isohybrid-gpt-basdat
-D -r -J -l -V "${ISO_LABEL}"
-o ../staging/"$ISO_COMMON_NAME-$ISO_VERSION-$ISO_BUILDNUM.iso" .


Any ideas how to troubleshoot this?



EDIT: One thing which helped was figuring out which cfg file was getting called. In legacy boot mode, we were using an edited version of txt.cfg. But in EFI mode, the menu appearing was boot/grub/grub.cfg, which seems to be called by the boot/grub/efi.img we are passing in the command above. Editing the boot.cfg file to include an option which uses our preseed allows the installation to proceed mostly as planned.







boot uefi






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 28 at 0:32

























asked Nov 26 at 16:26









ctd

12819




12819








  • 1




    Is this a single installation to the Dell 7060? In that case, you can install from a USB drive made from the standard Ubuntu iso file. It can boot in UEFI mode, and you can install Ubuntu. After the installation you can add any program packages and tweaks. You can even make an OEM system, which can be ported (as an installed system) to other computers of the same kind, but also to different computers. But it is not as portable as an Ubuntu live drive (made from an iso file).
    – sudodus
    Nov 26 at 16:47










  • Single boot. OEM install looks interesting, but our current process is to install everything at once, and it would be preferable to continue to do so.
    – ctd
    Nov 26 at 18:52










  • okay so since you figured it out, why not write an answer, so everyone can join your newly achieved knowledge
    – db429
    Nov 27 at 1:07






  • 1




    If no one writes up something nice about how the .img and .cfg files are interconnected in the next day or so, I will write up my hacky guesswork.
    – ctd
    Nov 27 at 1:44










  • @ctd, We are looking forward to your solution :-)
    – sudodus
    Nov 27 at 5:34














  • 1




    Is this a single installation to the Dell 7060? In that case, you can install from a USB drive made from the standard Ubuntu iso file. It can boot in UEFI mode, and you can install Ubuntu. After the installation you can add any program packages and tweaks. You can even make an OEM system, which can be ported (as an installed system) to other computers of the same kind, but also to different computers. But it is not as portable as an Ubuntu live drive (made from an iso file).
    – sudodus
    Nov 26 at 16:47










  • Single boot. OEM install looks interesting, but our current process is to install everything at once, and it would be preferable to continue to do so.
    – ctd
    Nov 26 at 18:52










  • okay so since you figured it out, why not write an answer, so everyone can join your newly achieved knowledge
    – db429
    Nov 27 at 1:07






  • 1




    If no one writes up something nice about how the .img and .cfg files are interconnected in the next day or so, I will write up my hacky guesswork.
    – ctd
    Nov 27 at 1:44










  • @ctd, We are looking forward to your solution :-)
    – sudodus
    Nov 27 at 5:34








1




1




Is this a single installation to the Dell 7060? In that case, you can install from a USB drive made from the standard Ubuntu iso file. It can boot in UEFI mode, and you can install Ubuntu. After the installation you can add any program packages and tweaks. You can even make an OEM system, which can be ported (as an installed system) to other computers of the same kind, but also to different computers. But it is not as portable as an Ubuntu live drive (made from an iso file).
– sudodus
Nov 26 at 16:47




Is this a single installation to the Dell 7060? In that case, you can install from a USB drive made from the standard Ubuntu iso file. It can boot in UEFI mode, and you can install Ubuntu. After the installation you can add any program packages and tweaks. You can even make an OEM system, which can be ported (as an installed system) to other computers of the same kind, but also to different computers. But it is not as portable as an Ubuntu live drive (made from an iso file).
– sudodus
Nov 26 at 16:47












Single boot. OEM install looks interesting, but our current process is to install everything at once, and it would be preferable to continue to do so.
– ctd
Nov 26 at 18:52




Single boot. OEM install looks interesting, but our current process is to install everything at once, and it would be preferable to continue to do so.
– ctd
Nov 26 at 18:52












okay so since you figured it out, why not write an answer, so everyone can join your newly achieved knowledge
– db429
Nov 27 at 1:07




okay so since you figured it out, why not write an answer, so everyone can join your newly achieved knowledge
– db429
Nov 27 at 1:07




1




1




If no one writes up something nice about how the .img and .cfg files are interconnected in the next day or so, I will write up my hacky guesswork.
– ctd
Nov 27 at 1:44




If no one writes up something nice about how the .img and .cfg files are interconnected in the next day or so, I will write up my hacky guesswork.
– ctd
Nov 27 at 1:44












@ctd, We are looking forward to your solution :-)
– sudodus
Nov 27 at 5:34




@ctd, We are looking forward to your solution :-)
– sudodus
Nov 27 at 5:34










1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










xorriso turned out to be a bad guess. My guess which seemed to work was to install using EFI. Installing in legacy boot mode for the install USB resulted in an HD without an EFIboot partition. The problem was, I could only see my custom install menu when booting from legacy mode.



So, I needed a way to do an EFI install using my preseed file. I looked through the grub files on the USB installer and compared them to the GRUB menu I was seeing in EFI boot, and found that the boot/grub/grub.cfg file matched. So I added the following entry:



menuentry "Install My Custom Thingy" {
set gfxpayload=keep
linux /install/vmlinuz file=/cdrom/preseed/my_custom.seed quiet --
initrd /install/initrd.gz
}


This got everything working.






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%2f1096227%2fcustom-install-onto-uefi-only-machine%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
    1
    down vote



    accepted










    xorriso turned out to be a bad guess. My guess which seemed to work was to install using EFI. Installing in legacy boot mode for the install USB resulted in an HD without an EFIboot partition. The problem was, I could only see my custom install menu when booting from legacy mode.



    So, I needed a way to do an EFI install using my preseed file. I looked through the grub files on the USB installer and compared them to the GRUB menu I was seeing in EFI boot, and found that the boot/grub/grub.cfg file matched. So I added the following entry:



    menuentry "Install My Custom Thingy" {
    set gfxpayload=keep
    linux /install/vmlinuz file=/cdrom/preseed/my_custom.seed quiet --
    initrd /install/initrd.gz
    }


    This got everything working.






    share|improve this answer

























      up vote
      1
      down vote



      accepted










      xorriso turned out to be a bad guess. My guess which seemed to work was to install using EFI. Installing in legacy boot mode for the install USB resulted in an HD without an EFIboot partition. The problem was, I could only see my custom install menu when booting from legacy mode.



      So, I needed a way to do an EFI install using my preseed file. I looked through the grub files on the USB installer and compared them to the GRUB menu I was seeing in EFI boot, and found that the boot/grub/grub.cfg file matched. So I added the following entry:



      menuentry "Install My Custom Thingy" {
      set gfxpayload=keep
      linux /install/vmlinuz file=/cdrom/preseed/my_custom.seed quiet --
      initrd /install/initrd.gz
      }


      This got everything working.






      share|improve this answer























        up vote
        1
        down vote



        accepted







        up vote
        1
        down vote



        accepted






        xorriso turned out to be a bad guess. My guess which seemed to work was to install using EFI. Installing in legacy boot mode for the install USB resulted in an HD without an EFIboot partition. The problem was, I could only see my custom install menu when booting from legacy mode.



        So, I needed a way to do an EFI install using my preseed file. I looked through the grub files on the USB installer and compared them to the GRUB menu I was seeing in EFI boot, and found that the boot/grub/grub.cfg file matched. So I added the following entry:



        menuentry "Install My Custom Thingy" {
        set gfxpayload=keep
        linux /install/vmlinuz file=/cdrom/preseed/my_custom.seed quiet --
        initrd /install/initrd.gz
        }


        This got everything working.






        share|improve this answer












        xorriso turned out to be a bad guess. My guess which seemed to work was to install using EFI. Installing in legacy boot mode for the install USB resulted in an HD without an EFIboot partition. The problem was, I could only see my custom install menu when booting from legacy mode.



        So, I needed a way to do an EFI install using my preseed file. I looked through the grub files on the USB installer and compared them to the GRUB menu I was seeing in EFI boot, and found that the boot/grub/grub.cfg file matched. So I added the following entry:



        menuentry "Install My Custom Thingy" {
        set gfxpayload=keep
        linux /install/vmlinuz file=/cdrom/preseed/my_custom.seed quiet --
        initrd /install/initrd.gz
        }


        This got everything working.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 28 at 1:13









        ctd

        12819




        12819






























            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%2f1096227%2fcustom-install-onto-uefi-only-machine%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