Skip to main content

Command Palette

Search for a command to run...

How to Create a Linux Bootable USB

Updated
6 min read

Creating a Linux bootable USB is a handy skill that lets you install or try Linux on almost any computer. Whether you want to test a new Linux distribution or fix a system, having a bootable USB ready makes the process smooth and fast. You don’t need to be a tech expert to do this; I’ll guide you through simple steps that anyone can follow.

In this article, you’ll learn how to create a Linux bootable USB on different operating systems like Windows, macOS, and Linux. I’ll also share tips on choosing the right tools and how to troubleshoot common issues. By the end, you’ll feel confident making your own bootable USB for Linux.

What Is a Linux Bootable USB?

A Linux bootable USB is a USB flash drive that contains a Linux operating system image. When you plug it into a computer and boot from it, the system runs Linux directly from the USB or lets you install Linux on the computer’s hard drive.

Here’s why bootable USBs are useful:

  • Portability: Carry your Linux system anywhere.
  • Testing: Try Linux without changing your current OS.
  • Installation: Install Linux on new or existing machines.
  • Recovery: Fix or recover systems with Linux tools.

Creating a bootable USB involves copying a Linux ISO file onto the USB in a way that makes it bootable. This is different from just copying files; the USB needs a special bootloader and file system setup.

Preparing to Create Your Bootable USB

Before you start, you need a few things ready:

  • A USB flash drive: At least 4GB for most Linux distros; 8GB or more is better.
  • Linux ISO file: Download the Linux distribution you want from its official website. Popular options include Ubuntu, Fedora, Debian, and Linux Mint.
  • A computer: You can create the bootable USB on Windows, macOS, or Linux.
  • A tool to write the ISO: Different tools work best depending on your OS.

Make sure to back up any important data on your USB drive because the process will erase everything on it.

Creating a Linux Bootable USB on Windows

Windows users have several easy-to-use tools for making bootable Linux USB drives. Here are the most popular options:

Using Rufus

Rufus is a free, lightweight tool that works well for most Linux ISOs.

  1. Download Rufus from its official website.
  2. Insert your USB drive.
  3. Open Rufus; it will detect your USB automatically.
  4. Click “Select” and choose your Linux ISO file.
  5. Leave the default settings unless you have specific needs.
  6. Click “Start” and confirm any prompts.
  7. Wait for the process to finish, then safely eject your USB.

Rufus supports both BIOS and UEFI boot modes, making it versatile for modern and older computers.

Using balenaEtcher

balenaEtcher is another popular tool known for its simple interface.

  1. Download and install balenaEtcher.
  2. Open the app and click “Flash from file” to select your Linux ISO.
  3. Choose your USB drive.
  4. Click “Flash” to start.
  5. Wait until it finishes, then eject your USB safely.

balenaEtcher works on Windows, macOS, and Linux, so it’s a great cross-platform option.

Creating a Linux Bootable USB on macOS

Mac users can also create bootable Linux USBs easily. Here are two common methods:

Using balenaEtcher on macOS

balenaEtcher works the same on macOS as on Windows:

  • Download and install balenaEtcher.
  • Select your Linux ISO file.
  • Choose your USB drive.
  • Click “Flash” and wait for completion.

Using Terminal Commands

If you prefer the command line, macOS’s Terminal can create bootable USBs using the dd command.

  1. Convert the ISO to an IMG file if needed.
  2. Insert your USB and find its device name with diskutil list.
  3. Unmount the USB with diskutil unmountDisk /dev/diskN (replace N with your disk number).
  4. Use the dd command to write the image:

    sudo dd if=/path/to/linux.iso of=/dev/rdiskN bs=1m
    
  5. Wait for the process to finish (it may take several minutes).

  6. Eject the USB with diskutil eject /dev/diskN.

Be very careful with the dd command, as choosing the wrong disk can erase important data.

Creating a Linux Bootable USB on Linux

Linux users have built-in tools and third-party apps to create bootable USBs.

Using the dd Command

The dd command is a powerful way to create bootable USBs on Linux.

  1. Insert your USB drive.
  2. Find its device name with lsblk or fdisk -l.
  3. Unmount the USB partitions if mounted.
  4. Run the dd command:

    sudo dd if=/path/to/linux.iso of=/dev/sdX bs=4M status=progress oflag=sync
    

    Replace /dev/sdX with your USB device.

  5. Wait until it finishes, then eject the USB.

Using GUI Tools

If you prefer a graphical interface, try these:

  • Startup Disk Creator: Comes with Ubuntu and some other distros.
  • UNetbootin: Works on many Linux distros.
  • balenaEtcher: Also available for Linux.

These tools guide you through selecting the ISO and USB drive, then handle the writing process.

Tips for a Successful Bootable USB

Creating a bootable USB is usually straightforward, but here are some tips to avoid common problems:

  • Use a reliable USB drive: Cheap or old drives may fail.
  • Check the ISO file’s integrity: Verify the checksum if available.
  • Choose the right boot mode: Modern PCs use UEFI, but some need BIOS/Legacy mode.
  • Disable Secure Boot if needed: Some Linux distros require this.
  • Safely eject the USB: Always eject properly to avoid corruption.

Troubleshooting Common Issues

Sometimes, your bootable USB might not work as expected. Here’s how to fix common problems:

  • USB not detected at boot: Check BIOS/UEFI settings to enable USB boot and adjust boot order.
  • Boot hangs or errors: Try recreating the USB with a different tool or USB drive.
  • Linux won’t install or run: Ensure you downloaded the correct ISO for your system architecture (32-bit vs 64-bit).
  • Persistent storage not working: Some tools support persistent storage, but it requires special setup.

If you face issues, searching for your specific Linux distro and USB tool often helps find solutions.

Conclusion

Making a Linux bootable USB is easier than you might think. Whether you use Windows, macOS, or Linux, there are simple tools and commands to help you create a reliable bootable drive. This USB lets you try Linux, install it, or fix your system without hassle.

Remember to prepare your USB properly, choose the right tool, and follow the steps carefully. With a bit of practice, you’ll be ready to explore the world of Linux anytime, anywhere.


FAQs

What size USB drive do I need for a Linux bootable USB?

A USB drive with at least 4GB capacity is usually enough for most Linux distributions. However, 8GB or more is recommended for larger distros or if you want persistent storage.

Can I create a bootable USB on any operating system?

Yes, you can create a Linux bootable USB on Windows, macOS, or Linux using different tools like Rufus, balenaEtcher, or the dd command.

Is it safe to use the dd command to create a bootable USB?

Yes, dd is safe if you carefully specify the correct USB device. Mistakes can overwrite important data, so double-check the device name before running the command.

What should I do if my computer doesn’t boot from the USB?

Check your BIOS/UEFI settings to enable USB boot and set the USB drive as the first boot device. Also, disable Secure Boot if your Linux distro requires it.

Can I use the bootable USB to install Linux on multiple computers?

Yes, a bootable USB can install Linux on any compatible computer. Just plug it in, boot from it, and follow the installation steps.

More from this blog

L

LinuxBloke | Linux Tips, Tricks & Troubleshooting

672 posts

How to Create a Linux Bootable USB