Boot from USB Ubuntu Live with Persistence

USB Ubuntu: This tutorial covers how to create a bootable Ubuntu USB drive with persistent storage so your files, settings, and installed applications remain saved between reboots. You can use YUMI on Windows, Etcher with manual persistence setup, or Linux terminal tools like dd depending on your preferred method.

Ubuntu bootable USB flash drive
Live Ubuntu USB bootable flash drive

Make a Portable Ubuntu Bootable USB

Ubuntu USB with persistence enabled

What You'll Need

  • Ubuntu ISO file
  • USB flash drive (8GB or larger recommended)
  • YUMI, Etcher, or Linux terminal access

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.

  1. Download and launch YUMI.
  2. Select your USB flash drive and tick the box to prepare it.
  3. Choose Ubuntu from the dropdown distribution list.
  4. Browse to your Ubuntu ISO file.
  5. Optionally enable persistence and choose the storage size.
  6. Click Create and wait for the process to finish.
  7. Restart your computer and boot from the USB device.

YUMI Ubuntu USB creator

Persistence allows Ubuntu to remember saved files, installed applications, 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.

  1. Download Etcher
  2. Insert your USB flash drive.
  3. Download the Ubuntu ISO
  4. Launch Etcher.
  5. Select the Ubuntu ISO.
  6. Select your USB drive.
  7. Click Flash!

Ubuntu USB created with Etcher

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 second persistence partition.

  1. Create a second partition labeled casper-rw.
  2. Format the partition as ext4.
  3. Edit the boot configuration and add the persistent boot parameter.

Learn more about creating a casper-rw persistence partition.

Note: This method requires some familiarity with partitioning and Linux boot configuration.

Create an Ubuntu USB from Linux Using dd

Linux users can also create a bootable Ubuntu USB directly from the terminal.

  1. Identify your USB device:
    lsblk
  2. Write the Ubuntu ISO to the USB drive:
    sudo dd if=ubuntu.iso of=/dev/sdX bs=4M status=progress && sync
  3. Create a persistence partition:
    sudo mkfs.ext4 /dev/sdX2 -L casper-rw
  4. Add the persistent boot flag to the GRUB or Syslinux boot configuration.

Warning: The dd command will completely overwrite the selected drive.

Boot from the Ubuntu USB

  1. Insert the USB drive and restart your computer.
  2. Open the boot menu or BIOS using keys such as F2, F12, ESC, or DEL.
  3. Select the USB device as the boot option.

Need help entering BIOS or boot menus?

Install Ubuntu from the USB Drive

Install Ubuntu from 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 a Ubuntu Live USB?

Yes. Persistence support allows Ubuntu to retain saved files, installed applications, 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.

What size USB drive should I use?

An 8GB USB drive is usually the minimum recommended size, though 16GB or larger works better for persistent storage.

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 Etcher and manual Linux tools offer additional flexibility for more advanced setups.