Computers & Electronics
3,927 views
25 min · 3 min read
7 steps
Advanced

How to create a bootable USB installer for Windows or Linux from macOS/Windows

Creating a bootable USB installer lets you install or repair Windows or Linux from a portable drive. This guide walks through preparing media on macOS or Windows, choosing the right tool, and safely writing an ISO so the installer boots reliably. Follow the steps for consistent results whether you are building Windows 10/11 or a popular Linux distribution.

Verified by pleasexplain editors
  1. Step 1: Choose correct ISO file

    Download the official ISO for your OS: use Microsoft’s media creation or direct ISO for Windows (4–8 GB) and the distribution site for Linux (1–4 GB). Verify checksums (SHA256) when available to avoid corrupted downloads and name the file clearly, e.g., Windows10_22H2.iso or ubuntu-24.04.iso.

    [Illustration: screen showing a downloads folder with ISO files and checksum text]

  2. Step 2: Select an appropriate USB drive

    Pick a USB 3.0 flash drive or SSD with at least twice the ISO size — 16 GB for typical Windows, 8 GB for most Linux. Back up any data; the process will erase the drive. Confirm the drive’s vendor and size in Finder (macOS) or Disk Management (Windows).

    [Illustration: close-up of a labeled USB drive next to a laptop]

  3. Step 3: Format USB for target OS

    On macOS use Disk Utility to erase the drive as MS-DOS (FAT) with GUID Partition Map for Windows or Mac OS Extended if you’ll use dd for Linux; on Windows use Diskpart to clean and create a single NTFS partition for large ISOs. Proper formatting reduces boot issues and ensures the installer can store files larger than 4 GB.

    [Illustration: Disk Utility window with erase options and a highlighted drive]

  4. Step 4: Use Rufus on Windows for Windows installs

    Download Rufus and run it as administrator. Select the USB, choose the downloaded Windows ISO, pick ‘GPT’ for UEFI systems or ‘MBR’ for legacy, and click Start. Rufus handles file system and bootloader; expect 10–20 minutes on USB 3.0 for a 6 GB ISO.

    [Illustration: Rufus interface with ISO selected and start button highlighted]

  5. Step 5: Use balenaEtcher for macOS or Linux installs

    Install balenaEtcher on macOS, pick the ISO, select the USB drive, and flash. Etcher verifies the write automatically and works with most Linux ISOs and macOS Big Sur+ systems. Typical flash and validation takes 5–15 minutes depending on drive speed.

    [Illustration: balenaEtcher flashing screen with progress bar]

  6. Step 6: Use dd on macOS for advanced users

    Open Terminal and identify the USB disk with diskutil list, run diskutil unmountDisk /dev/diskN, then sudo dd if=/path/to/image.iso of=/dev/rdiskN bs=1m status=progress; wait until the prompt returns (can be 5–30 minutes). Use rdisk for faster raw writes and be sure to target the correct disk number to avoid data loss.

    [Illustration: Terminal window showing dd command with progress output]

  7. Step 7: Test the USB and install

    Safely eject and plug the USB into the target PC. For UEFI, use the boot menu (often F12, Esc, or F10) and select the USB device. Perform a quick test boot to the installer menu; if it fails, recreate the media with a different tool or format. Proceed with installation only after confirming you boot into the installer interface.

    [Illustration: PC boot menu showing USB device highlighted]


  • Keep two copies of the ISO: one on your computer and one archived backup drive, at least 2 GB each for small distros and 8 GB for Windows ISOs.
  • Use a USB 3.0 port and cable for faster write speeds; expect writes to be 2–5× slower on USB 2.0 ports.
  • If Windows ISO files exceed 4 GB and the tool requires FAT32, select tools that split or use NTFS (Rufus or Windows Media Creation handle this).
  • Label the USB stick with a permanent marker or stick-on label and note the ISO version and date for future use.
  • If a boot fails on UEFI systems, check Secure Boot in firmware settings; many Linux installers support Secure Boot but some custom kernels do not.
  • Verify the written media by booting it on the same machine before wiping the old OS; this saves time if troubleshooting is required.

  • dd and Diskpart will irrevocably erase the chosen disk; double-check the disk identifier (e.g., /dev/disk2 or Disk 1) before proceeding.
  • Never download ISOs from unofficial or torrent sites unless they are signed and verified; unofficial images can contain malware or backdoors.
  • Using the wrong partition scheme (MBR vs GPT) can render the USB non-bootable on the target hardware; confirm the target uses UEFI or legacy BIOS.
  • Avoid interrupting the write process (unplugging USB or killing the app); incomplete writes create unusable media and can corrupt the drive.

Was this guide helpful?