How To Boot Ubuntu From A USB Drive: A Complete Guide

How To Boot Ubuntu From A USB Drive: A Complete Guide


To boot Ubuntu from a USB drive, download the official Ubuntu Desktop ISO file, write it to a flash drive using a tool like Rufus or balenaEtcher, insert the drive into your computer, and restart your system while pressing your device's Boot Menu key (such as F12, F9, or Option). Select the USB drive from the boot menu to launch the Ubuntu live environment.


Prerequisites and System Requirements

Booting Ubuntu from a USB drive allows you to evaluate the operating system in a temporary "live" environment or install it permanently alongside or in place of your existing operating system. Before creating a bootable USB drive, ensure your hardware meets the necessary baseline requirements and that you have gathered the correct tools.



Hardware Requirements



  • USB Flash Drive: A flash drive with a minimum capacity of 4 GB is required, though an 8 GB or 16 GB USB 3.0/3.2 drive is strongly recommended for faster read and write performance. Note that the creation process completely erases all data on the target USB drive.
  • Target Computer: An x86_64 architecture PC or Mac computer. Modern 64-bit systems require a system with at least 2 GHz dual-core processor, 4 GB of RAM, and appropriate display hardware.

Hardware Note: Standard Ubuntu x86_64 installation media cannot boot directly on Apple Silicon Macs (M1, M2, M3, or M4 chips) using standard EFI setup procedures. Apple Silicon hardware requires specialized ports such as Asahi Linux. Intel-based Macs, however, fully support booting Ubuntu from a USB drive.



System Firmware Considerations

Modern computers use UEFI (Unified Extensible Firmware Interface) rather than legacy BIOS firmware. Ubuntu fully supports UEFI systems with 64-bit bootloaders. You should determine whether your target computer uses UEFI or legacy BIOS, as this dictates how you format and write your bootable USB drive.

Step 1: Download the Official Ubuntu ISO File

Always download Ubuntu ISO images directly from Canonical's official distribution servers to ensure system stability, cryptographic safety, and security.



  1. Navigate to the official Ubuntu Desktop Download Page.
  2. Select the appropriate version for your needs. Long Term Support (LTS) releases receive five years of standard maintenance and security updates from Canonical and are recommended for most users desiring operational stability. Standard interim releases are published every six months and offer newer kernel versions and package updates with nine months of support.
  3. Save the .iso image file to your local storage drive.


Verifying the ISO Integrity (Optional but Recommended)

Corrupted downloads can lead to boot failures or incomplete installations. You can verify your downloaded ISO using SHA-256 checksums on Windows, macOS, or Linux. Canonical publishes official SHA-256 hashes alongside their release files on the Ubuntu Releases Directory.

To calculate the SHA-256 hash on Windows via PowerShell: Get-FileHash -Algorithm SHA256 C:\path\to\ubuntu.iso

On macOS or Linux, run: sha256sum /path/to/ubuntu.iso

Compare the resulting output string against the official checksum provided in the release documentation. If the values match, your file is intact and authentic.


Linux Usb Boot - Ubuntu Usbブート 作り方 - FQFHTV

Step 2: Create the Bootable Ubuntu USB Drive

Writing an ISO image to a USB drive requires specialized software that writes the disk image directly to the physical sectors of the drive, creating bootable EFI and partition structures.



Option A: Using Rufus on Windows

Rufus is a lightweight open-source utility designed specifically for Windows users to create bootable flash drives.



  1. Insert your target USB flash drive into your Windows PC.
  2. Launch Rufus (installation is not required if using the portable version).
  3. Select your USB flash drive under the Device drop-down menu.
  4. Click SELECT under Boot selection and locate your downloaded Ubuntu ISO file.
  5. Set Partition scheme to GPT and Target system to UEFI (non CSM) for modern systems. For older computers running legacy BIOS, choose MBR.
  6. Leave the Volume label and File system settings at their defaults.
  7. Click START. If prompted to choose between writing in ISO image mode or DD image mode, select Write in ISO Image mode (recommended).
  8. Confirm that you understand all data on the target USB drive will be permanently erased, and wait for the progress bar to complete.


Option B: Using balenaEtcher on macOS, Linux, or Windows

balenaEtcher is a cross-platform, open-source tool that provides a simplified, three-step flashing workflow.



  1. Open balenaEtcher.
  2. Click Flash from file and choose your Ubuntu ISO file.
  3. Click Select target and select your USB flash drive.
  4. Click Flash! to start the process. macOS and Linux users may be prompted to enter their administrator password to authorize direct disk access.
  5. Wait for the flashing and automatic validation steps to finish before safely ejecting the drive.


Option C: Using the dd Command on Linux Terminal

Advanced Linux users can write the ISO directly using native CLI utilities without third-party software.



  1. Insert your USB drive and identify its device node using lsblk (e.g., /dev/sdb). Ensure you select the entire device, not a specific partition like /dev/sdb1.
  2. Unmount any active partitions on the device: sudo umount /dev/sdb*
  3. Execute the dd command, replacing the input path (if=) and output path (of=) with your actual parameters: sudo dd if=ubuntu.iso of=/dev/sdb bs=4M status=progress conv=fdatasync
  4. Once completed, run sync in your terminal before removing the flash drive.

Comparing Popular USB Flashing Tools

Choosing the right flashing software depends on your operating system, target system firmware, and administrative preferences.



Feature / Utility Rufus balenaEtcher Ventoy Native dd
Supported Host OS Windows Windows, macOS, Linux Windows, Linux Linux, macOS
User Interface Graphical (Advanced) Graphical (Simplified) Graphical / CLI Setup Command Line Interface
Multi-ISO Support No No Yes (Drag-and-Drop) No
Persistence Support Yes (Ubuntu/Debian) No Yes No
Target Firmware UEFI & Legacy BIOS UEFI & Legacy BIOS UEFI & Legacy BIOS UEFI & Legacy BIOS
Best Used For Advanced Windows users Cross-platform ease of use Managing multiple installer ISOs Scripting / Linux power users

Step 3: Configure BIOS/UEFI Settings and Boot the Drive

Once your bootable USB drive is prepared, you must instruct your computer hardware to load system files from the USB drive rather than the internal primary storage drive.



Windows Fast Startup and Power Settings

Windows 10 and 11 feature a power configuration called Fast Startup (Hybrid Boot), which puts the system into a partial hibernation state instead of performing a cold shutdown. This state locks the storage drive and can block access to BIOS key prompts during startup.

To disable Fast Startup:



  1. Open the Control Panel in Windows and navigate to Power Options.
  2. Click Choose what the power buttons do in the left sidebar.
  3. Click Change settings that are currently unavailable.
  4. Uncheck Turn on fast startup (recommended) and click Save changes.
  5. Perform a full Shut Down of your system.


Common Boot Menu and BIOS Setup Keys

To access the boot menu or setup interface, turn on your computer and immediately press the dedicated hardware key repeatedly before the primary operating system loads.



  • Boot Menu Keys by Manufacturer:

    • Dell: F12
    • HP: F9 or Esc followed by F9
    • Lenovo: F12 or the dedicated Novo Button on specific laptop models
    • Asus: F8, Esc, or F12
    • Acer: F12 or F2 (Requires enabling "F12 Boot Menu" inside BIOS setup)
    • MSI: F11
    • Gigabyte: F12
    • Apple (Intel Macs): Hold the Option (or Alt) key immediately upon hearing the startup chime or seeing a black screen.


Secure Boot and Legacy CSM Settings

Secure Boot is a UEFI security standard designed to prevent unauthorized code and malware from executing during the boot sequence. Canonical signs the Ubuntu bootloader (shim) with a Microsoft-recognized digital signature, allowing Ubuntu to boot on most systems with Secure Boot enabled.

However, if you plan to install third-party proprietary software (such as NVIDIA display drivers or proprietary Wi-Fi adapters) during or after installation, you may need to register a Machine Owner Key (MOK) during boot or disable Secure Boot inside your UEFI settings menu.

To configure UEFI settings:



  1. Turn on your computer while pressing the BIOS Setup Key (typically F2, Del, or Esc).
  2. Navigate to the Boot or Security tab using your arrow keys.
  3. Verify that UEFI Boot is selected rather than Legacy/CSM mode.
  4. If necessary for troubleshooting, set Secure Boot to Disabled.
  5. Save your changes (usually F10) and restart.

Step 4: Booting into the Ubuntu Live Environment

After selecting your USB drive from the hardware boot menu, the system loads the GNU GRUB bootloader screen.

+------------------------------------------------------------------------+ | GNU GRUB version 2.12 | | | | * Try or Install Ubuntu | | Ubuntu (safe graphics) | | OEM install (for manufacturers) | | Test memory | | | +------------------------------------------------------------------------+



  1. Highlight Try or Install Ubuntu using the keyboard arrow keys and press Enter.
  2. If your computer uses specialized or newly released graphics hardware that causes screen flickering or a blank display, select Ubuntu (safe graphics) instead. This mode forces the Linux kernel to use basic VESA/NOMODESET display drivers.
  3. Wait for the operating system to load files into RAM. You will be greeted by the Ubuntu desktop interface alongside the welcome screen window.


"Try Ubuntu" vs. "Install Ubuntu"

The welcome wizard offers two primary operational pathways:



  • Try Ubuntu (Live Mode): Loads the full desktop environment completely into system memory (RAM). No data is written to or modified on your computer's internal hard drive or SSD. This mode allows you to test hardware compatibility (Wi-Fi, Bluetooth, audio, trackpad) and perform system rescue tasks without risking existing files.
  • Install Ubuntu: Launches the step-by-step installation wizard to partition your internal storage drive and install Ubuntu permanently as a standalone or dual-boot operating system.

Troubleshooting Common Ubuntu USB Boot Errors

Booting Linux on diverse computer hardware can occasionally trigger configuration conflicts. Below are solutions for standard boot failures.



Issue 1: Black Screen or System Freezes During Boot

A black or frozen screen during initial boot typically points to a display driver incompatibility, most commonly with dedicated NVIDIA graphics processing units.



  • Solution: At the GRUB menu, highlight Try or Install Ubuntu and press e on your keyboard to edit kernel boot parameters. Locate the line starting with linux and append nomodeset right after quiet splash. Press Ctrl+X or F10 to boot with modified parameters. Once Ubuntu is booted and installed, install the proprietary NVIDIA drivers using the Additional Drivers utility.


Issue 2: USB Drive Is Not Recognized in Boot Menu

If the USB drive fails to show up in your system's temporary boot selection menu:



  • Solution 1: Ensure the drive was written using the partition scheme matching your system firmware. Modern UEFI systems require a GPT partition structure formatted with an EFI system partition.
  • Solution 2: Insert the flash drive into a direct motherboard port (USB 2.0 or USB 3.0 port directly attached to the rear I/O panel on desktops) rather than an unpowered external USB hub.
  • Solution 3: Disable Fast Boot and CSM (Compatibility Support Module) in your UEFI settings menu.


Issue 3: "Invalid Signature Detected" or Secure Boot Violations

This error indicates that the motherboard firmware rejected the bootloader signature on the USB media.



  • Solution: Enter your system's UEFI setup screen, navigate to the Security tab, set Secure Boot to Disabled, save your settings, and attempt to boot again. Alternatively, ensure your ISO file was written correctly with Rufus or balenaEtcher, as improperly modified image files can invalidate signature hashes.

Frequently Asked Questions



Will booting Ubuntu from a USB drive erase my existing Windows files?

No, selecting "Try Ubuntu" runs the operating system entirely inside your computer's temporary memory (RAM) and leaves your internal hard drive or SSD untouched. Your Windows installation and personal files remain safe unless you explicitly launch the installer and choose options to format your internal drive.



Can I save files while running Ubuntu from a bootable USB drive?

By default, standard live USB drives operate in a non-persistent state, meaning any files saved, settings modified, or software installed will be erased once the computer restarts. To retain changes across reboots, you must create a USB drive with a persistent storage partition using tools like Rufus or Ventoy.



Why won't my Mac boot Ubuntu from the USB drive?

Intel-based Macs support booting from a USB drive by holding down the Option (Alt) key immediately after pressing the power button. Apple Silicon Macs (M1, M2, M3, M4 chips) use an ARM-based architecture that cannot natively boot standard x86_64 Ubuntu ISO images via standard USB methods.



What is the difference between Rufus GPT and MBR modes?

GPT (GUID Partition Table) is the standard partitioning scheme used by modern UEFI systems. MBR (Master Boot Record) is designed for legacy BIOS systems built prior to the widespread adoption of UEFI. Choosing GPT ensures compatibility with post-2012 PCs, while MBR should only be chosen for older legacy systems.

Next Steps

Once you have successfully booted into the Ubuntu live environment, take time to verify that all primary hardware components function as expected. Check your Wi-Fi connectivity, Bluetooth pairing, sound output, screen brightness controls, and touchpad gestures under the system settings panel.

If you are satisfied with your system's compatibility and intend to migrate to Linux, ensure you create a full system backup of your primary drive before proceeding with a permanent installation or dual-boot setup.


Créer une clé USB bootable Ubuntu avec Rufus, Ventoy ou balenaEtcher

Créer une clé USB bootable Ubuntu avec Rufus, Ventoy ou balenaEtcher

Read also: How VSCO Finder Tools Work: Methods, Tools, and Privacy Considerations