Getting Kali Linux image
Go to Downloads and download latest live image. Make sure you don’t download the installer image.
Make USB bootable
Use dd
to write the kali image to USB.
In linux environment:
|
|
Replace kali-linux-xxxx.x-live-amd64.iso
with downloaded iso iamge path and /dev/sdX
with path of your USB device. You can find USB path by running lsblk
in terminal. Make sure you don’t select the existing linux installation drive.
Create persistence partition
Create a primary partition with fdisk
:
|
|
Press n
to create a new partition. Type p
to make it primary. Hit enter twice so all the remaining space would be allocated to new partition.
Type w
to write changes to USB drive.
Create filesystem
Create ext4 filesystem in new partition.
|
|
Mount new partition
Mount the new created partition somewhere in your filesystem.
|
|
Create configuration
Create a configuration file in new partition which we mounted earlier at /mnt
:
|
|
Un-mount the partition
Un-mount the partition.
|
|
Reboot
Reboot and press your hardware dedicated button to boot from new created USB. Don’t forget to select the persistence option from Kali menu.
Thanks for reading. 😉