Linux Persistent
At the time of creating a persistent USB drive, size does matter! The larger size of the USB drive, better, also depending on the Linux version. In this process Linux System will be used so make sure the tool GParted is installed. If the GParted tool is not exist in your system the install by using given method:
- Apt-get install gparted
- Aptitude install gparted
- Yum install gparted
After completing installation of GParted.
Follow the given instruction:
- Download Kali Linux ISO file & plug the thumb drive
- Open terminal and find the USB device location by using following commands
mount | grep –I udisks |awk ‘{print $1}’ - Its needed to transfer Kali Linux ISO image into the USB device by using following commands
dd if = Kali_Image.iso of =/dev/sdb bs =512k - Open Gparted
gparted /dev/sdb
The device should have one partition with the image of Kali Linux that was just installed.
Add New Partition in USB Device
Add new partition in Pen Drive, launch the Gparted by given method then follow the given instruction:
- Select unallocated space and right click then click on ‘New’.
- Create as New & Select ext4 from drop down menu in File system .
- Add.
- Apply All Operations.
Add persistent configuration file by using following command.
- #mkdir /mnt/usb
- #mount /dev/sdb2 /mnt/usb
- #echo “/ union” >> /mnt/usb/persistence.conf
- #umount /mnt/usb
Now Creation of LiveUSB installation be completed, Reboot the computer and boot from SUB Drive .
https://www.youtube.com/watch?v=gxTsKxbAfAA
omg thank you for this tutorial. it’s the only one that has helped me get this done. thx!
Thank you Emily for giving your response and feedback