Fix Debootstrap Error When Installing Kali Linux
When installing Kali Linux, a debootstrap error often occurs because the installer cannot find the correct source media. Here is how to fix it by manually mounting the Kali USB.
Step 1 — Identify the USB Drive
blkid
# Find your Kali Linux USB, e.g. /dev/sdd1
Step 2 — Mount the USB as CDROM
mount /dev/sdd1 /cdrom
Step 3 — Retry the Installation
Go back in the installer and select Retry on the debootstrap step. The installer should now find the packages on the mounted drive.
Alternative — Use a Fresh ISO
- Verify the ISO checksum:
sha256sum kali-linux-*.iso - Re-flash the USB with Balena Etcher or
dd if=kali.iso of=/dev/sdX bs=4M status=progress