Kali LiveUSB with Persistence


The majority of my courses will require you to have a 32GB or larger USB stick which is setup to boot into a persistent version of Kali Linux. This page serves as a guide to get you up and running quickly with a fully updated persistent stick with virtualbox installed.

First head over to the official Kali documentation website and follow the LiveUSB directions to get Kali installed on your USB stick. Then make it persistent.

One suggestion to make the transition to persistence easier is to use the utility ‘gparted’ to replace steps 2 and 3 in the guide. Open a terminal and type ‘gparted’ to run the graphical partitioning utility. Make sure you change the drive in the top right corner to your USB stick so you don’t partition the local hard drive on the computer. Then create a new partition in the ‘unallocated’ space by right clicking it and selecting ‘new’. A dialog box will pop up, the only thing you need to do is verify that the partition type is ‘ext4’ and that the partition label is set to ‘persistence’. Once those two things are set hit ‘OK’. Then search the top of the program’s menu bar for an icon that looks like the ‘ENTER’ arrow. Click it and select ‘apply’ to save the changes. Once it is done close out of the program and proceed to step 4 in the guide.

Now that you can boot to your stick and you have verified that it is persistent perform the following commands to update it:

apt-get update
apt-get upgrade
apt-get autoremove

Now you can install VirtualBox so you can run virtual machines from your USB stick:

apt-get install virtualbox virtualbox-guest-additions-iso virtualbox-ext-pack

Some other useful programs to install:

apt-get install pianobar gimp dia libreoffice inkscape