Kali Linux Live USB with Persistence Storage

Kali Linux Live USB with Persistence Storage - techfirex

How To Create Kali Linux Live USB with Persistence Storage

Who knows you can add persistent storage with your Kali Linux on-the-go?
Well, actually you can do it with simple steps.

In this tutorial, I would like to tell you how to make a Kali Linux on-the-go (Live USB), but this Kali is special because we can save our data in the same USB we use to boot that "portable" Kali. We call it Kali Linux with Persistence.
Actually, there is the official documentation for making this stuff but it somewhat hard to understand.
You can choose either you want to read this post or read the official documentation.

Requirements:

Kali Linux ISO (https://www.kali.org/downloads/)
Minitool Partition Wizard (https://www.partitionwizard.com/free-partition-manager.html)
Win32DiskImager (https://sourceforge.net/projects/win32diskimager/)
USB flash disk or any portable storage (recommended size 8GB+)

Download & Install Minitool Partition Wizard and Win32DiskImager.
Download Kali Linux Live ISO (https://www.kali.org/downloads/)
Insert Pendrive to PC/Laptop and Format to FAT32 (My Pendrive is HP 32Gb)
Open Win32DiskImager and select your Pendrive and choose Kali Linux ISO Image file and click on Write.
Note: Win32DiskImager is not directly showing the .iso file so that you have to change the .img file format to all in the ISO selection prompt.

Open Minitool Partition Wizard and your Pendrive is shown up with three different partitions and one of them is unallocated.
Right-click on unallocated space and make partition label: persistence and as Primary with file system EXT4.
Click ok and apply settings.
After complete the process, it will prompt for format disk but ignore it and cancel.

Now restart your PC/Laptop using Kali Linux Pendrive which we made and choose Live System (persistence).
after opening Kali Linux we will configure some settings for persistence storage.

Let's Do It,

After booting Kali Linux open Terminal.
Run below command.
You have to run all commands as root privileges.
and find your Pendrive partition label.
root@kali:~# fdisk -l 
After executing the above command you have to find your pen drive location, in my case /dev/sdb (29.6 GB).
and then find the partition which we make earlier as EXT4, in my case it is /dev/sdb3 (26.4 GB).
root@kali:~# mkdir -p /mnt/techfire
Here techfire = give any name you want.
root@kali:~# mount /dev/sdb3 /mnt/techfire/
This command creates a mount point of our persistence storage at /mnt/techfire.
root@kali:~# echo "/ union" > /mnt/techfire/persistence.conf
After running the above command this will print (/ union) in the persistence partition, you can check it by opening the persistence partition.
root@kali:~# umount /dev/sdb3
The above command unmounts the partition which we mount at /mnt/techfire.
root@kali:~# reboot
This will reboot the system and you're done with persistence storage settings.

Now boot Kali Linux with Live System (persistence mode) and try it with making some changes and check that data remain persistent or not.

If you follow my all steps then I'm sure it will work perfectly fine and if you're facing some issue in understanding the post then you can also watch the below video tutorial.
Note: After making Kali Linux live persistent Pendrive, don't run it as live mode, in every boot you have to run with Live System (persistence mode).

Video Tutorial: