How to Create a Bootable Ubuntu USB Stick on Linux
Learn how to create bootable ubuntu usb stick on linux using dd, Startup Disk Creator, Ventoy, and GNOME Disks with SHA-256 ISO verification.

6 min read
Learn how to create bootable ubuntu usb stick on linux using dd, Startup Disk Creator, Ventoy, and GNOME Disks with SHA-256 ISO verification.
- Prerequisites and Supported Releases
- Step 1: Downloading and Verifying the Ubuntu ISO Image
- Step 2: Identifying the USB Drive Device Name with lsblk
Creating a bootable USB flash drive is the essential starting point for installing Ubuntu on physical desktop workstations, laptop computers, or bare-metal server hardware.
A bootable live USB stick not only functions as an operating system installer—it also serves as an indispensable rescue toolkit that allows administrators to boot into a fully functional live Linux environment to recover data, repair damaged filesystems, reset root passwords, or test hardware compatibility.
Linux offers several powerful, native methods to write ISO images to USB storage, ranging from graphical point-and-click desktop utilities to raw terminal byte-copy commands.
In this guide, we walk through how to create bootable ubuntu usb stick on linux step-by-step, verify ISO cryptographic checksums, safely identify target disk nodes, and flash the installer drive.
Complete step-by-step administrator and desktop guide on how to create a live, bootable Ubuntu USB installation drive on any Linux distribution. Covers downloading official Ubuntu ISO images, cryptographically verifying SHA-256 checksums, identifying USB drive device identifiers with lsblk, flashing ISO images via the terminal using the low-level dd command, using the native Startup Disk Creator GUI application, and exploring modern multi-ISO Ventoy setups.
Prerequisites and Supported Releases
This guide is thoroughly verified on Ubuntu 24.04 LTS (Noble Numbat) & Ubuntu 22.04 LTS. The instructions apply cleanly to cloud instances (AWS EC2, Google Compute Engine, DigitalOcean, Hetzner), bare-metal servers, and local virtual machines.
Before proceeding, ensure you have the following requirements satisfied:
- A computer running Ubuntu, Debian, Fedora, or any modern Linux distribution.
- A USB flash drive with at least 8 GB of storage (all data on the drive will be overwritten).
- A downloaded Ubuntu Desktop or Server ISO image.
- A non-root user account with
sudoadministrative privileges.
Step 1: Downloading and Verifying the Ubuntu ISO Image
Download the official Ubuntu 24.04 LTS (or latest release) ISO image directly from Ubuntu's official release mirrors.
Before writing the image to physical media, verify its cryptographic SHA-256 checksum to ensure the download is uncorrupted and free from tampering.
Compute the SHA-256 checksum of your downloaded ISO file:
# Compute SHA-256 hash of the downloaded ISO:
sha256sum ~/Downloads/ubuntu-24.04-desktop-amd64.iso
# Compare the output hash against the official hash listed in SHA256SUMS:
# Example official hash:
# 81fae63112014f8428596873d64870fff15744a1b38c1ac369ec7b2404eda2b3 *ubuntu-24.04-desktop-amd64.iso
Step 2: Identifying the USB Drive Device Name with lsblk
Plugging in a USB flash drive registers a new block device node in /dev/ (such as /dev/sdb or /dev/sdc).
Correctly identifying your USB drive letter is critical: writing an ISO image to the wrong drive (like your primary hard drive /dev/sda or NVMe drive /dev/nvme0n1) will result in irreversible data loss.
Run lsblk before and after inserting the USB drive to confirm its device letter and size:
# List all active block storage devices:
lsblk
# Look for your USB drive matching its known capacity (e.g., 14.8G for a 16GB stick):
# NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
# sda 8:0 0 465.8G 0 disk
# ├─sda1 8:1 0 512M 0 part /boot/efi
# └─sda2 8:2 0 465.3G 0 part /
# sdb 8:16 1 14.8G 0 disk
# └─sdb1 8:17 1 14.8G 0 part /media/user/USB
# In this example, the target device is /dev/sdb (NOT /dev/sdb1).
Step 3: Unmounting USB Partitions Before Flashing
If your desktop environment automatically mounted the USB drive upon insertion, unmount all active partitions on the drive before writing the image.
Use the umount command targeting the mounted partition:
Unmounting ensures that the filesystem is disengaged and prevents write conflicts during flashing:
# Unmount active partition on target USB device (e.g., /dev/sdb1):
sudo umount /dev/sdb*
# Verify that no mountpoints are listed for sdb in lsblk:
lsblk | grep sdb
Step 4: Method 1: Creating Bootable USB with the dd Command (Terminal)
The dd (data duplicator) command is the universal, low-level Linux utility that writes raw byte streams directly to storage media.
Because Ubuntu ISOs are formatted as 'hybrid' ISOs, writing them directly to a raw block device creates a fully bootable MBR/GPT and UEFI installation disk.
Execute the dd command, specifying the ISO path for if= (input file) and the raw USB device (e.g., /dev/sdb) for of= (output file):
# Write ISO to raw USB device (replace /dev/sdb with your verified USB device letter):
sudo dd if=~/Downloads/ubuntu-24.04-desktop-amd64.iso of=/dev/sdb bs=4M status=progress oflag=sync
# Command explanation:
# if=... : Path to the source Ubuntu ISO image file
# of=/dev/sdb : Destination target USB block device (target raw disk, NOT partition sdb1)
# bs=4M : Read/write in 4MB blocks for optimal write speed
# status=progress: Displays real-time transfer progress, speed, and time
# oflag=sync : Synchronizes all cached data directly to physical flash storage before exiting
Step 5: Method 2: Using Ubuntu Startup Disk Creator (GUI)
For desktop users who prefer a graphical interface, Ubuntu includes the pre-installed Startup Disk Creator (usb-creator-gtk).
Press the Super key and type Startup Disk Creator to launch the application.
The top pane automatically detects Ubuntu ISO files in your Downloads directory (or click Other... to browse).
The bottom pane selects your inserted USB drive. Click Make Startup Disk, enter your administrative password, and wait for the write process to complete.
Step 6: Method 3: Using Ventoy (Multi-Boot USB Solution)
If you regularly install different Linux distributions or want to store normal files alongside ISOs without reformatting each time, Ventoy is the modern industry solution.
Ventoy installs a small bootloader on the USB drive, creating an open exFAT partition.
Once installed, you simply copy and paste ISO files directly onto the USB drive like normal documents; Ventoy automatically generates a boot menu upon computer startup:
# Download and extract Ventoy for Linux:
cd /tmp
wget https://github.com/ventoy/Ventoy/releases/download/v1.0.97/ventoy-1.0.97-linux.tar.gz
tar -xf ventoy-1.0.97-linux.tar.gz
cd ventoy-1.0.97
# Install Ventoy to your USB drive (WARNING: all data on /dev/sdb will be erased):
sudo ./Ventoy2Disk.sh -i /dev/sdb
# Once installed, copy any ISO file directly onto the Ventoy USB partition:
cp ~/Downloads/ubuntu-24.04-desktop-amd64.iso /media/$USER/Ventoy/
Troubleshooting and Common Errors
When configuring Ubuntu servers, unexpected permission errors, network timeouts, or lock contention can occur. Review these common issues and verified resolutions:
dd: failed to open '/dev/sdb': Permission denied
Cause: The dd command was executed without administrative root privileges.
Resolution: Prepend sudo to the dd command: sudo dd if=... of=/dev/sdb ....
sudo dd if=ubuntu.iso of=/dev/sdb bs=4M status=progress oflag=sync
Computer boots directly to existing OS without recognizing USB stick
Cause: UEFI boot order prioritizes the internal hard drive, or Fast Boot is preventing external USB boot.
Resolution: Reboot computer and tap F12, F11, or Del to access the One-Time Boot Menu and select the UEFI USB drive.
lsblk
USB drive shows incorrect capacity (e.g., 5 MB free) after flashing
Cause: The ISO hybrid partition table overrides the normal disk partition layout.
Resolution: To reuse the USB stick as a regular storage drive later, wipe the partition table using sudo wipefs -a /dev/sdb and format with FAT32/exFAT.
sudo wipefs -a /dev/sdb
Security Best Practices and Hardening
Always verify the SHA-256 checksum of downloaded operating system ISOs before writing them to physical media.
Double-check the target device identifier with lsblk before executing dd; writing to the wrong drive will erase your operating system.
Always include oflag=sync with dd or execute sync in your terminal before unplugging the USB stick to ensure all memory buffers are flushed to flash storage.
Related Ubuntu Tutorials and Documentation
Deepen your Linux system administration skills with our related production-tested guides:
- How to Mount and Use exFAT Drives on Ubuntu — Configure cross-platform flash drives and external storage on Ubuntu.
- Ubuntu Desktop vs Ubuntu Server: Which One Should You Use? — Choose the appropriate Ubuntu edition for your hardware and use case.
- Initial Server Setup on Ubuntu 24.04 LTS — Post-installation hardening and baseline server configuration.
Authoritative References and Official Documentation

The Linux Command Line, 2nd Edition: A Complete Introduction
Frequently Asked Questions
Quick answers to common questions and configurations
/dev/sdb represents the entire raw physical drive including the Master Boot Record (MBR) and partition table. /dev/sdb1 represents only the first individual partition on the drive. You must write ISO images to the entire raw device (/dev/sdb) for the drive to boot properly.sudo wipefs -a /dev/sdb, then create a new partition using fdisk /dev/sdb or format it with sudo mkfs.vfat -F 32 /dev/sdb1 (or use GNOME Disks GUI).dd, Startup Disk Creator, or GNOME Disks overwrites the partition table and all existing files on the target USB drive.Editorial Disclosure: Website Vidya is supported by our readers. When you purchase hosting, tools, or software through our verified partner links, we may earn an affiliate commission at no extra cost to you. We only recommend solutions we trust and rigorously verify.
Rajesh Ray
I’m Rajesh Rai, a full-stack developer, Linux administrator, and technology enthusiast passionate about making complex technology easier to understand and use.
Most Read Guides
TrendingUbuntu Server Not Booting? 10 Simple Steps to Fix It Fast
How to Create a 3D Button in HTML and CSS: Easy Steps
How to Install Python and Pip on Ubuntu 24.04 LTS
How to Install Nginx on Ubuntu 24.04
How to Install Python on Ubuntu 24.04 LTS
Related Technical Guides
Tested runbooks, server administration walkthroughs, and troubleshooting guides
Join the Conversation & Perspective
Have thoughts, counterpoints, or reflections on this story? Engage directly with fellow readers and editorial contributors.
No comments on this guide yet. Be the first to share your thoughts or ask a question!