Post by j on Apr 25, 2016 22:43:16 GMT -5
- Download Kali ISO from www.kali.org/downloads/
- Plug in thumbdrive [preferably
8GB16GB or more, USB2.0 for compatibility, USB3.0 for speed] - In terminal, <# fdisk -l> to determine the 'X' in </dev/sdX/> for your thumbdrive (Identify by size, if you have plugged in the same thumb drive sizes, take out the unecessary ones)
- In terminal, <# cd> to downloaded ISO folder
- In terminal, <# dd if=kali-linux-....iso of=/dev/sdX bs=1M> (replace the 'X' with the one identified in step 3)
- ## wait for the following 3 similar lines to appear, and you are safe
- >> 2860+1 records in
- >> 2860+1 records out
- >> 2999844864 bytes (3,0 GB) copied, 508,945 s, 5,9 MB/s
- In terminal, <# end=15GB>
- In terminal, <# read start _ < <(du -bcm kali-linux...iso | tail -1); echo $start>
- In terminal, <# parted /dev/sdX mkpart primary $start $end>; Type <yes> when asked about partition size adjustments; Type <ignore> for partition not aligned for performance.
- ## if message need to update /etc/fstab appears, its fine, else there should be no message appearing if successful
- In terminal, <# mkfs.ext3 -L persistence /dev/sdX3>
- ## wait for last line ending...
- >> Writing superblocks and filesystem accounting information: done
- In terminal, <# e2label /dev/sdX3 persistence>
- ## if error for superblock not found, its fine, else there should be no message appearing if successful
- In terminal, <# mkdir /mnt/kali_persist>
- In terminal, <# mount /dev/sdX3 /mnt/kali_persist>
- In terminal, <# echo "/ union" > /mnt/kali_persist/persistence.conf>
- In terminal, <# umount /dev/sdX3>
That's it.
Sauce:http://docs.kali.org/downloading/kali-linux-live-usb-persistence
Edit: Changed 8GB to 16GB, as 8GB will be too limiting for comfortable usage.