How to Create a USB Installer: Step-by-Step Guide
In this article
Creating a USB installer means writing a full operating system image onto a flash drive so the computer can boot from it and run setup, a repair environment, or a live desktop. It is the standard way to install or reinstall Windows, Linux, or a recovery tool on machines that have no optical drive. Before you start, you need a blank USB drive of adequate capacity, an image file (usually an ISO) of the system you intend to install, and a tool that writes that image correctly. The whole process takes roughly 15 to 40 minutes depending on drive speed and image size, and the drive will be completely erased, so back up anything on it first.
What You'll Need
- A USB flash drive with enough capacity for the image. Windows 10 and 11 installers need at least 8 GB; many Linux distributions fit on 4 GB, but 8 GB is a safe minimum. The drive will be wiped, so do not use one holding files you need.
- The installation image: an ISO file downloaded from the official source for your operating system or tool.
- A writing tool. On Windows, the official Media Creation Tool or a utility such as Rufus or balenaEtcher. On macOS, balenaEtcher or the built-in
ddcommand. On Linux,dd, GNOME Disks, or balenaEtcher. - A working computer with an internet connection to download the image and tool, plus administrator rights to run the writer.
- Optional: a second USB drive or cloud storage for backing up the target machine's data before reinstalling.
Step-by-Step
- Confirm the target machine's requirements. Check the architecture (64-bit versus 32-bit), the firmware type (UEFI or legacy BIOS), and the minimum disk space and memory for the operating system. Downloading the wrong architecture wastes a full write cycle.
- Download the image from the official source. For Windows, use the vendor's download page and choose the ISO option. For Linux, download from the distribution's own site and, where offered, verify the checksum. Avoid third-party mirror sites that bundle modified images.
- Verify the download if a checksum is published. On Windows, run
certutil -hashfile image.iso SHA256in Command Prompt. On macOS or Linux, runsha256sum image.isoorshasum -a 256 image.iso. Compare the output with the published value; a mismatch means a corrupted download, so download again. - Back up the USB drive. Copy anything you want to keep to another location. The next step destroys the existing partition table and all data on the drive.
- Plug in the USB drive and identify it. Open Disk Management on Windows, Disk Utility on macOS, or
lsblkon Linux, and note the drive letter or device name. Double-check the capacity so you do not confuse the USB drive with an internal disk. - Open your writing tool. In Rufus, select the device, then the ISO, and leave the partition scheme on GPT for UEFI systems or MBR for older BIOS systems. In balenaEtcher, choose Flash from file, pick the ISO, select the target drive, and click Flash. The official Windows Media Creation Tool walks you through the same choices.
- Start the write and wait. Do not unplug the drive or close the tool while it is writing. Progress bars can stall briefly near the end while the tool flushes buffers and verifies the result.
- Let verification finish. Many tools re-read the drive and compare it with the image. If verification fails, the drive or the image is faulty; try a different drive or re-download the ISO.
- Eject safely. Use the operating system's eject or safely remove function before physically pulling the drive.
- Boot from the drive. Restart the target computer and open the boot menu, usually F12, F11, F10, or Esc during startup, then select the USB device. If the drive does not appear, enable USB boot in firmware settings and, for UEFI systems, disable Secure Boot only if the installer requires it.
Common Mistakes
The most frequent error is simply copying the ISO file onto the drive instead of writing it as an image. A copied ISO is just a file; the drive will not boot. Another common mistake is choosing the wrong partition scheme, which produces a drive that the firmware cannot see. Writing to the wrong disk is the most damaging error, so always confirm the device by capacity and label before clicking start. Using a failing or counterfeit flash drive causes writes that appear to succeed but fail verification. Finally, unplugging the drive before the tool reports completion corrupts the image, and the installer may crash partway through setup.
Tips
Use a reputable USB 3.0 drive from a known seller; very cheap high-capacity drives are often counterfeit and report more space than they have. Keep the ISO on your internal drive rather than a network share while writing, to avoid read stalls. If you install Linux frequently, a tool that supports persistence lets you keep settings between boots, but do not enable it for a plain installer. Label the finished drive with a marker so you do not overwrite it later. For Windows, the official tool handles partitioning automatically and is the least error-prone option for most users. If you need to install on both UEFI and legacy machines, create two drives or rebuild the drive for each firmware type.
Troubleshooting
If the computer does not offer the USB drive in the boot menu, re-enter firmware settings and check that USB boot is enabled and that the drive is detected at all. Try a different USB port, preferably one directly on the motherboard rather than a hub. If the drive appears but the machine boots straight to the existing system, the boot order may need changing, or the drive may be formatted with the wrong partition scheme for the firmware. If setup starts and then fails, the image may be corrupted; verify the checksum and rewrite. If the write tool reports the drive is in use or write-protected, close any program accessing it and check for a physical write-protect switch on the drive. When verification fails repeatedly on the same drive, replace the drive. If the installer cannot find the target disk, the storage controller may need a driver loaded during setup, or the disk may be set to a RAID mode that the installer does not recognize; changing the firmware storage mode to AHCI is a common fix, but back up data first because the change can affect an existing installation.
Frequently Asked Questions
Can I reuse the USB drive afterwards? Yes. Format it normally once you no longer need the installer, which restores it to ordinary storage use.
How big should the drive be? At least 8 GB covers Windows 10 and 11 and most Linux images. Some larger distributions and recovery tools need 16 GB.
Does creating an installer erase my computer? No. Only the USB drive is erased. The target computer is wiped only when you choose to install and format its disk during setup.
Why does the drive not boot? Usually the wrong partition scheme, USB boot disabled in firmware, or the ISO was copied rather than written as an image.
Can I make an installer on a Mac for a Windows PC? Yes, with a cross-platform tool such as balenaEtcher. The resulting drive works on the target PC as long as the partition scheme matches its firmware.
Is a checksum check really necessary? It is quick and catches corrupted downloads that would otherwise fail midway through installation, so it is worth doing whenever a checksum is published.