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

debiankali-linuxlinuxmount

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.

Best 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.

Related Question