How To Create A Bootable Ubuntu USB Flash Drive: A Complete Guide

How To Create A Bootable Ubuntu USB Flash Drive: A Complete Guide


To create a bootable Ubuntu USB flash drive, you need an official Ubuntu ISO image, a USB drive with at least 8GB of storage, and a specialized flashing tool such as Rufus for Windows, balenaEtcher for macOS, or the dd utility for Linux. Writing the ISO image to the USB drive makes it capable of booting a computer directly into the Ubuntu Live environment.


Prerequisites and Preparation

Creating a bootable USB drive requires a few basic components and precautions before beginning the imaging process. Ensuring that you have the correct file image and hardware safeguards your primary operating system and prevents boot errors during installation.



1. Requirements Checklist



  • USB Flash Drive: A minimum capacity of 8GB is recommended for modern Ubuntu Desktop releases. Ensure the drive uses USB 3.0 or higher for faster write speeds and performance during live boot sessions.
  • Target Computer Specifications: Modern Ubuntu versions require a 64-bit x86 processor architecture. Ensure your host system meets the minimum requirements (at least 2 GHz dual-core processor, 4GB system memory, and 25GB free disk space for full installation).
  • Flashing Software: Depending on your current OS, you will need software designed to write raw image files to removable drives (e.g., Rufus, balenaEtcher, or native terminal tools).


2. Data Backup Warning

The process of writing an ISO file to a USB flash drive formatted as a bootable disk will permanently overwrite and destroy all existing data on that drive. Before proceeding, open your file manager and transfer any personal documents, media files, or backups from the flash drive to safe local or cloud storage.



3. Downloading the Ubuntu ISO Image

Always download ISO files directly from official mirrors to prevent security risks or corrupted installation media.



  • Ubuntu LTS (Long Term Support): Released every two years in April, LTS releases (such as Ubuntu 24.04 LTS) receive five years of standard security maintenance and stability updates. Recommended for production environments, enterprise systems, and general users seeking long-term system stability.
  • Interim Releases: Published every six months between LTS versions, interim releases provide newer Linux kernels, updated software packages, and experimental desktop features, but carry a shorter support window of nine months.

Before writing the downloaded file, verify its integrity using SHA-256 checksums to ensure the ISO was downloaded without corruption or tampering.

Method 1: Creating an Ubuntu USB on Windows Using Rufus

Windows users can use Rufus, an open-source, lightweight utility designed to format and create bootable USB flash drives.

+-------------------------------------------------------------------+ | Rufus Settings Guide | +----------------------+--------------------------------------------+ | Target Option | Recommended Value | +----------------------+--------------------------------------------+ | Device | Your target USB flash drive (8GB+) | | Boot selection | Select downloaded Ubuntu ISO file | | Partition scheme | GPT (for modern UEFI computers) | | Target system | UEFI (non CSM) | | File system | FAT32 (Default) | +----------------------+--------------------------------------------+



Step 1: Download Rufus and Connect Your Drive

Download the latest portable edition of Rufus from its official distribution page. Plug your USB drive into an available USB port on your Windows PC and launch the executable. Rufus requires administrative privileges to operate on disk sectors directly.



Step 2: Configure Rufus Parameters



  1. Select your target USB drive under the Device drop-down menu. Double-check the drive letter to avoid accidentally selecting external hard drives.
  2. Next to Boot selection, click SELECT and browse your computer to choose the downloaded Ubuntu ISO file.
  3. Choose the Partition scheme:

    • Choose GPT if your target computer was manufactured in recent years and uses modern UEFI firmware.
    • Choose MBR if you are preparing the boot drive for an older legacy BIOS computer.
  4. Set the Target system to UEFI (non CSM) for standard modern installations.


Step 3: Write the Image

Click START at the bottom of the window. Rufus will display a prompt asking whether to write the image in ISO Image mode or DD Image mode. Select the recommended ISO Image mode. If prompted to download additional files (such as updated Syslinux or GRUB binaries), click Yes to allow Rufus to fetch the necessary bootloader components. Confirm that you understand all data on the USB drive will be erased, and wait for the status bar to show READY.


Create a bootable USB stick - Ubuntu Desktop documentation

Method 2: Creating an Ubuntu USB on macOS Using balenaEtcher

macOS lacks native GUI tools for writing bootable Linux images directly, making cross-platform applications like balenaEtcher the most reliable method for Mac users.



Step 1: Install balenaEtcher

Download balenaEtcher from its official project repository. Open the downloaded .dmg file and drag balenaEtcher into your macOS Applications folder. Launch the application from Launchpad or Spotlight.



Step 2: Flash the ISO to USB



  1. Insert your target USB flash drive into your Mac (use an appropriate USB-C adapter if required).
  2. Inside balenaEtcher, click Flash from file and select your downloaded Ubuntu ISO image.
  3. Click Select target and place a checkmark next to your connected USB drive. Verify the size of the selected device to ensure you do not select an external hard drive containing data.
  4. Click Flash! to start the process. macOS will prompt you to enter your system administrator password to grant raw disk access privileges.

+-------------------------------------------------------------------+ | balenaEtcher Workflow Overview | +--------------------+---------------------+------------------------+ | 1. Select ISO | 2. Choose Target | 3. Authenticate & Write| | Browse local drive | Check target USB | Enter macOS admin pass | +--------------------+---------------------+------------------------+



Step 3: Handle macOS Disk Prompts

Once the flashing process reaches 100%, macOS may present a pop-up dialog stating, "The disk you inserted was not readable by this computer." This notice appears because macOS cannot natively read the Ext4/Linux boot filesystem structures written to the flash drive. Click Ignore and safely eject the drive through the Finder or terminal.

Method 3: Creating an Ubuntu USB on Linux Using the Terminal (dd)

Linux administrators and advanced users can create bootable media directly using built-in system tools without downloading third-party applications.



Step 1: Identify Your USB Drive Device Node

Open a terminal window and run the block device listing command:

lsblk

Locate your USB flash drive in the list by checking its size. It will be designated with a disk identifier such as /dev/sdb or /dev/sdc.

CAUTION: Take extreme care to identify the correct device node name. Writing an ISO to the wrong node (such as /dev/sda, which typically contains your primary operating system) will instantly erase your main drive.



Step 2: Execute the dd Command

Unmount any automatically mounted partitions belonging to the target device using umount if necessary. Replace ubuntu.iso with the actual filename of your image and /dev/sdX with your exact USB device path (do not include partition numbers like /dev/sdb1):

sudo dd if=ubuntu.iso of=/dev/sdX bs=4M status=progress conv=fsync



  • if=ubuntu.iso: Sets the input file path.
  • of=/dev/sdX: Sets the output target device.
  • bs=4M: Reads and writes blocks up to 4 Megabytes at a time for optimal speed.
  • status=progress: Displays real-time transfer metrics and write speed.
  • conv=fsync: Forces hardware physical syncs to ensure all cached data is completely written before exiting.

Once the command finishes writing and returns you to the prompt line, safely remove the USB drive.

Comparing USB Flashing Tools

Choosing the right utility depends on your underlying operating system, desired persistence settings, and comfort level with command-line interactions.



Tool Name Supported Operating Systems Key Strengths Best For Persistent Storage Support
Rufus Windows Highly configurable, supports GPT/MBR targeting, high write speeds Windows users needing BIOS/UEFI flexibility Yes
balenaEtcher Windows, macOS, Linux Simple graphical interface, drive validation safeguards macOS users and general beginners No
Ventoy Windows, Linux Multi-ISO capability, no re-formatting needed per ISO drag-and-drop System administrators, multi-boot testing Yes (via configuration)
dd Command Linux, macOS, Unix Built into operating systems, lightweight, zero dependencies Advanced Linux users, headless systems No

Verifying and Testing Your Bootable USB

Once your bootable media is created, test it on your target hardware to confirm that the operating system loads correctly.



1. Verification of Image Integrity

To prevent unexpected installer crashes caused by damaged sectors or incomplete downloads, compute the SHA-256 hash of your downloaded file before flashing:



  • On Windows (PowerShell):
    Get-FileHash -Algorithm SHA256 .\ubuntu-24.04-desktop-amd64.iso
    
  • On Linux / macOS (Terminal):
    sha256sum ubuntu-24.04-desktop-amd64.iso
    

Compare the calculated string against the official checksum file published on the Ubuntu Releases Repository.



2. Accessing the System Boot Menu



  1. Turn off your target system completely.
  2. Insert your newly created bootable USB drive into a direct motherboard USB port.
  3. Power on the machine and immediately press your motherboard manufacturer's specific Boot Menu Key repeatedly until the device selection menu appears.

+-------------------------------------------------------------------+ | Common Boot Menu Keys by Manufacturer | +------------------------------------+------------------------------+ | Manufacturer | Key Shortcut | +------------------------------------+------------------------------+ | Dell, Alienware | F12 | | HP | F9 or Esc | | Lenovo | F12 or Novo Button | | ASUS | F8 or Esc | | Acer | F12 or Alt + F10 | | MSI | F11 | | Apple (Intel-based Macs) | Option / Alt Key | +------------------------------------+------------------------------+



3. Adjusting UEFI, Legacy BIOS, and Secure Boot Settings

If your USB device fails to execute, re-enter your motherboard setup screens (typically by pressing Del or F2 at boot) to modify key firmware configurations:



  • Secure Boot: Ubuntu fully supports Microsoft Secure Boot key signatures, allowing it to boot on systems with Secure Boot enabled. However, if third-party graphics drivers or proprietary modules fail to load during boot, temporarily disabling Secure Boot in the UEFI options menu can resolve boot hangs.
  • Fast Startup: Disable Fast Startup inside Windows power management options. Fast Startup puts Windows into a hybrid hibernation state, which locks the drive partitions and blocks external USB systems from discovering or installing alongside Windows drives correctly.

Troubleshooting Common Creation and Booting Issues



Issue 1: USB Drive Not Recognized in Boot Menu

If the USB drive does not appear as an option in your system's boot selection menu:



  • Verify whether the drive was partitioned in GPT or MBR mode. Older hardware configured for Legacy BIOS cannot boot GPT-partitioned drives; modern UEFI-only machines cannot detect MBR drives without Legacy CSM enabled.
  • Re-flash the USB drive using Rufus explicitly setting the partition scheme to match your computer's motherboard architecture.
  • Try switching to a USB 2.0 port. Certain legacy BIOS chipsets cannot read external USB 3.0 controller drivers during early boot phases.


Issue 2: Boot Hangs at Black Screen or "GRUB" Prompt

If the drive begins booting but hangs at an empty screen or a bare minimal grub> command line interface:



  • The written ISO image may be corrupted or partially missing. Re-download the official ISO file using a wired network connection and re-run the checksum verification process.
  • Disable NVIDIA/AMD Boot Framebuffers by editing GRUB parameters. When the main Ubuntu boot menu appears, highlight Try or Install Ubuntu, press e to edit configuration parameters, locate the line ending with quiet splash, and append nomodeset immediately after it before pressing F10 to boot.


Issue 3: Persistent Storage Configuration Errors

When attempting to configure persistent storage on a live boot drive (a space reserved for saving files across reboots without installing Ubuntu to internal storage):



  • Standard dd methods overwrite partition structures and do not support persistent space creation automatically. Use Rufus on Windows or specialized utilities like mkusb on Linux to handle persistence allocation cleanly.

Frequently Asked Questions



Does creating a bootable USB erase all data on the flash drive?

Yes, creating a bootable USB drive will completely overwrite the selected flash drive, destroying all existing files, partitions, and file systems. Always transfer important documents off the drive before starting the flashing process.



What size USB flash drive do I need for Ubuntu?

An 8GB USB flash drive is the minimum recommended size for current releases of Ubuntu Desktop. While older versions accommodated 4GB drives, modern desktop installer images frequently exceed 4GB in total file size.



Should I choose Ubuntu LTS or the standard interim release?

Select Ubuntu LTS (Long Term Support) if you want a stable, dependable operating system that receives five years of verified security patches. Choose an interim release if you specifically need the absolute latest Linux kernel, updated software tools, or hardware drivers for newer devices.



How do I boot from the USB drive after creating it?

Shut down your computer, insert the drive, turn the system back on, and repeatedly press your computer's boot selection key (such as F12, F9, or Option on Mac) until the boot device menu appears. Select your USB drive from the listed devices to launch the Ubuntu installer.



Can I create a multi-boot USB with Ubuntu and Windows on the same drive?

Yes, using multi-boot utilities such as Ventoy, you can copy both Ubuntu and Windows ISO files onto a single USB flash drive. Ventoy creates an automatic boot menu on startup, allowing you to select which installer image to launch without reformatting the drive each time.

Next Steps: Installing or Testing Ubuntu

Once your bootable drive is configured and successfully recognized by your computer, boot into the live environment to proceed:

+-----------------------------------+ | Boot from Created USB Media | +-----------------+-----------------+ | v +-----------------------------------+ | Select "Try or Install Ubuntu" | +-----------------+-----------------+ | +---------------+---------------+ | | v v +------------------------------+ +------------------------------+ | "Try Ubuntu" Mode | | "Install Ubuntu" | | Test hardware compatibility | | Begin non-destructive dual | | without touching storage. | | boot or full system wipe. | +------------------------------+ +------------------------------+



  1. Select "Try Ubuntu": This option loads the complete desktop environment entirely from system RAM, allowing you to test Wi-Fi cards, audio, Bluetooth, and graphic acceleration compatibility without modifying your hard drive.
  2. Perform System Installation: Once you verify that your hardware components run smoothly within the live desktop preview, double-click the Install Ubuntu icon located on your desktop to launch the system installation wizard. From there, you can choose to replace your existing operating system or configure a dual-boot layout alongside Windows.


How to create a bootable Ubuntu USB in macOS with UNetbootin - John Pili

How to create a bootable Ubuntu USB in macOS with UNetbootin - John Pili

Read also: Finding U-Haul Near Me: A Comprehensive Guide to Rentals and Moving Services in 2026