USB Ubuntu: Want to create a bootable Ubuntu USB with persistence? This tutorial shows you how to make a persistent Ubuntu Live USB so your files, settings, and installed applications remain saved between reboots. You'll also learn how to boot Ubuntu from USB and install it to your computer.

Make a Portable Ubuntu Bootable USB

- Official Site: Ubuntu Project Page
- Developer: Canonical Ltd.
- Persistence Support: Yes
What You'll Need
- Ubuntu ISO file
- USB flash drive (16GB or larger recommended)
- YUMI, Etcher, or DD
Verify Your Ubuntu ISO (Recommended)
After downloading Ubuntu, verify the integrity of the ISO by checking its SHA256 checksum:
sha256sum ubuntu.iso
Compare the resulting hash with the checksum published on the official Ubuntu download page.
Create a Persistent Ubuntu USB with YUMI
YUMI is one of the easiest ways to create a bootable Ubuntu USB drive with persistence support from Windows. Linux users can also run it through WINE.
- Download and launch YUMI.
- Select your USB flash drive and tick the box to prepare it.
- Choose Ubuntu from the dropdown distribution list.
- Browse to your Ubuntu ISO file.
- Enable persistence and choose the storage size.
- Click Create and wait for the process to finish.
- Restart your computer and boot from the USB device.

Persistence allows Ubuntu to remember saved files, installed applications, browser bookmarks, and system settings between reboots.
Create an Ubuntu USB with Etcher
Balena Etcher provides a simple way to flash Ubuntu to a USB drive, though persistence is not enabled automatically.
- Download Etcher.
- Insert your USB flash drive.
- Download the Ubuntu ISO.
- Launch Etcher.
- Select the Ubuntu ISO.
- Select your USB drive.
- Click Flash!

Adding Persistence to an Etcher USB (Optional)
To save files and settings on an Etcher-created Ubuntu USB, you'll need to manually create a persistence partition.
- Create a second partition labeled
casper-rw. - Format the partition as ext4.
- Boot Ubuntu and verify that the persistence partition is detected.
Learn more about creating a casper-rw persistence partition.
Note: This method requires familiarity with partitioning tools and Linux boot configuration.
Create a Persistent Ubuntu USB with DD
If you prefer command-line tools, you can create a bootable Ubuntu USB using DD and then manually add persistence storage. This method is intended for advanced users.
Warning: DD performs a raw write and will completely overwrite the selected USB drive.
Using DD on Linux
- Identify your USB device:
lsblkLocate your USB drive (for example
/dev/sdX). - Write the Ubuntu ISO:
sudo dd if=ubuntu.iso of=/dev/sdX bs=4M status=progress oflag=syncReplace
/dev/sdXwith the device path of your USB drive. For example,/dev/sdb.
Wait for the write process to complete. - Verify the resulting partition layout:
lsblk /dev/sdXMost Ubuntu hybrid ISOs occupy only part of a larger USB drive. After writing the ISO with DD, any remaining space can be used to create a persistence partition labeled
casper-rw. - Create a persistence partition using the remaining free space:
sudo fdisk /dev/sdXUse the
ncommand to create a new partition using the remaining unallocated space, then usewto write the changes and exit. - Format the persistence partition:
sudo mkfs.ext4 -L casper-rw /dev/sdXNReplace
/dev/sdXwith the device path of your USB drive andNwith the partition number you created. For example,/dev/sdb3. - Boot Ubuntu:Restart and boot from the USB drive. Ubuntu should automatically detect the
casper-rwpersistence partition if it has been correctly labeled.
Note: Some older Ubuntu releases may require adding the persistent boot parameter manually, but current releases generally detect the persistence partition automatically.
Using dd for Windows
This method performs a raw write of the ISO to the USB device and is only recommended for advanced users.
Warning: This process will wipe the entire selected disk including any partitions clean.
- Download dd for Windows.
- Insert the USB flash drive.
- Open Command Prompt with administrator privileges
Press Win + R, typecmd, then press Ctrl + Shift + Enter. - Change to the dd directory
Switch to the folder that containsdd.exe:cd c:\path\dd.exe - Clear the USB drive using diskpart
Launch the disk partitioning utility:diskpartShow all attached disks:
list diskSelect the USB drive (replacing #):
select disk #Erase all partition information on the disk:
cleanExit diskpart:
exit - Write the Ubuntu ISO file to USB
Immediately after cleaning the disk, write the image to the device. Replacepathto-ubuntu.isoandXwith the correct USB disk number found in step 5.dd if=pathto-ubuntu.iso of=\\.\PhysicalDriveX bs=4M --progress
Boot from the Ubuntu USB
- Insert the USB drive and restart your computer.
- Open the boot menu or BIOS using keys such as F2, F12, ESC, or DEL.
- Select the USB device as the boot option.
Need help entering BIOS or boot menus?
Install Ubuntu from the USB Drive

After booting into the live environment, click the Install Ubuntu icon on the desktop and follow the installation prompts.
Frequently Asked Questions
Can I save files and settings on an Ubuntu Live USB?
Yes. Persistence support allows Ubuntu to retain saved files, installed applications, browser bookmarks, and system settings between reboots.
Does Etcher support Ubuntu persistence automatically?
No. Etcher creates a standard live USB. Persistence must be added manually using a second partition.
Does DD create persistence automatically?
No. DD simply writes the Ubuntu ISO to the USB drive. Persistence must be added afterward by creating a dedicated casper-rw partition.
What size USB drive should I use?
A 16GB USB drive is recommended. Larger drives provide additional space for persistence storage and installed applications.
Can I use DD for Windows?
Yes. DD for Windows can perform a raw write of the Ubuntu ISO to a USB drive. However, persistence must still be added manually afterward.
Final Thoughts
A persistent Ubuntu USB drive is useful for testing Linux, carrying a portable workspace, or troubleshooting systems without installing anything to a hard drive. YUMI provides one of the easiest setup methods for Windows users, while DD and Etcher offer additional flexibility for advanced users who prefer manual configuration.
For most users seeking a persistent Ubuntu USB, YUMI remains the simplest and most reliable solution.