Skip to main content

Command Palette

Search for a command to run...

How to Make Linux USB Bootable

Published
6 min readView as Markdown

Creating a Linux USB bootable drive is a handy skill for anyone who wants to try Linux without installing it on their computer. Whether you want to test a new Linux distribution, install Linux on a device, or troubleshoot a system, a bootable USB is your go-to tool. In this guide, I’ll walk you through the process of making a Linux USB bootable on different operating systems.

You don’t need to be a tech expert to do this. I’ll explain everything in simple steps, so you can follow along easily. By the end, you’ll have a ready-to-use Linux USB drive that boots your favorite Linux distro smoothly.

What Is a Linux USB Bootable Drive?

A Linux USB bootable drive is a USB flash drive that contains a Linux operating system image. When you plug it into your computer and boot from it, your system runs Linux directly from the USB. This lets you:

  • Try Linux without changing your current system
  • Install Linux on your computer
  • Repair or troubleshoot your system using Linux tools

The USB drive acts like a mini hard drive with Linux installed on it. You can carry it anywhere and use it on different computers.

Preparing to Make a Linux USB Bootable

Before you start, you’ll need a few things:

  • A USB flash drive with at least 4GB of space (8GB or more is better)
  • A Linux ISO file (the image of the Linux distribution you want)
  • A computer running Windows, macOS, or Linux
  • A tool to write the ISO file to the USB drive

Choosing the Right Linux Distribution

There are many Linux distributions available, such as Ubuntu, Fedora, Debian, and Mint. Choose one that fits your needs:

  • Ubuntu: Great for beginners, user-friendly
  • Fedora: Latest software, good for developers
  • Debian: Stable and reliable
  • Linux Mint: Easy to use, similar to Windows

You can download the ISO file from the official website of the distribution.

Back Up Your USB Drive

Making a USB bootable will erase all data on the drive. Make sure to back up any important files before proceeding.

How to Make Linux USB Bootable on Windows

Windows users have several tools to create a Linux USB bootable drive. The most popular and easy-to-use tool is Rufus.

Using Rufus to Create a Bootable USB

  1. Download Rufus from the official website.
  2. Insert your USB drive into the computer.
  3. Open Rufus; it will detect your USB automatically.
  4. Select the Linux ISO file by clicking “SELECT.”
  5. Choose the partition scheme:
    • For modern PCs with UEFI, select GPT.
    • For older BIOS systems, select MBR.
  6. File system should be FAT32.
  7. Click START to begin writing the ISO to the USB.
  8. Wait for the process to finish, then safely eject the USB.

Tips for Windows Users

  • Make sure your USB drive is empty or backed up.
  • If Rufus shows a warning about ISOHybrid images, choose the recommended option.
  • After creating the USB, you can test it by rebooting your PC and selecting the USB as the boot device.

How to Make Linux USB Bootable on macOS

Mac users can create a Linux bootable USB using the Terminal or third-party apps like balenaEtcher.

Using balenaEtcher on macOS

  1. Download balenaEtcher from its official website.
  2. Insert your USB drive.
  3. Open balenaEtcher and click Flash from file.
  4. Select your Linux ISO file.
  5. Choose the USB drive as the target.
  6. Click Flash and wait for the process to complete.
  7. Eject the USB safely.

Using Terminal on macOS

If you prefer the command line:

  1. Convert the ISO to IMG format if needed.
  2. Use the diskutil command to identify your USB drive.
  3. Unmount the USB drive 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 until the process finishes, then eject the USB.

Tips for macOS Users

  • Be very careful with the dd command; selecting the wrong disk can erase your system drive.
  • balenaEtcher is safer and easier for most users.
  • Always eject the USB properly before removing it.

How to Make Linux USB Bootable on Linux

If you already use Linux, creating a bootable USB is straightforward using built-in tools or third-party apps.

Using the dd Command on Linux

  1. Insert your USB drive.
  2. Open a terminal and find your USB device name with:
    lsblk
    
  3. Unmount the USB drive partitions:
    sudo umount /dev/sdX1
    
  4. Write the ISO to the USB with:
    sudo dd if=/path/to/linux.iso of=/dev/sdX bs=4M status=progress
    
  5. Wait for the process to complete.
  6. Safely eject the USB.

Using GUI Tools on Linux

  • Etcher: Cross-platform and easy to use.
  • UNetbootin: Allows you to create bootable drives and download Linux distros.
  • Startup Disk Creator: Available on Ubuntu and derivatives.

Tips for Linux Users

  • Double-check the USB device name before running dd.
  • Use sync command after dd to ensure all data is written.
  • GUI tools are safer if you’re not comfortable with the command line.

Troubleshooting Common Issues

Sometimes, creating a bootable USB doesn’t go as planned. Here are some common problems and fixes:

  • USB not booting: Check BIOS/UEFI settings to enable USB boot and disable Secure Boot if needed.
  • ISO file corrupted: Verify the checksum of the ISO file to ensure it downloaded correctly.
  • USB drive not detected: Try a different USB port or another USB drive.
  • Boot menu not showing USB: Use the correct key (F12, Esc, F10) during startup to select the boot device.

Tips for Using Your Linux Bootable USB

Once your USB is ready, here’s how to get the most out of it:

  • Try Linux without installing: Most distros offer a “Live” mode to test the OS.
  • Install Linux: Use the installer on the bootable USB to install Linux on your hard drive.
  • Use for recovery: Boot into Linux to recover files or fix system issues.
  • Keep it updated: Download new ISO versions and recreate the USB to stay current.

Conclusion

Making a Linux USB bootable drive 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 USB. This lets you explore Linux, install it, or troubleshoot your system without hassle.

Remember to back up your USB data before starting and choose the right Linux distribution for your needs. With a bootable USB in hand, you’re ready to dive into the world of Linux anytime, anywhere.

FAQs

How large should my USB drive be for a Linux bootable?

A USB drive with at least 4GB is needed, but 8GB or more is recommended for newer Linux distributions and to have extra space for persistence.

Can I use any USB drive to make a Linux bootable?

Most USB drives work, but avoid very old or slow drives. A USB 3.0 drive is better for faster boot and performance.

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

Yes, but be very careful to select the correct USB device to avoid overwriting your system drive. Double-check device names before running the command.

Can I create a bootable USB on a Chromebook?

Yes, but it requires enabling developer mode and using Linux apps or Chrome extensions designed for USB creation.

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

Check BIOS/UEFI settings to enable USB boot, disable Secure Boot if necessary, and use the correct boot menu key to select the USB device.

More from this blog

L

LinuxBloke | Linux Tips, Tricks & Troubleshooting

672 posts