Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Create a USB Installer for Ubuntu

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Creating a USB installer for Ubuntu lets you boot a computer from the USB drive and install Ubuntu alongside or instead of your current operating system. You will need a USB flash drive with at least 8 GB capacity, the Ubuntu ISO file, and a tool to write the ISO to the USB. The process takes about 15–30 minutes and works on Windows, macOS, and Linux. This guide walks you through each step, from downloading the right files to troubleshooting common boot issues.

What You'll Need

  • A USB flash drive with at least 8 GB capacity (all data on it will be erased).
  • A computer running Windows, macOS, or Linux with internet access.
  • The Ubuntu ISO file (download from the official Ubuntu website).
  • A USB writing tool: Rufus (Windows), balenaEtcher (cross-platform), or the built-in dd command (Linux/macOS).

Step-by-Step

  1. Download the Ubuntu ISO. Go to the official Ubuntu website and download the latest LTS (Long Term Support) version. The file will be named something like ubuntu-24.04-desktop-amd64.iso. Save it to your Downloads folder.
  2. Insert your USB drive. Plug the USB flash drive into a free USB port. Make sure it has no important files, as it will be completely wiped.
  3. Choose a writing tool. On Windows, download Rufus (free, portable). On macOS or Linux, use balenaEtcher or the command line. Rufus is recommended for Windows because it handles ISO-to-USB writing reliably and offers options for partition schemes.
  4. Open the tool and select the ISO. In Rufus, click the “SELECT” button and browse to your downloaded Ubuntu ISO file. In balenaEtcher, click “Flash from file” and choose the ISO.
  5. Select the correct USB device. In Rufus, under “Device”, choose your USB drive from the dropdown. Double-check the drive letter and size to avoid overwriting the wrong disk. In balenaEtcher, click “Select target” and pick your USB drive.
  6. Configure settings (Rufus only). For most modern systems, leave “Partition scheme” as GPT and “Target system” as UEFI (non-CSM). If you plan to install on an older BIOS-based computer, choose MBR and BIOS (or UEFI-CSM). Leave “File system” as FAT32 (default) and “Cluster size” as default. Do not change advanced options unless you know what you are doing.
  7. Start the write process. Click “START” in Rufus or “Flash!” in balenaEtcher. Confirm any warning about data loss. The tool will format the USB drive, write the ISO, and verify the data. This can take 5–20 minutes depending on USB speed.
  8. Wait for completion. When the process finishes, Rufus will show “READY” and balenaEtcher will show “Flash Complete”. Close the tool and safely eject the USB drive.
  9. Boot from the USB. Insert the USB into the target computer and restart it. During startup, press the boot menu key (often F12, F10, F2, or Esc—varies by manufacturer) and select the USB drive. If you don’t see the USB, enter BIOS/UEFI settings and enable USB boot or disable Secure Boot temporarily.
  10. Install or try Ubuntu. Once the Ubuntu live session loads, you can choose “Try Ubuntu” to test it without installing, or “Install Ubuntu” to proceed with installation. Follow the on-screen prompts.

Common Mistakes

  • Using a USB drive smaller than 8 GB. The Ubuntu ISO is about 4–6 GB, but you need extra space for the writing process. A 4 GB drive may fail.
  • Selecting the wrong drive in the tool. Always verify the drive letter and size. Writing to an external hard drive by mistake will erase it.
  • Skipping the ISO download verification. A corrupted ISO leads to a failed installation. Check the SHA256 checksum against the official value.
  • Not disabling Secure Boot. Some computers refuse to boot from the USB if Secure Boot is enabled and the Ubuntu shim isn’t signed. Temporarily disable it in BIOS/UEFI.
  • Using a USB hub or front-panel port. Some systems fail to boot from USB via a hub. Connect directly to a rear USB port.

Tips

  • Use a USB 3.0 drive for faster writing and booting.
  • Format the USB drive as FAT32 before writing if the tool complains about the file system.
  • Keep the ISO file on your computer until installation is complete, in case you need to recreate the USB.
  • If you plan to install on a UEFI system, ensure the USB is written with GPT partition scheme.
  • Test the USB on the target computer before wiping any existing OS.

Troubleshooting

If the computer does not boot from the USB, first check the boot order in BIOS/UEFI. Enter the boot menu (often F12) and select the USB entry. If it’s not listed, try a different USB port (preferably USB 2.0 on older machines). Disable Secure Boot and Fast Boot in BIOS. If the USB still doesn’t appear, recreate it with Rufus using MBR partition scheme for BIOS or GPT for UEFI. If the Ubuntu installer starts but fails, verify the ISO checksum and try writing again with a different tool. For “Failed to load COM32” errors, the USB may be corrupted—reformat and rewrite. If you see a black screen after selecting “Try Ubuntu”, add nomodeset to the boot options by pressing ‘e’ at the GRUB menu and appending it to the line starting with linux.

Frequently Asked Questions

Can I use a USB drive larger than 8 GB? Yes, any size 8 GB or larger works. The tool will use only the space needed for the ISO, but all data on the drive will be erased.

Do I need to format the USB drive first? No, Rufus and balenaEtcher format the drive automatically. You only need to format manually if the tool reports an error.

Will creating a USB installer erase my USB drive? Yes, all existing data on the USB drive will be destroyed. Back up important files before starting.

Can I use the same USB for other purposes after installation? Yes, after installing Ubuntu you can reformat the USB drive to its original state using Disk Management (Windows) or Disk Utility (macOS).

Why does my computer not recognize the USB installer? Common causes: Secure Boot enabled, USB port issue, or the USB was written with the wrong partition scheme. Try a different port, disable Secure Boot, or recreate the USB with the correct scheme.

Is Rufus safe to use? Yes, Rufus is a widely used open-source tool. Download it only from the official website to avoid bundled malware.