Debian 9 does not boot after installing on USB drive with UEFI

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





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








3
















Goal: boot up from fully installed debian 9 USB drive



I installed debian into my USB drive but it fails to recognize my USB in boot option.
This is the link where I downloaded the iso file.



Below are what I have tried



  1. I tried to burn the iso into my first USB drive using Rufus


  2. I then try to boot from the USB live


  3. I run through the setup progress, burning the OS into my second USB. During the progress, it did not show any errors. (it was able to detect my second USB).


  4. However, after I finished the setup. It did not show up the second USB as one of the boot option.


I checked the boot sequence. My first priority is USB port.
I repeated all the steps mentioned above on my friend laptop (Windows 10) and it worked on his laptop.



Update:



1) I unplugged the internal hard drive and setting up debian without it, it just tells me no bootable drive.



2) Run the checksum



C:UsersPCDownloadsISO>certutil -hashfile debian-live-9.8.0-amd64-gnome+nonfree.iso MD5
MD5 hash of debian-live-9.8.0-amd64-gnome+nonfree.iso:
83436d6e797c75084dbeba203f5a818d
CertUtil: -hashfile command completed successfully.


it is the same as the official website.



3) I tried to copy the ESI files/EFI/boot and /EFI/debian from Windows and pasted it to the USB ESI partition



4) I also took out my second internal Hard Drive and inserted a new Hard drive to install Debian into it










share|improve this question






























    3
















    Goal: boot up from fully installed debian 9 USB drive



    I installed debian into my USB drive but it fails to recognize my USB in boot option.
    This is the link where I downloaded the iso file.



    Below are what I have tried



    1. I tried to burn the iso into my first USB drive using Rufus


    2. I then try to boot from the USB live


    3. I run through the setup progress, burning the OS into my second USB. During the progress, it did not show any errors. (it was able to detect my second USB).


    4. However, after I finished the setup. It did not show up the second USB as one of the boot option.


    I checked the boot sequence. My first priority is USB port.
    I repeated all the steps mentioned above on my friend laptop (Windows 10) and it worked on his laptop.



    Update:



    1) I unplugged the internal hard drive and setting up debian without it, it just tells me no bootable drive.



    2) Run the checksum



    C:UsersPCDownloadsISO>certutil -hashfile debian-live-9.8.0-amd64-gnome+nonfree.iso MD5
    MD5 hash of debian-live-9.8.0-amd64-gnome+nonfree.iso:
    83436d6e797c75084dbeba203f5a818d
    CertUtil: -hashfile command completed successfully.


    it is the same as the official website.



    3) I tried to copy the ESI files/EFI/boot and /EFI/debian from Windows and pasted it to the USB ESI partition



    4) I also took out my second internal Hard Drive and inserted a new Hard drive to install Debian into it










    share|improve this question


























      3












      3








      3









      Goal: boot up from fully installed debian 9 USB drive



      I installed debian into my USB drive but it fails to recognize my USB in boot option.
      This is the link where I downloaded the iso file.



      Below are what I have tried



      1. I tried to burn the iso into my first USB drive using Rufus


      2. I then try to boot from the USB live


      3. I run through the setup progress, burning the OS into my second USB. During the progress, it did not show any errors. (it was able to detect my second USB).


      4. However, after I finished the setup. It did not show up the second USB as one of the boot option.


      I checked the boot sequence. My first priority is USB port.
      I repeated all the steps mentioned above on my friend laptop (Windows 10) and it worked on his laptop.



      Update:



      1) I unplugged the internal hard drive and setting up debian without it, it just tells me no bootable drive.



      2) Run the checksum



      C:UsersPCDownloadsISO>certutil -hashfile debian-live-9.8.0-amd64-gnome+nonfree.iso MD5
      MD5 hash of debian-live-9.8.0-amd64-gnome+nonfree.iso:
      83436d6e797c75084dbeba203f5a818d
      CertUtil: -hashfile command completed successfully.


      it is the same as the official website.



      3) I tried to copy the ESI files/EFI/boot and /EFI/debian from Windows and pasted it to the USB ESI partition



      4) I also took out my second internal Hard Drive and inserted a new Hard drive to install Debian into it










      share|improve this question

















      Goal: boot up from fully installed debian 9 USB drive



      I installed debian into my USB drive but it fails to recognize my USB in boot option.
      This is the link where I downloaded the iso file.



      Below are what I have tried



      1. I tried to burn the iso into my first USB drive using Rufus


      2. I then try to boot from the USB live


      3. I run through the setup progress, burning the OS into my second USB. During the progress, it did not show any errors. (it was able to detect my second USB).


      4. However, after I finished the setup. It did not show up the second USB as one of the boot option.


      I checked the boot sequence. My first priority is USB port.
      I repeated all the steps mentioned above on my friend laptop (Windows 10) and it worked on his laptop.



      Update:



      1) I unplugged the internal hard drive and setting up debian without it, it just tells me no bootable drive.



      2) Run the checksum



      C:UsersPCDownloadsISO>certutil -hashfile debian-live-9.8.0-amd64-gnome+nonfree.iso MD5
      MD5 hash of debian-live-9.8.0-amd64-gnome+nonfree.iso:
      83436d6e797c75084dbeba203f5a818d
      CertUtil: -hashfile command completed successfully.


      it is the same as the official website.



      3) I tried to copy the ESI files/EFI/boot and /EFI/debian from Windows and pasted it to the USB ESI partition



      4) I also took out my second internal Hard Drive and inserted a new Hard drive to install Debian into it







      debian boot live-usb






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 20 at 3:02







      Lau Chok Yip

















      asked Mar 17 at 22:59









      Lau Chok YipLau Chok Yip

      368




      368




















          1 Answer
          1






          active

          oldest

          votes


















          2














          Here is how I fixed it



          This is how the files in the USB ESP partition should look like:



          full-install USB 
          ESP partition
          EFI (directory)
          Boot (directory)
          bootx64.efi
          grubx64.efi
          fbx64.efi
          debian (directory)
          grubx64.efi


          However there were NO EFI FILES in my USB after I finished installing (So please check your ESP partition!). So I have to copy the Boot folder and debian folder from Windows ESP parition and copy the grubx64.efi into Boot folder




          • Details about how to access EFI partition in Windows please check out this link

          • Details about how to access EFI partition in USB please check out this link

          NOTE: to access the EFI partition in USB you have to use any Linux distros live USB and I was using Kali live USB.






          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%2f506894%2fdebian-9-does-not-boot-after-installing-on-usb-drive-with-uefi%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









            2














            Here is how I fixed it



            This is how the files in the USB ESP partition should look like:



            full-install USB 
            ESP partition
            EFI (directory)
            Boot (directory)
            bootx64.efi
            grubx64.efi
            fbx64.efi
            debian (directory)
            grubx64.efi


            However there were NO EFI FILES in my USB after I finished installing (So please check your ESP partition!). So I have to copy the Boot folder and debian folder from Windows ESP parition and copy the grubx64.efi into Boot folder




            • Details about how to access EFI partition in Windows please check out this link

            • Details about how to access EFI partition in USB please check out this link

            NOTE: to access the EFI partition in USB you have to use any Linux distros live USB and I was using Kali live USB.






            share|improve this answer





























              2














              Here is how I fixed it



              This is how the files in the USB ESP partition should look like:



              full-install USB 
              ESP partition
              EFI (directory)
              Boot (directory)
              bootx64.efi
              grubx64.efi
              fbx64.efi
              debian (directory)
              grubx64.efi


              However there were NO EFI FILES in my USB after I finished installing (So please check your ESP partition!). So I have to copy the Boot folder and debian folder from Windows ESP parition and copy the grubx64.efi into Boot folder




              • Details about how to access EFI partition in Windows please check out this link

              • Details about how to access EFI partition in USB please check out this link

              NOTE: to access the EFI partition in USB you have to use any Linux distros live USB and I was using Kali live USB.






              share|improve this answer



























                2












                2








                2







                Here is how I fixed it



                This is how the files in the USB ESP partition should look like:



                full-install USB 
                ESP partition
                EFI (directory)
                Boot (directory)
                bootx64.efi
                grubx64.efi
                fbx64.efi
                debian (directory)
                grubx64.efi


                However there were NO EFI FILES in my USB after I finished installing (So please check your ESP partition!). So I have to copy the Boot folder and debian folder from Windows ESP parition and copy the grubx64.efi into Boot folder




                • Details about how to access EFI partition in Windows please check out this link

                • Details about how to access EFI partition in USB please check out this link

                NOTE: to access the EFI partition in USB you have to use any Linux distros live USB and I was using Kali live USB.






                share|improve this answer















                Here is how I fixed it



                This is how the files in the USB ESP partition should look like:



                full-install USB 
                ESP partition
                EFI (directory)
                Boot (directory)
                bootx64.efi
                grubx64.efi
                fbx64.efi
                debian (directory)
                grubx64.efi


                However there were NO EFI FILES in my USB after I finished installing (So please check your ESP partition!). So I have to copy the Boot folder and debian folder from Windows ESP parition and copy the grubx64.efi into Boot folder




                • Details about how to access EFI partition in Windows please check out this link

                • Details about how to access EFI partition in USB please check out this link

                NOTE: to access the EFI partition in USB you have to use any Linux distros live USB and I was using Kali live USB.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Mar 20 at 11:35









                slm

                256k71544690




                256k71544690










                answered Mar 20 at 5:26









                Lau Chok YipLau Chok Yip

                368




                368



























                    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%2f506894%2fdebian-9-does-not-boot-after-installing-on-usb-drive-with-uefi%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

                    Peggy Mitchell

                    Palaiologos

                    The Forum (Inglewood, California)