9.4.2. Setting Up Unencrypted Persistence on a USB Key
In this section, we assume that you have prepared a Kali live USB key by following the instructions
at section
2.1.4
, “
Copying the Image on a DVD-ROM or USB Key
” [page 19] and that you have used
a USB key big enough to hold the ISO image (roughly 4 GB) and the data of the directories that you
want to persist. We also assume that the USB key is recognized by Linux as /dev/sdb and that it
only contains the two partitions that are part of the default ISO image (/dev/sdb1 and /dev/sdb2).
Be very careful when performing this procedure. You can easily destroy important data if you
re-partition the wrong drive.
To add a new partition, you must know the size of the image that you copied so that you can make
the new partition start after the live image. Then use