Create a Kali Linux Live USB to boot Kali from a flash drive without installing it to your computer's internal drive. For a standalone Kali USB, use balenaEtcher, Rufus, or the dd command as described in Kali's documentation. To add Kali alongside other operating systems and utilities, use a multiboot tool such as YUMI or Universal USB Installer (UUI Py). Both provide a workflow for adding supported Linux distributions and configuring persistence without manually creating Kali's separate ext4 persistence partition. A standalone Kali USB written directly from the ISO can use Kali's official manual persistence method instead.
Kali Linux is a Debian-based distribution maintained by Offensive Security for penetration testing, security auditing, digital forensics, and related cybersecurity work. Use its tools only on systems and networks you own or have explicit permission to assess. Download the current ISO from the official Kali Linux download page, and verify the image before writing it to USB.
Kali Linux Live USB with Persistence


A standard Kali Live USB runs without installing Kali to the computer's internal drive. A normal Live session does not automatically retain changes after reboot. To save files, settings, and installed tools, choose a persistence method that matches how you created the USB:
- YUMI or UUI Py multiboot USB: Enable Kali's persistence option while adding the ISO. The multiboot tool creates the supported persistent storage and configures the boot integration. You do not need to create Kali's manual ext4 partition.
- Standalone Kali USB: If you wrote the ISO directly with Etcher, Rufus in DD mode, or
dd, follow Kali's manual method below. It creates a separate ext4 partition labeledpersistence, with apersistence.conffile containing/ union.
Kali also documents a separate encrypted-persistence procedure. See the official Kali persistence documentation for details.
What You Need
- A verified Kali Linux ISO downloaded from the official Kali download page.
- A USB flash drive. Kali's current Windows guide recommends 8 GB or larger; allow additional capacity if you plan to add persistence storage.
- A Windows, Linux, or macOS computer with permission to write to removable drives.
- For Kali's manual standalone persistence method, access to a Linux environment with partitioning and ext4 filesystem tools. This is not required for UUI's built-in persistence workflow.
Important: Writing a Kali ISO or creating a persistence partition can erase data on the selected USB drive. Back up its contents and verify the device identity before proceeding.
Create a Kali Linux Bootable USB on Windows
On Windows, you can add Kali Linux to an existing multiboot USB with UUI Py or YUMI. The following walkthrough uses UUI Py and follows the four setup steps shown in the screenshot.
Add Kali Linux to a UUI Py Multiboot USB
UUI Py lets you add Kali Linux alongside other operating systems and recovery tools on the same multiboot USB. Start with a USB drive that is already set up for UUI and has enough free space for the Kali ISO and any persistence storage you want to create. Back up important files before making changes.

- Choose a drive: Select your existing UUI multiboot USB from the drive list. Check the drive letter, model, and capacity carefully. The screenshot shows an exFAT UUI drive with available space; your drive letter and capacity will be different.
- Choose a distro: Search for and select Kali Linux (Penetration Testing) from the distribution list.
- Choose the ISO file: Browse to the Kali Live ISO you downloaded, or use Download ISO if that option is available for the selected distribution. Make sure you select the intended Kali Live image.
- Set persistence (optional): Use the persistence slider to choose how much space Kali can use to retain files, settings, and other changes between sessions. The screenshot shows 8192 MB (about 8 GB), but this is only an example. Choose a size that suits your needs and leaves enough room for the other files and distributions on the USB.
When the drive, distribution, ISO, and optional persistence size are set, click Add ISO and allow UUI Py to finish adding Kali and configuring its boot entry and persistence storage. The persistence setting applies to the Kali installation, keeping its saved changes separate from other distributions on the multiboot drive. Boot Kali and test that changes are retained after a restart before relying on the USB.
UUI Py's persistence implementation is different from Kali's official manual procedure. UUI stores supported persistence as a loopback file on the exFAT data partition, while Kali's documented manual method uses a separate ext4 partition labeled persistence. Do not create the manual ext4 partition on a UUI-managed drive. Use the manual procedure below only for a standalone Kali USB written directly from the ISO.
Boot Kali Linux from USB
- Connect the Kali USB drive to the computer.
- Restart and open the one-time boot menu. Common keys include F12, F11, F9, Esc, or F8, but the correct key depends on the computer manufacturer.
- Select the USB device. If the firmware offers separate UEFI and legacy entries, choose the mode supported by the computer and Kali image.
- When the Kali boot menu appears, select the live option.

Create a Kali Linux USB on Linux with dd
Kali's official Linux instructions support writing the verified ISO directly to the whole USB device with dd. The process overwrites the selected device, so identify the USB drive by its model and capacity before running the command.
- Download the appropriate Kali ISO and verify its checksum using the instructions on the Kali download page.
- Connect the USB drive and identify it with:
lsblkCompare the device list before and after inserting the USB drive. Confirm its size and model. In the example below,
/dev/sdXrepresents the whole USB drive, not a partition such as/dev/sdX1. - Unmount any mounted partitions on the USB drive.
- Write the ISO:
sudo dd if=kali-linux.iso of=/dev/sdX bs=4M status=progress conv=fsyncReplace
kali-linux.isowith the actual ISO filename and/dev/sdXwith the verified USB device path. - Wait for the command to finish before removing the drive. Safely eject it.
Warning: A wrong of= device path can overwrite your computer's internal disk or another attached drive. Double-check the target before pressing Enter. Kali's official Linux USB guide provides additional verification and writing details.
Configure Kali Linux USB Persistence
If you created your Kali multiboot USB with YUMI or UUI Py and enabled its persistence option, you do not need to follow this manual partition procedure. The multiboot tool manages persistence for supported Kali installations through its own boot and storage configuration. The steps below are for a standalone Kali Live USB created with a direct image-writing method such as Etcher, Rufus in DD mode, or dd. Kali's official manual method uses a separate ext4 partition labeled persistence and a persistence.conf file.
1. Identify the USB partitions
After writing the Kali Live ISO, connect the drive to a Linux system and run:
lsblk -f
Identify the USB device and its existing partitions. Kali's current documentation shows the image creating two partitions, with free space available after them. The examples below assume the USB device is /dev/sdX and that the new persistence partition will be /dev/sdX3. Your actual device and partition numbers may differ.
2. Create a partition in the remaining USB space
Use a partitioning tool such as fdisk to create a new partition in the unallocated space after the Kali Live image partitions. For example:
sudo fdisk /dev/sdX
At the fdisk prompt, follow Kali's documented sequence to print the table, create a new primary partition in the remaining free space, verify the result, and write the partition table:
- Enter
pto display the existing partition table. - Enter
nto create a new partition, thenpfor a primary partition. - Accept the default partition number, first sector, and last sector by pressing Enter at each prompt. This uses the remaining unallocated space.
- Enter
pagain to review the proposed layout. Confirm that the existing Kali partitions remain unchanged and the new partition is the expected size. - Enter
wto write the partition table and exit.
Afterward, run lsblk and verify the new partition identifier before formatting it. Kali's example uses /dev/sdX3, but your device name or partition number may differ. Never guess the device path, and do not continue if the layout does not match what you expect.
3. Format and label the new partition
After confirming the new partition identifier, create an ext4 filesystem and label it persistence. For the example device:
sudo mkfs.ext4 -L persistence /dev/sdX3
This command formats the selected partition and erases its existing contents. Make absolutely sure that /dev/sdX3 is the new partition on the USB drive, not a partition on your internal disk.
4. Create persistence.conf
Mount the new partition and create the required configuration file. Replace /dev/sdX3 with the verified partition identifier for your USB drive:
sudo mkdir -p /mnt/my_usb
sudo mount /dev/sdX3 /mnt/my_usb
echo "/ union" | sudo tee /mnt/my_usb/persistence.conf
sudo umount /mnt/my_usb
The file must be named persistence.conf and contain the line / union. Make sure the partition is mounted successfully before creating the file.
5. Boot using Live USB Persistence
Restart the computer and boot from the Kali USB drive. Select Live USB Persistence from the Kali boot menu. Select the normal Live option when you do not want changes saved.
Kali's documentation also explains encrypted persistence and multiple persistence stores. Those are separate configurations. See Adding Persistence to a Kali Linux Live USB Drive and Adding Encrypted Persistence to a Kali Linux Live USB Drive before changing existing partitions or adding encryption.
Create a Kali Linux USB on macOS
Kali's official macOS instructions support either balenaEtcher or the built-in dd command. Use a compatible Mac and verify the USB device carefully before writing.
Method 1: balenaEtcher
- Download and launch balenaEtcher.
- Select the verified Kali ISO.
- Select the correct USB drive as the target.
- Click Flash and wait for the operation to complete.
- Eject the USB drive when finished.
Method 2: macOS dd command
First identify the USB drive:
diskutil list
Insert the USB drive, run the command again, and identify the new external disk by its size and model. Unmount the whole USB disk, then write the ISO to its raw device path. This example uses /dev/diskX as a placeholder:
diskutil unmountDisk /dev/diskX
sudo dd if=kali-linux.iso of=/dev/rdiskX bs=4M status=progress
sync
diskutil eject /dev/diskX
Replace diskX with the verified USB identifier. Do not copy the placeholder literally. Writing to the wrong disk destroys its data. Kali notes that some macOS versions reject bs=4M; if that happens, try bs=4m. If status=progress is unsupported, remove that option and use Ctrl+T in Terminal to check progress. See the official Kali macOS USB guide.
Frequently Asked Questions
Can I run Kali Linux from a USB without installing it?
Yes. Kali Live boots from a USB drive without installing Kali to the computer's internal storage. Select the Live option from the boot menu.
Can Kali Linux save files and settings between reboots?
Yes. If you use YUMI or UUI Py, enable persistence when adding the Kali entry and select the corresponding persistence boot option. For a standalone Kali USB written directly with Etcher, Rufus in DD mode, or dd, use Kali's manual method to create an ext4 partition labeled persistence with a persistence.conf file containing / union. Then select Live USB Persistence when booting.
Do YUMI and UUI Py support Kali Linux persistence?
Yes. YUMI exFAT and UUI Py provide persistence options for supported Kali installations. Enable persistence while adding Kali to the multiboot USB and choose an appropriate size. The multiboot tool manages its own persistent storage and boot integration, so you do not need to manually create Kali's ext4 persistence partition for a YUMI- or UUI-managed setup. The separate ext4 procedure in this guide is for standalone Kali USB drives.
Should I use ISO mode or DD mode in Rufus?
Kali's official Windows guide recommends choosing DD Image when Rufus prompts for the write mode, because ISO mode can reduce hardware compatibility.
Can I use Rufus's persistence slider?
Rufus has an integrated persistence option, but Kali states that it is not the officially supported method for all Kali images. The documented approach is a separate persistence partition configured according to Kali's instructions.
Does Kali Linux support UEFI and Legacy BIOS?
Kali supports booting on many UEFI and legacy BIOS systems, but the appropriate partition scheme and firmware settings can vary. Follow Kali's current USB instructions and your computer's firmware requirements.
Can I use a Kali Live USB for authorized security testing?
Yes. Kali is designed for penetration testing and security auditing. Only test systems, networks, and devices that you own or have explicit permission to assess.
Can I create a Kali Linux USB on a Mac?
Yes. Kali documents USB creation on macOS using balenaEtcher or dd. Standard Kali PC images are built for their supported PC architectures, so check the image architecture and the Mac's hardware compatibility before attempting to boot it.
More Bootable USB Tools
For a multiboot flash drive that can hold Kali alongside other operating systems and utilities, see our YUMI multiboot USB guide. For other ways to create a bootable flash drive, browse our bootable USB creator software guide.
A Kali Linux Live USB is useful for portable security testing, troubleshooting, and learning. Choose the official ISO, verify the download, and use a suitable USB writing method. To keep changes across reboots, enable persistence when adding Kali to a YUMI or UUI Py multiboot drive, or follow Kali's manual ext4 procedure for a standalone USB.