Hello friends, in this article I'll write how to install
Kali Linux live on USB with persistence.
Before we get started, to install Kali Linux what we need:
1. A pen drive with minimum 8 GB of memory,
2. A computer or laptop.
3. Kali Linux ISO file, you can download it here.
4. Universal USB installer, Click here to download.
5. Mini partition tool wizard. Click here to download.
Download all of these.
Are you ready now to install Kali Linux?
First install and open your Universal USB
Installer.(Remember to backup all your files from the USB, it will be
formetted) Then from the list shown as the screenshot find and select your
'Kali Linux' and then click on browse and then find and select 'kali_linux.iso'.
Shut down your computer and then turn it on again bootable
mode. When your computer boots up, go to your boot setup and boot from your
USB. Now a new screen will appear, in there click on first option "Live
[amd64]". Now you are in Kali Linux Live, but no persistence in your USB,
it means if you make any changes to your Kali Linux, it will reformat
automatically after you restart it . Now let's add persistence partition.
Now shut down kali linux and get back to windows, Let's make
a persistence.
Install and open up the 'Mini Partition Tool Wizard'. Wait
till it loads and click 'Launch'. Now select your USB drive and see on left
there is a button "Move/Resize Partition" below "Change
Partition". Unallocate some space you need and then click ok. Now select
Unallocated in your USB and click on "Create Partition". Now do it
carefully.
Set partition level name to 'persistence',
Create as: Primary,
File System: Ext4,
Drive Letter: None,
Cluster size: Default.
You are done now click 'Ok' and click 'Apply' button
top-left in your screen and wait for sometime till it creates a new partition.
Now we have to little more to do: Go again boot from your
USB but this time click "Live USB Peristence" instead of "Live
[amd64]".
Now look at your top-left screen there is a persistence
partition, leave that for now and open terminal and carefully type these codes
(without firstand last single quotes):
type 'fdisk -l'. it shows all hard drives and USB drives
connected to your computer. then select your device '/dev/sdb2' check and
confirm its size and type you entered before. Then copy it. Now type 'mkdir -p
/mnt/usb', then 'mount (paste what you have copied just) /mnt/usb' example, if
your drive is '/dev/sdb2' then type 'mount /dev/sdb2 /mnt/usb'. Type 'echo
"/union">/mnt/usb/persistence.conf'. After that type 'umount
(paste here your device name) /mnt/usb && reboot' example: 'umount
/dev/sdb2 /mnt/usb && reboot'. Now as you can see the persistence is
gone from desktop. Now type 'reboot' command, it will reboot your computer.
Again boot your device from USB and turn on Kali Linux by selecting "Live
USB Peristence". Now, The persistence is gone from your and it is a good
sign.
Now test if persistence worked or not. Create a folder on
desktop and reboot your PC. If the folder you have created is still there then
you have successfully done it.
Done.
Thanks for reading this, if you have any questions and concerns then comment below.






ConversionConversion EmoticonEmoticon