:~$ sudo mkfs.ext4 -L persistence $3 /mnt/my_usb Next, create an ext4 file system in the partition and label it persistence:.When fdisk completes, the new partition should have been created at /dev/sdb3 again, this can be verified with the command lsblk. We have to do this from the command line as gparted will read the imaged ISO as a large block: This can be verified with the command lsblk.Ĭreate and format an additional partition on the USB drive.įirst, let’s create the new partition in the empty space above our Kali Live partitions. We’re going to assume that the two partitions created by the imaging are /dev/sdb1 and /dev/sdb2. In this example, we’ll create a new partition to store our persistent data into, starting right above the second Kali Live partition, put an ext4 file system onto it, and create a nf file on the new partition.įirst, begin by imaging the latest Kali Linux ISO (currently 2023.1) to your USB drive as described in this article. your USB drive has a capacity of at least 8GB - the Kali Linux image takes over 3GB, and for this guide, we’ll be creating a new partition of about 4GB to store our persistent data in. Check the connected usb drives with the command lsblk and modify the device name in the usb variable before running the commands)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |