Skip to content

How to Make Kali Linux Live Persistent

  • by

To make Kali Live persistent, create a new ext4 partition, make a filesystem labelled “persistence”, create a file named “persistence.conf” with the text “/ union”.

commands:

# lsblk

create new primary partition on sdb2’s free space, write the changes and quit cfdisk

# cfdisk /dev/sdb (cfdisk is curses fdisk)

# mkfs.ext4 -L persistence /dev/sdb3 – make an ext4 filesystem on sdb3

# e2label /dev/sdb3 persistence – label with “persistence”

create the configuration file

# mkdir -p /mnt/my_usb
# mount /dev/sdb3 /mnt/my_usb
#echo “/ union” > /mnt/my_usb/persistence.conf
#umount /dev/sdb3

done

Leave a Reply

Your email address will not be published. Required fields are marked *