How To Create And Boot An Ubuntu USB Drive: Step-by-Step Guide
To boot Ubuntu from a USB flash drive, you need a 4 GB or larger USB drive, an official Ubuntu ISO file, and bootable media creation software like Rufus or balenaEtcher. After writing the ISO to the USB drive, restart your computer, open the boot menu using your system’s assigned key (such as F12 or Option), and select the USB drive to launch Ubuntu.
Creating a bootable Ubuntu USB drive allows you to evaluate the Linux operating system directly from external storage without modifying your hard drive, run diagnostic tools on a damaged system, or perform a clean installation on your computer. Modern hardware relies on UEFI (Unified Extensible Firmware Interface) firmware and Secure Boot protocols, making it vital to format and boot your live USB correctly to prevent firmware rejection or boot failures.
Prerequisites and Hardware Requirements for an Ubuntu USB Boot
Before preparing a bootable flash drive, gathering the necessary hardware and system specifications prevents installation failures and data loss. Flashing an ISO file completely erases all existing partitions and files on the target USB drive, so any critical data must be backed up beforehand.
- USB Flash Drive: A minimum capacity of 4 GB is required for standard Ubuntu Desktop releases, though an 8 GB or 16 GB flash drive is recommended. USB 3.0 or USB 3.1 drives dramatically reduce boot times and overall operational latency compared to legacy USB 2.0 drives.
- Target Computer System: An x86_64 architecture machine equipped with at least 2 GHz dual-core processor, 4 GB of RAM, and 25 GB of free storage (if installing permanently).
- Firmware Compatibility: System support for either standard UEFI or legacy BIOS modes. Modern systems using Apple Silicon (M1/M2/M3 chips) require specialized virtualization tools rather than standard x86 live USB booting.
- Disk Writing Tool: An installation utility such as Rufus (for Windows), balenaEtcher (cross-platform), Ventoy, or the Linux native
ddcommand-line utility.
Step 1: Downloading the Official Ubuntu ISO Image
Always source your installation files directly from official mirrors to maintain software integrity and avoid tampered disk images. Ubuntu releases come in two primary configurations: Long Term Support (LTS) versions, which receive guaranteed security updates and maintenance for five years, and interim releases, which provide newer Linux kernels and desktop environment builds under a nine-month support window.
To ensure your downloaded ISO file is uncorrupted:
- Navigate to the official Ubuntu Desktop Downloads page and select the latest LTS release (such as Ubuntu 24.04 LTS).
- Save the ISO file to an accessible local directory on your current operating system.
- Verify the checksum of your download against the official SHA256 sum provided on the release page. On Windows PowerShell, compute the hash using
Get-FileHash -Algorithm SHA256 filename.iso. On Linux or macOS terminal environments, executesha256sum filename.isoorshasum -a 256 filename.iso. Matching hashes confirm the file is free of transmission errors and safe to flash.
Créer une clé USB bootable Ubuntu avec Rufus, Ventoy ou balenaEtcher
Step 2: Creating the Bootable USB Drive Across Operating Systems
The process for burning the ISO file to your physical drive varies depending on your host system. Select the method corresponding to your current environment.
Option A: Creating the Drive on Windows Using Rufus
Rufus is a lightweight open-source utility designed specifically for Windows users to write bootable USB media.
- Plug your USB drive into an available port and launch Rufus.
- Under the Device drop-down menu, choose your target USB drive. Double-check the drive letter to ensure you do not select an external hard drive containing personal files.
- Under Boot selection, choose Disk or ISO image, then click SELECT to locate your downloaded Ubuntu ISO file.
- Set the Partition scheme to GPT and the Target system to UEFI (non CSM) for modern systems manufactured after 2012. For older computers utilizing traditional BIOS, choose MBR partition scheme.
- Keep the File system set to FAT32 (or Large FAT32) to maintain native UEFI readability.
- Click START. Rufus will prompt you to select the writing mode. Choose Write in ISO Image mode (Recommended). If your machine fails to boot with ISO mode later, re-flash using DD Image mode.
- Confirm the alert warning that all data on the USB drive will be destroyed. Wait for the status bar to show READY before ejecting the drive.
Option B: Creating the Drive on macOS Using balenaEtcher
macOS security protections restrict low-level disk access for many basic utilities. balenaEtcher provides a reliable graphical interface across macOS builds.
- Download, install, and open balenaEtcher.
- Select Flash from file and choose the downloaded Ubuntu ISO file.
- Click Select target and place a checkmark next to your connected USB flash drive.
- Click Flash! and enter your macOS administrator password when prompted to grant lower-level block writing privileges.
- When the process finishes, macOS may display a notification stating "The disk you inserted was not readable by this computer." This is normal because macOS cannot natively read Linux ext4/Live filesystem structures without specialized software. Click Ignore and safely eject the drive.
Option C: Creating the Drive on Linux Using Terminal (dd)
Linux users can utilize native graphical tools like Startup Disk Creator (Gnome Disk Image Writer) or rely directly on the dd command line interface for exact block-level writing.
Caution: Using
ddwith an incorrect destination path can completely overwrite your computer's primary storage drive. Ensure accurate drive identifier selection before running the command.
- Insert your USB flash drive and open a terminal.
- Identify the block device name of your USB drive by running
lsblk. Identify your drive by its size (e.g.,/dev/sdbor/dev/sdc). Do not target specific partition numbers like/dev/sdb1. - Unmount any mounted partitions on the USB drive:
sudo umount /dev/sdX*(replacingXwith your drive letter). - Execute the flash command:
sudo dd bs=4M if=/path/to/ubuntu.iso of=/dev/sdX status=progress conv=fdatasync - Once the process completes, run the
synccommand to flush remaining write buffers, then unplug your device.
Step 3: Adjusting UEFI/BIOS Settings for USB Booting
Computers are configured by default to boot straight into their internal storage drive where the primary operating system resides. To interrupt this process and redirect startup routines toward the external USB drive, key firmware settings must be adjusted.
Disabling Windows Fast Startup
Windows includes a hybrid hibernation feature called Fast Startup that locks the primary storage system upon shutdown, often preventing access to boot selection menus and blocking dual-boot configurations.
- Open the Control Panel in Windows and go to Power Options.
- Click Choose what the power buttons do in the left sidebar.
- Click the administrative link titled Change settings that are currently unavailable.
- Uncheck Turn on fast startup (recommended) and click Save changes.
Configuring Security and Hardware Firmware Settings
Restart your computer and tap the motherboard vendor's specific setup key repeatedly during initial power-on to access the UEFI configuration screen. Common access keys include F2, Del, F10, or Esc.
- Secure Boot: Ubuntu carries a signed bootloader (shim) trusted by Microsoft’s third-party UEFI Certificate Authority. Secure Boot can usually remain enabled. However, if your target system refuses to execute the bootloader software, locate Secure Boot under the Security or Boot tab and switch it to Disabled.
- SATA Operation Mode: If you intend to install Ubuntu alongside Windows on an existing storage drive, verify that your drive controller is configured to AHCI rather than RAID / Intel RST. Ubuntu installers may fail to detect internal NVMe or SATA SSDs configured under proprietary RAID controllers.
Step 4: Booting Into the Ubuntu Live Environment
With firmware settings updated, you can initiate the live boot sequence without making permanent modifications to your system hardware drive.
- Insert your prepared USB drive into a direct motherboard USB port (avoid unpowered USB hubs).
- Power on or restart the system.
- Immediately tap the hardware Boot Menu Key continuously until the temporary hardware boot selection screen appears.
Common Boot Menu Keys by Manufacturer
- Dell: F12
- HP: F9 or Esc
- Lenovo: F12 or Fn + F12 (or the dedicated Novo button on older laptops)
- ASUS: F8 or Esc
- Acer: F12 (may require enabling "F12 Boot Menu" inside BIOS setup first)
- MSI: F11
- Apple (Intel Macs): Hold the Option / Alt key immediately after pressing the power button.
Select your USB device from the displayed menu. EFI devices are typically listed under names like UEFI: [USB Drive Name] or USB Storage Device.
GNU GRUB version 2.12 * Try or Install Ubuntu Ubuntu (safe graphics) OEM install (for manufacturers) Test memory (Memtest86+)
When the GRUB bootloader appears:
- Highlight Try or Install Ubuntu and press Enter.
- The kernel will load the temporary filesystem into your computer's RAM.
- Select your preferred language when the installer wizard launches.
- Choose Try Ubuntu to test your hardware, Wi-Fi connectivity, sound output, and display drivers inside a complete desktop session without affecting disk contents. Choose Install Ubuntu if you want to write the OS permanently to internal storage.
Key Comparison: USB Image Writing Tools
Choosing the right image creation utility depends on your operating system, host machine configuration, and persistent storage requirements.
| Software | Platform Support | Persistence Support | User Interface | Recommended Use Case |
|---|---|---|---|---|
| Rufus | Windows | Yes | Graphical | Best overall tool for Windows users creating single-boot media. |
| balenaEtcher | Windows, macOS, Linux | No | Graphical | Ideal cross-platform tool; simplified interface minimizes operational error. |
| Ventoy | Windows, Linux | Yes | Utility + Drag & Drop | Advanced choice; allows copying multiple ISOs directly to one drive. |
| Startup Disk Creator | Linux (Ubuntu/Debian) | Yes | Graphical | Built-in Linux tool for fast bootable media generation. |
dd Utility |
Linux, macOS Terminal | No | Command Line | Powerful native low-level block writer for experienced system administrators. |
Troubleshooting Common Ubuntu USB Boot Errors
If your system fails to boot or encounters black screens, hardware configuration mismatches or damaged image writes are usually responsible.
1. Black Screen or Display Freeze During Boot
A black screen upon selecting "Try or Install Ubuntu" typically indicates a graphics driver conflict with NVIDIA hardware or modern hybrid GPU laptops.
- Solution: On the GRUB menu screen, highlight Try or Install Ubuntu, press
eto edit boot flags, find the line containingquiet splash, and insertnomodesetright after it. Press Ctrl + X or F10 to boot using basic display drivers. Alternatively, choose Ubuntu (safe graphics) directly from the initial GRUB options menu.
2. USB Flash Drive Is Not Detected in Boot Menu
If the boot override menu omits your connected flash drive completely:
- Re-flash the USB drive using a FAT32 filesystem scheme instead of NTFS or exFAT. Modern UEFI firmware implementations natively read only FAT-formatted structures.
- Ensure the partition layout matches your hardware. Modern UEFI systems require a GPT partition setup, whereas legacy BIOS systems require an MBR setup.
- Move the USB drive to a USB 2.0 port if legacy BIOS initialization fails to enumerate third-party USB 3.0 controller chips before kernel handoff.
3. "Reset System" Loop or Secure Boot Violations
If the machine resets continuously or displays a message stating "Security Violation / Invalid Signature":
- Enter your system UEFI setup menu and disable Secure Boot.
- If your system features a "Key Management" section within BIOS, set the factory keys to default or switch the OS Type parameter from "Windows UEFI" to "Other OS."
Frequently Asked Questions
Will booting Ubuntu from a USB drive erase my existing files or Windows installation?
No. Simply booting into the "Try Ubuntu" live environment loads the system directly into system RAM. Your existing disk partitions, files, and operating system remain untouched until you deliberately execute the installer wizard and choose disk partitioning actions.
Can I save files while using Ubuntu on a USB drive?
By default, standard bootable USB drives run a read-only live image; any created files, custom settings, or installed programs disappear once the computer restarts. To retain data, configure a persistent storage partition using tools like Rufus or Ventoy during media creation.
Why is booting Ubuntu from my USB drive running slowly?
Performance live-booting from USB is constrained by read/write transfer rates across the physical USB interface. Utilizing USB 2.0 drives, slow flash controllers, or low-cost storage media leads to delayed app launches and overall system lag. Upgrading to a high-speed USB 3.0/3.2 flash drive or an external portable NVMe enclosure resolves performance constraints.
How do I return my USB flash drive back to normal storage use afterward?
Because bootable Linux utilities divide the USB drive into raw image blocks and hidden EFI partitions, normal file managers may display restricted capacity. To restore the drive on Windows, open Disk Management or use diskpart via Command Prompt to execute a clean command, then reformat the entire device as a single FAT32 or exFAT partition. On Linux, use GParted to create a fresh partition table.
Next Steps: Evaluating Live Mode vs. Full Installation
Once your bootable USB environment loads successfully, take time to evaluate your computer's hardware compatibility before committing to a permanent disk installation:
- Test Peripheral Connections: Connect to local Wi-Fi networks, test Bluetooth devices, verify audio playback through built-in speakers, and check display scaling parameters.
- Verify Laptop Battery Efficiency: If running on a portable device, check how power management profiles interact with your processor.
- Perform Disk Backup: If you plan to proceed with installing Ubuntu alongside your primary operating system (dual-booting) or replacing your original OS entirely, back up your primary storage drive to an external drive or cloud service beforehand.
- Launch Installation Wizard: When ready, double-click the Install Ubuntu shortcut located on the desktop desktop layout to launch the guided partition setup utility.