Kali won't boot without USB flash drive












1















I have installed Linux Kali on one of partitions of my hard drive alongside Windows 10 from USB Flash Drive (I had a bootable live version with HDD install option) and it's not booting when the flash drive from which I installed it is not inserted. When I turn on computer, GRUB appears, I choose Kali and it keeps showing me this



I really don't know what can cause this. I've tried to set kali install partition as primary and flag it to boot but it didn't work. At first I have thought that maybe this is caused by Windows which blocks hard drive after shutdown (I needed to boot to Windows and then reboot to access drives when I was using live version) but if so, then why it boots after inserting flash drive? Furthermore when it boots properly (with flashdrive) I can remove it and it works fine. I've asked this question on SU too but still got no reply.










share|improve this question



























    1















    I have installed Linux Kali on one of partitions of my hard drive alongside Windows 10 from USB Flash Drive (I had a bootable live version with HDD install option) and it's not booting when the flash drive from which I installed it is not inserted. When I turn on computer, GRUB appears, I choose Kali and it keeps showing me this



    I really don't know what can cause this. I've tried to set kali install partition as primary and flag it to boot but it didn't work. At first I have thought that maybe this is caused by Windows which blocks hard drive after shutdown (I needed to boot to Windows and then reboot to access drives when I was using live version) but if so, then why it boots after inserting flash drive? Furthermore when it boots properly (with flashdrive) I can remove it and it works fine. I've asked this question on SU too but still got no reply.










    share|improve this question

























      1












      1








      1








      I have installed Linux Kali on one of partitions of my hard drive alongside Windows 10 from USB Flash Drive (I had a bootable live version with HDD install option) and it's not booting when the flash drive from which I installed it is not inserted. When I turn on computer, GRUB appears, I choose Kali and it keeps showing me this



      I really don't know what can cause this. I've tried to set kali install partition as primary and flag it to boot but it didn't work. At first I have thought that maybe this is caused by Windows which blocks hard drive after shutdown (I needed to boot to Windows and then reboot to access drives when I was using live version) but if so, then why it boots after inserting flash drive? Furthermore when it boots properly (with flashdrive) I can remove it and it works fine. I've asked this question on SU too but still got no reply.










      share|improve this question














      I have installed Linux Kali on one of partitions of my hard drive alongside Windows 10 from USB Flash Drive (I had a bootable live version with HDD install option) and it's not booting when the flash drive from which I installed it is not inserted. When I turn on computer, GRUB appears, I choose Kali and it keeps showing me this



      I really don't know what can cause this. I've tried to set kali install partition as primary and flag it to boot but it didn't work. At first I have thought that maybe this is caused by Windows which blocks hard drive after shutdown (I needed to boot to Windows and then reboot to access drives when I was using live version) but if so, then why it boots after inserting flash drive? Furthermore when it boots properly (with flashdrive) I can remove it and it works fine. I've asked this question on SU too but still got no reply.







      boot kali-linux dual-boot hard-disk usb-drive






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 11 '16 at 10:04









      nospanospa

      815




      815






















          2 Answers
          2






          active

          oldest

          votes


















          0














          It seems that you have booted through usb in UEFI mode for the installation. This is the problem.
          Reinstall kali and this time don't chose UEFI usb option on boot manager.Choose the other one i.e, legacy mode..and continue with graphical install.






          share|improve this answer































            0














            During my installation, in the partition phase, the installation guide had my USB listed as "sda" first then my hard drive listed second as "sdb". After installation when I rebooted without USB I got this error, "Alert! /dev/sdb2 does not exist". Looks like my hard drive changed to "sda" upon reboot. This is what worked for me.



            When in the GRUB menu hit "e" key to edit the commands.
            Look for "root=/dev/sdb5" in your commands.(The number in "sdb5" is the partition number, in your case "5")
            Change the "b" in "sdb5" to an "a" so it reads "root=/dev/sda5"
            You want the "root=" to point to the file system root that you want to boot. In this case probably "/dev/sda5". Do not change any other syntax. Directions at the bottom of the your screen should tell you how to save the changes and boot.
            Once you get into the OS, connect to the internet, open a terminal and execute the command "update-grub". This should update the commands with the UUID so now you should be able to reboot with no problems.






            share|improve this answer








            New contributor




            bulgypayload is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.




















              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%2f302745%2fkali-wont-boot-without-usb-flash-drive%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              0














              It seems that you have booted through usb in UEFI mode for the installation. This is the problem.
              Reinstall kali and this time don't chose UEFI usb option on boot manager.Choose the other one i.e, legacy mode..and continue with graphical install.






              share|improve this answer




























                0














                It seems that you have booted through usb in UEFI mode for the installation. This is the problem.
                Reinstall kali and this time don't chose UEFI usb option on boot manager.Choose the other one i.e, legacy mode..and continue with graphical install.






                share|improve this answer


























                  0












                  0








                  0







                  It seems that you have booted through usb in UEFI mode for the installation. This is the problem.
                  Reinstall kali and this time don't chose UEFI usb option on boot manager.Choose the other one i.e, legacy mode..and continue with graphical install.






                  share|improve this answer













                  It seems that you have booted through usb in UEFI mode for the installation. This is the problem.
                  Reinstall kali and this time don't chose UEFI usb option on boot manager.Choose the other one i.e, legacy mode..and continue with graphical install.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Feb 24 '18 at 16:36









                  user277653user277653

                  1




                  1

























                      0














                      During my installation, in the partition phase, the installation guide had my USB listed as "sda" first then my hard drive listed second as "sdb". After installation when I rebooted without USB I got this error, "Alert! /dev/sdb2 does not exist". Looks like my hard drive changed to "sda" upon reboot. This is what worked for me.



                      When in the GRUB menu hit "e" key to edit the commands.
                      Look for "root=/dev/sdb5" in your commands.(The number in "sdb5" is the partition number, in your case "5")
                      Change the "b" in "sdb5" to an "a" so it reads "root=/dev/sda5"
                      You want the "root=" to point to the file system root that you want to boot. In this case probably "/dev/sda5". Do not change any other syntax. Directions at the bottom of the your screen should tell you how to save the changes and boot.
                      Once you get into the OS, connect to the internet, open a terminal and execute the command "update-grub". This should update the commands with the UUID so now you should be able to reboot with no problems.






                      share|improve this answer








                      New contributor




                      bulgypayload is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                      Check out our Code of Conduct.

























                        0














                        During my installation, in the partition phase, the installation guide had my USB listed as "sda" first then my hard drive listed second as "sdb". After installation when I rebooted without USB I got this error, "Alert! /dev/sdb2 does not exist". Looks like my hard drive changed to "sda" upon reboot. This is what worked for me.



                        When in the GRUB menu hit "e" key to edit the commands.
                        Look for "root=/dev/sdb5" in your commands.(The number in "sdb5" is the partition number, in your case "5")
                        Change the "b" in "sdb5" to an "a" so it reads "root=/dev/sda5"
                        You want the "root=" to point to the file system root that you want to boot. In this case probably "/dev/sda5". Do not change any other syntax. Directions at the bottom of the your screen should tell you how to save the changes and boot.
                        Once you get into the OS, connect to the internet, open a terminal and execute the command "update-grub". This should update the commands with the UUID so now you should be able to reboot with no problems.






                        share|improve this answer








                        New contributor




                        bulgypayload is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.























                          0












                          0








                          0







                          During my installation, in the partition phase, the installation guide had my USB listed as "sda" first then my hard drive listed second as "sdb". After installation when I rebooted without USB I got this error, "Alert! /dev/sdb2 does not exist". Looks like my hard drive changed to "sda" upon reboot. This is what worked for me.



                          When in the GRUB menu hit "e" key to edit the commands.
                          Look for "root=/dev/sdb5" in your commands.(The number in "sdb5" is the partition number, in your case "5")
                          Change the "b" in "sdb5" to an "a" so it reads "root=/dev/sda5"
                          You want the "root=" to point to the file system root that you want to boot. In this case probably "/dev/sda5". Do not change any other syntax. Directions at the bottom of the your screen should tell you how to save the changes and boot.
                          Once you get into the OS, connect to the internet, open a terminal and execute the command "update-grub". This should update the commands with the UUID so now you should be able to reboot with no problems.






                          share|improve this answer








                          New contributor




                          bulgypayload is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.










                          During my installation, in the partition phase, the installation guide had my USB listed as "sda" first then my hard drive listed second as "sdb". After installation when I rebooted without USB I got this error, "Alert! /dev/sdb2 does not exist". Looks like my hard drive changed to "sda" upon reboot. This is what worked for me.



                          When in the GRUB menu hit "e" key to edit the commands.
                          Look for "root=/dev/sdb5" in your commands.(The number in "sdb5" is the partition number, in your case "5")
                          Change the "b" in "sdb5" to an "a" so it reads "root=/dev/sda5"
                          You want the "root=" to point to the file system root that you want to boot. In this case probably "/dev/sda5". Do not change any other syntax. Directions at the bottom of the your screen should tell you how to save the changes and boot.
                          Once you get into the OS, connect to the internet, open a terminal and execute the command "update-grub". This should update the commands with the UUID so now you should be able to reboot with no problems.







                          share|improve this answer








                          New contributor




                          bulgypayload is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.









                          share|improve this answer



                          share|improve this answer






                          New contributor




                          bulgypayload is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.









                          answered 54 mins ago









                          bulgypayloadbulgypayload

                          1




                          1




                          New contributor




                          bulgypayload is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.





                          New contributor





                          bulgypayload is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






                          bulgypayload is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






























                              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%2f302745%2fkali-wont-boot-without-usb-flash-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

                              CARDNET

                              Boot-repair Failure: Unable to locate package grub-common:i386

                              濃尾地震