How to Create a Bootable USB Drive in Ubuntu

Whether you want to try out a brand-new Linux distribution, recover data from a corrupted hard drive, or install a fresh copy of Windows 11 on a different computer, you will need an installation medium. Gone are the days of burning ISO files to fragile CD-ROMs; modern computing relies entirely on USB flash drives. Knowing how to create a bootable USB drive in Ubuntu is an essential, foundational skill for any Linux user, allowing you to carry complete, functioning operating systems in your pocket.

In this comprehensive technical guide, we will explore the easiest graphical method using Ubuntu’s built-in tools, as well as the incredibly powerful command-line method for advanced users who demand absolute precision.

What is a Bootable USB?

A bootable USB drive is a standard flash drive that has been specifically formatted and written with an ISO image (a sector-by-sector copy of an operating system). When you plug this drive into a computer and turn it on, the computer’s BIOS/UEFI reads the USB drive before it reads the internal hard drive. This allows the computer to boot directly into the operating system contained on the USB stick.

Prerequisites and Requirements

Before you begin formatting drives, you must ensure you have the following:

  • A USB Flash Drive: You need a USB stick with at least 8GB of storage capacity. Warning: Every single file, photograph, or document currently on this USB drive will be permanently deleted during the formatting process. Back up the USB drive first.
  • An ISO File: You must have already downloaded the `.iso` file of the operating system you wish to install (e.g., the Ubuntu 24.04 ISO from the official Canonical website, or a Windows ISO).
  • Sudo Privileges: You must be logged into an Ubuntu account with administrator privileges.

Method 1: Using the Startup Disk Creator (The GUI Method)

If you are running the standard Ubuntu Desktop edition, you do not need to download third-party software like Rufus or BalenaEtcher. Ubuntu includes a native, pre-installed graphical application designed specifically for this task.

Step 1: Launch Startup Disk Creator

Press the Super (Windows) key on your keyboard to open the GNOME activities overview. Type Startup Disk Creator into the search bar, and click on the app icon to launch it.

Step 2: Select the ISO File

The application interface is split into two halves. The top half is for the ISO file, and the bottom half is for your USB drive.

  1. In the top section, click the Other… button.
  2. A file browser window will appear. Navigate to your Downloads folder (or wherever you saved the ISO file), select the .iso file, and click Open.

Step 3: Select the Target USB Drive

Insert your USB flash drive into your computer. In the bottom half of the Startup Disk Creator window, select your USB drive from the list under “Disk to use”. Ensure you select the correct drive by verifying its capacity (e.g., 8GB or 16GB), so you do not accidentally overwrite an external backup hard drive.

Step 4: Write the Image

Once you are absolutely certain the correct USB drive is selected, click the Make Startup Disk button in the bottom right corner. A final warning prompt will appear asking you to confirm the complete erasure of the drive. Click Yes and enter your administrator password. The process usually takes between 5 and 15 minutes depending on the speed of your USB drive.

Method 2: Using the ‘dd’ Command (The Terminal Method)

For server administrators or advanced users, the dd (data duplicator) command is the fastest and most reliable way to write an ISO image directly to a block device. However, it is nicknamed “disk destroyer” for a reason: if you type the wrong drive letter, you will instantly overwrite your main hard drive.

Step 1: Identify the USB Drive

Insert your USB drive and open a terminal window (Ctrl + Alt + T). Type the following command to list all attached storage devices:

lsblk

Look at the output and identify your USB drive based on its size (e.g., sda is usually your main hard drive, while the USB might be listed as sdb or sdc). Note down the specific device name (e.g., /dev/sdb). Do not include partition numbers (like sdb1); you must target the whole drive.

Step 2: Unmount the USB Drive

Before writing raw data to the drive, you must unmount it so the operating system is not actively using it. Run:

sudo umount /dev/sdb*

(Replace sdb with your actual drive letter).

Step 3: Execute the dd Command

Now, use the dd command to write the ISO file to the USB drive. Use this exact syntax:

sudo dd if=/path/to/your/file.iso of=/dev/sdb bs=4M status=progress
  • if= stands for “input file”. Replace this with the actual path to your downloaded ISO.
  • of= stands for “output file”. Replace this with your target USB drive letter (e.g., /dev/sdb).
  • bs=4M sets the block size, speeding up the transfer.
  • status=progress forces the terminal to show you a percentage bar, as dd is normally completely silent while working.

Press Enter, type your password, and wait for the transfer to complete. Once finished, run sync to ensure all cached data is fully flushed to the USB drive before physically removing it.

Frequently Asked Questions

Can I use the USB drive normally again after installing the OS?

Yes. Once you have finished installing your new operating system, you can plug the USB drive back in, open the “Disks” utility in Ubuntu, and format the drive back to FAT32 or NTFS. This will restore it to a standard, blank flash drive ready for normal file storage.

Will this method work for creating a Windows bootable USB?

The dd command often fails when creating Windows 10 or 11 installation media due to how Microsoft structures their UEFI boot files. If you need to create a Windows USB on Ubuntu, it is highly recommended to use a specialised third-party graphical tool like WoeUSB instead.

Whether you prefer the safety and simplicity of the native graphical Startup Disk Creator, or the raw, unfiltered power of the command line, mastering this process is a rite of passage for Linux users. By learning how to create a bootable USB drive in Ubuntu, you gain the ultimate flexibility to test new software, rescue broken systems, and deploy operating systems across any hardware you encounter.

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.

Receive our best articles and tips delivered straight to your inbox.