Kali Linux - Debootstrap error Failed to determine codename for the release












4














Installing the new Kali Linux 2016 rolling release to the HDD via USB.



I made a bootable USB using Universal USB. Booted off the USB and selected "Graphical Install", I had an issue at the beginning with the install prompting that it cannot find the data in the CDROM, I pulled the USB and waited 30 seconds, plugged it in waited 30 seconds then plugged it in and it allowed me to continue through the install.



I enabled LVM and went through that whole process once it was done it went to the next step which is "Install the system" at this point I get the error



Debootstrap Error
Failed to determine the codename for the release



At this point I cannot go further in the installation. I went back to the "Debian installer menu" and executed a shell. With that shell I tried to mount the USB to /cdrom using "mount -t vfat /dev/sdb1 /cdrom" which I found on a Debian forum. I receive the following error "mounting /dev/sdb1 on /cdrom failed: no such file or directory" I then try to mkdir CDROM, but it states it already exists. sdb1 is my USB according to "mount"



I am not sure what to do at this point. Any advice would be great. Thanks.










share|improve this question



























    4














    Installing the new Kali Linux 2016 rolling release to the HDD via USB.



    I made a bootable USB using Universal USB. Booted off the USB and selected "Graphical Install", I had an issue at the beginning with the install prompting that it cannot find the data in the CDROM, I pulled the USB and waited 30 seconds, plugged it in waited 30 seconds then plugged it in and it allowed me to continue through the install.



    I enabled LVM and went through that whole process once it was done it went to the next step which is "Install the system" at this point I get the error



    Debootstrap Error
    Failed to determine the codename for the release



    At this point I cannot go further in the installation. I went back to the "Debian installer menu" and executed a shell. With that shell I tried to mount the USB to /cdrom using "mount -t vfat /dev/sdb1 /cdrom" which I found on a Debian forum. I receive the following error "mounting /dev/sdb1 on /cdrom failed: no such file or directory" I then try to mkdir CDROM, but it states it already exists. sdb1 is my USB according to "mount"



    I am not sure what to do at this point. Any advice would be great. Thanks.










    share|improve this question

























      4












      4








      4


      2





      Installing the new Kali Linux 2016 rolling release to the HDD via USB.



      I made a bootable USB using Universal USB. Booted off the USB and selected "Graphical Install", I had an issue at the beginning with the install prompting that it cannot find the data in the CDROM, I pulled the USB and waited 30 seconds, plugged it in waited 30 seconds then plugged it in and it allowed me to continue through the install.



      I enabled LVM and went through that whole process once it was done it went to the next step which is "Install the system" at this point I get the error



      Debootstrap Error
      Failed to determine the codename for the release



      At this point I cannot go further in the installation. I went back to the "Debian installer menu" and executed a shell. With that shell I tried to mount the USB to /cdrom using "mount -t vfat /dev/sdb1 /cdrom" which I found on a Debian forum. I receive the following error "mounting /dev/sdb1 on /cdrom failed: no such file or directory" I then try to mkdir CDROM, but it states it already exists. sdb1 is my USB according to "mount"



      I am not sure what to do at this point. Any advice would be great. Thanks.










      share|improve this question













      Installing the new Kali Linux 2016 rolling release to the HDD via USB.



      I made a bootable USB using Universal USB. Booted off the USB and selected "Graphical Install", I had an issue at the beginning with the install prompting that it cannot find the data in the CDROM, I pulled the USB and waited 30 seconds, plugged it in waited 30 seconds then plugged it in and it allowed me to continue through the install.



      I enabled LVM and went through that whole process once it was done it went to the next step which is "Install the system" at this point I get the error



      Debootstrap Error
      Failed to determine the codename for the release



      At this point I cannot go further in the installation. I went back to the "Debian installer menu" and executed a shell. With that shell I tried to mount the USB to /cdrom using "mount -t vfat /dev/sdb1 /cdrom" which I found on a Debian forum. I receive the following error "mounting /dev/sdb1 on /cdrom failed: no such file or directory" I then try to mkdir CDROM, but it states it already exists. sdb1 is my USB according to "mount"



      I am not sure what to do at this point. Any advice would be great. Thanks.







      linux debian mount kali-linux






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 25 '16 at 3:15









      tmitmi

      21114




      21114






















          3 Answers
          3






          active

          oldest

          votes


















          0














          I had the same issue installing Kali Linux from USB. I tried to install the OS with the graphical install and the simple install. The latter worked without error. It went straight to the "installing the system" screen.



          I've found some information on the USB Stick might be bad. For some people changing the USB stick helped. It did not help for me. I got the same error with 3 USB Sticks, and a HDD with 2TB space on it, with a boot partition of 100 GB.






          share|improve this answer































            0














            I had multiple problems installing Kali including this one. So this is what I did:



            I chose manual partition, selected the partition in which I was going to install the ext4 file system (/root) and I deleted all the data of the partition. It took longer than I expected to delete the data, but after that I went back, selected again that partition to install the system, the swap one (I never choose a /home directory since once of the nfts is enough to me) and everything worked like a charm.



            That partition had a previous Linux installation, and I'm guessing that was what caused my problems until I deleted all the data.






            share|improve this answer























            • Are you saying you used the same partition for /root, /home, and /swap? It's unclear from your answer.
              – music2myear
              May 18 '17 at 16:57



















            0














            This question is old but I just came across a working fix for this.



            As it turns out, the issue was caused due to the USB drive being unmounted during the LVM setup process. It might've been a bad USB connector or USB drive.



            There is a very easy fix for which you don't even have to reboot or re-do any of the setup again.




            1. Press esc to enter the menu of the installer.

            2. Select Enter a shell (or command prompt)

            3. Run fdisk -l to find out the name and partition of your USB install drive

            4. Run mount /dev/sdc1 /cdrom (replace sdc1 with your USB drive)

            5. Run exit, then go back to Install the base system from the menu


            It will continue to install as normal. All credits and thanks go to this guy






            share|improve this answer




















              protected by Community Nov 13 '17 at 6:25



              Thank you for your interest in this question.
              Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



              Would you like to answer one of these unanswered questions instead?














              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              0














              I had the same issue installing Kali Linux from USB. I tried to install the OS with the graphical install and the simple install. The latter worked without error. It went straight to the "installing the system" screen.



              I've found some information on the USB Stick might be bad. For some people changing the USB stick helped. It did not help for me. I got the same error with 3 USB Sticks, and a HDD with 2TB space on it, with a boot partition of 100 GB.






              share|improve this answer




























                0














                I had the same issue installing Kali Linux from USB. I tried to install the OS with the graphical install and the simple install. The latter worked without error. It went straight to the "installing the system" screen.



                I've found some information on the USB Stick might be bad. For some people changing the USB stick helped. It did not help for me. I got the same error with 3 USB Sticks, and a HDD with 2TB space on it, with a boot partition of 100 GB.






                share|improve this answer


























                  0












                  0








                  0






                  I had the same issue installing Kali Linux from USB. I tried to install the OS with the graphical install and the simple install. The latter worked without error. It went straight to the "installing the system" screen.



                  I've found some information on the USB Stick might be bad. For some people changing the USB stick helped. It did not help for me. I got the same error with 3 USB Sticks, and a HDD with 2TB space on it, with a boot partition of 100 GB.






                  share|improve this answer














                  I had the same issue installing Kali Linux from USB. I tried to install the OS with the graphical install and the simple install. The latter worked without error. It went straight to the "installing the system" screen.



                  I've found some information on the USB Stick might be bad. For some people changing the USB stick helped. It did not help for me. I got the same error with 3 USB Sticks, and a HDD with 2TB space on it, with a boot partition of 100 GB.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Nov 13 '16 at 21:25









                  Paul

                  4,2692138




                  4,2692138










                  answered Nov 13 '16 at 15:06









                  Mihai MMihai M

                  11




                  11

























                      0














                      I had multiple problems installing Kali including this one. So this is what I did:



                      I chose manual partition, selected the partition in which I was going to install the ext4 file system (/root) and I deleted all the data of the partition. It took longer than I expected to delete the data, but after that I went back, selected again that partition to install the system, the swap one (I never choose a /home directory since once of the nfts is enough to me) and everything worked like a charm.



                      That partition had a previous Linux installation, and I'm guessing that was what caused my problems until I deleted all the data.






                      share|improve this answer























                      • Are you saying you used the same partition for /root, /home, and /swap? It's unclear from your answer.
                        – music2myear
                        May 18 '17 at 16:57
















                      0














                      I had multiple problems installing Kali including this one. So this is what I did:



                      I chose manual partition, selected the partition in which I was going to install the ext4 file system (/root) and I deleted all the data of the partition. It took longer than I expected to delete the data, but after that I went back, selected again that partition to install the system, the swap one (I never choose a /home directory since once of the nfts is enough to me) and everything worked like a charm.



                      That partition had a previous Linux installation, and I'm guessing that was what caused my problems until I deleted all the data.






                      share|improve this answer























                      • Are you saying you used the same partition for /root, /home, and /swap? It's unclear from your answer.
                        – music2myear
                        May 18 '17 at 16:57














                      0












                      0








                      0






                      I had multiple problems installing Kali including this one. So this is what I did:



                      I chose manual partition, selected the partition in which I was going to install the ext4 file system (/root) and I deleted all the data of the partition. It took longer than I expected to delete the data, but after that I went back, selected again that partition to install the system, the swap one (I never choose a /home directory since once of the nfts is enough to me) and everything worked like a charm.



                      That partition had a previous Linux installation, and I'm guessing that was what caused my problems until I deleted all the data.






                      share|improve this answer














                      I had multiple problems installing Kali including this one. So this is what I did:



                      I chose manual partition, selected the partition in which I was going to install the ext4 file system (/root) and I deleted all the data of the partition. It took longer than I expected to delete the data, but after that I went back, selected again that partition to install the system, the swap one (I never choose a /home directory since once of the nfts is enough to me) and everything worked like a charm.



                      That partition had a previous Linux installation, and I'm guessing that was what caused my problems until I deleted all the data.







                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited May 18 '17 at 16:59









                      music2myear

                      30.6k85597




                      30.6k85597










                      answered May 18 '17 at 15:48









                      John GomezJohn Gomez

                      1




                      1












                      • Are you saying you used the same partition for /root, /home, and /swap? It's unclear from your answer.
                        – music2myear
                        May 18 '17 at 16:57


















                      • Are you saying you used the same partition for /root, /home, and /swap? It's unclear from your answer.
                        – music2myear
                        May 18 '17 at 16:57
















                      Are you saying you used the same partition for /root, /home, and /swap? It's unclear from your answer.
                      – music2myear
                      May 18 '17 at 16:57




                      Are you saying you used the same partition for /root, /home, and /swap? It's unclear from your answer.
                      – music2myear
                      May 18 '17 at 16:57











                      0














                      This question is old but I just came across a working fix for this.



                      As it turns out, the issue was caused due to the USB drive being unmounted during the LVM setup process. It might've been a bad USB connector or USB drive.



                      There is a very easy fix for which you don't even have to reboot or re-do any of the setup again.




                      1. Press esc to enter the menu of the installer.

                      2. Select Enter a shell (or command prompt)

                      3. Run fdisk -l to find out the name and partition of your USB install drive

                      4. Run mount /dev/sdc1 /cdrom (replace sdc1 with your USB drive)

                      5. Run exit, then go back to Install the base system from the menu


                      It will continue to install as normal. All credits and thanks go to this guy






                      share|improve this answer


























                        0














                        This question is old but I just came across a working fix for this.



                        As it turns out, the issue was caused due to the USB drive being unmounted during the LVM setup process. It might've been a bad USB connector or USB drive.



                        There is a very easy fix for which you don't even have to reboot or re-do any of the setup again.




                        1. Press esc to enter the menu of the installer.

                        2. Select Enter a shell (or command prompt)

                        3. Run fdisk -l to find out the name and partition of your USB install drive

                        4. Run mount /dev/sdc1 /cdrom (replace sdc1 with your USB drive)

                        5. Run exit, then go back to Install the base system from the menu


                        It will continue to install as normal. All credits and thanks go to this guy






                        share|improve this answer
























                          0












                          0








                          0






                          This question is old but I just came across a working fix for this.



                          As it turns out, the issue was caused due to the USB drive being unmounted during the LVM setup process. It might've been a bad USB connector or USB drive.



                          There is a very easy fix for which you don't even have to reboot or re-do any of the setup again.




                          1. Press esc to enter the menu of the installer.

                          2. Select Enter a shell (or command prompt)

                          3. Run fdisk -l to find out the name and partition of your USB install drive

                          4. Run mount /dev/sdc1 /cdrom (replace sdc1 with your USB drive)

                          5. Run exit, then go back to Install the base system from the menu


                          It will continue to install as normal. All credits and thanks go to this guy






                          share|improve this answer












                          This question is old but I just came across a working fix for this.



                          As it turns out, the issue was caused due to the USB drive being unmounted during the LVM setup process. It might've been a bad USB connector or USB drive.



                          There is a very easy fix for which you don't even have to reboot or re-do any of the setup again.




                          1. Press esc to enter the menu of the installer.

                          2. Select Enter a shell (or command prompt)

                          3. Run fdisk -l to find out the name and partition of your USB install drive

                          4. Run mount /dev/sdc1 /cdrom (replace sdc1 with your USB drive)

                          5. Run exit, then go back to Install the base system from the menu


                          It will continue to install as normal. All credits and thanks go to this guy







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Oct 7 '18 at 23:47









                          confetticonfetti

                          1,1862724




                          1,1862724

















                              protected by Community Nov 13 '17 at 6:25



                              Thank you for your interest in this question.
                              Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



                              Would you like to answer one of these unanswered questions instead?



                              Popular posts from this blog

                              flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                              Mangá

                              Eduardo VII do Reino Unido