A live USB is a USB flash drive or external drive that contains a complete, bootable operating system which runs directly from the drive, usually from memory, without installing anything on the internal disk. In the boot & firmware stage of operating systems, it is the medium that firmware such as UEFI or BIOS starts instead of the installed system.
Live USB drives replaced live CDs and DVDs as the standard tool for installing operating systems, testing hardware, recovering data and repairing systems that no longer boot. Most Linux distributions ship installation images that work as live systems, and Windows installation media follows a similar principle with a minimal preinstallation environment.
How a live USB boots and runs
A live USB works because the computer’s firmware treats the USB drive as a boot device. When the drive is selected through the boot menu or the boot order, firmware loads a bootloader from it, the bootloader loads a kernel and an initial RAM disk, and the system then mounts a compressed, read-only root file system stored on the drive.
On UEFI machines, firmware looks for a FAT-formatted EFI system partition containing a file such as EFI/BOOT/BOOTX64.EFI. On legacy BIOS machines, or with the CSM enabled, firmware instead reads the boot sector in the first 512 bytes of the drive. Many images are built as hybrid ISO files that contain both structures, so the same drive boots in either mode.
Once running, the live system typically uses an overlay file system that combines the read-only image with a writable layer held in RAM. Every change, from installed packages to saved files, lives only in memory and disappears at shutdown unless persistence is configured.
The table below traces the boot sequence of a typical live USB.
| Stage | Component | Role |
|---|---|---|
| 1. Firmware start | UEFI or BIOS | Performs POST and selects the USB boot device |
| 2. Boot code | EFI loader or boot sector | Starts the bootloader stored on the drive |
| 3. Bootloader | GRUB, systemd-boot or ISOLINUX | Shows a menu and loads the kernel and initramfs |
| 4. Early user space | Initramfs scripts | Find the drive and mount the compressed image |
| 5. Live session | Overlay of image and RAM | Runs a full desktop or rescue environment |
Types of live USB setups
Live USB drives differ mainly in how they handle changes and how many systems they hold. The right type depends on whether the drive is a one-time installer, a portable workstation or a technician’s toolkit.
| Type | Changes survive reboot | Typical use |
|---|---|---|
| Non-persistent live USB | No, everything resets | Installation, testing, privacy-sensitive sessions |
| Persistent live USB | Yes, in a persistence partition or file | Portable personal workstation |
| Full installation on USB | Yes, like an internal disk | Carry-along system with normal updates |
| Multiboot USB | Depends on each image | Technician drive with several installers and tools |
| Windows installation media | No, runs a preinstallation environment | Installing or repairing Windows |
Persistence is convenient but has costs: it increases writes to flash memory, which wears inexpensive drives faster, and it can make the system behave less predictably after many updates. For repair work, a clean non-persistent drive is usually the better choice because it always starts in a known state.
Creating a live USB correctly
A live USB is created by writing a disk image to the drive at block level, not by copying the ISO file onto an existing file system. Copying the file leaves a drive that firmware cannot boot, which is the most common beginner mistake.
Imaging tools such as dd on Unix systems or graphical image writers replicate the image byte for byte, including its partition table and boot code. Multiboot tools take a different approach: they install their own bootloader once and then boot ISO files stored as ordinary files, which makes adding new images simple but depends on the tool supporting each distribution.
The following table compares the main creation methods.
| Method | Advantage | Limitation |
|---|---|---|
| Raw image write | Exact copy, highest compatibility | Erases the whole drive, one system only |
| File extraction to FAT32 | Drive stays usable for other files | Fails with files over 4 GB and some boot setups |
| Multiboot loader | Many ISO files on one drive | Some images refuse to boot this way |
| Vendor media tool | Officially supported for that system | Works only for the vendor’s own images |
Before writing, it is good practice to verify the image checksum and, where available, its cryptographic signature. A corrupted or tampered image can fail in confusing ways or, worse, deliver a compromised system.
Live USB and firmware security features
Modern firmware security affects whether a live USB starts at all. With Secure Boot enabled, UEFI firmware runs only boot code signed by a trusted key. Major Linux distributions use a small Microsoft-signed shim loader that then verifies their own signed bootloader and kernel, so their live images boot without changes.
Less common or self-built images may lack such signatures and require disabling Secure Boot or enrolling a custom key. Organizations often go further and block USB booting entirely with a firmware password, because anyone with physical access and a live USB can read an unencrypted internal disk.
| Setting | Effect on live USB | What to check |
|---|---|---|
| Secure Boot | Blocks unsigned bootloaders | Whether the image uses a signed shim |
| Boot order | Decides if USB is tried before the disk | USB position or one-time boot menu |
| CSM or legacy mode | Allows BIOS-style boot sectors | Whether the image supports UEFI natively |
| USB boot disabled | Prevents any USB start | Firmware policy set by an administrator |
| Fast boot | May skip USB initialization | Disable it or use the firmware boot menu |
Limitations and common mistakes
A live USB is slower than an installed system, especially on older USB 2.0 drives, because the compressed image must be read and decompressed on demand. Booting with a parameter that copies the image to RAM speeds up the session, but requires enough memory to hold the entire image, typically several gigabytes.
- Copying the ISO as a file instead of writing it as an image produces a drive that does not boot.
- Writing to the wrong device with a raw imaging tool can erase an internal disk, so the target must be checked twice.
- Expecting saved files to remain on a non-persistent drive leads to lost work after shutdown.
- Removing the drive during a session crashes the live system, because its root file system lives there.
- Assuming full hardware support is risky: some Wi-Fi and graphics devices need drivers the image lacks.
A plain-language summary
A live USB is a whole computer system that fits on a memory stick. You plug it in, tell the computer to start from it, and a working system appears, without touching what is already installed on the computer.
It is like bringing your own temporary office into someone else’s building. You can work there, try things out or rescue documents, and when you leave, the building is exactly as it was. That makes a live USB the standard tool for installing a new system, testing a computer before buying it, or rescuing files from a machine that will not start.
An example from practice
An IT technician at a small accounting office receives a laptop that stops at a boot error after a failed system update. The employee needs a folder of client spreadsheets for a deadline the same afternoon, and the internal disk is not encrypted.
The technician plugs in a non-persistent Linux live USB prepared on a 16 GB drive, opens the one-time boot menu and starts the laptop from it. Because the distribution uses a signed shim loader, Secure Boot can stay enabled. Within ten minutes, the live desktop mounts the internal disk read-only, and the technician copies about 3 GB of spreadsheets to a second USB drive.
With the data safe, the technician repairs the installed system using the vendor’s recovery media. The employee meets the deadline, and the incident becomes the reason the office later enables full-disk encryption on every laptop.