AxiOm LabsLinux Library

How to write an image to a USB stick

Five steps from a downloaded file to booting the new system — for Windows, macOS and Linux.

  1. Download the image. Pick a distribution from the catalogue and download the .iso file from the official site or a mirror. You need a USB stick of 8 GB or more — everything on it will be erased.
  2. Check the checksum. Next to the image there is a SHA256SUMS file (or similar). It must match what your computer calculates:
    # Linux
    sha256sum ubuntu-26.04.1-desktop-amd64.iso
    # macOS
    shasum -a 256 ubuntu-26.04.1-desktop-amd64.iso
    # Windows (PowerShell)
    Get-FileHash .\ubuntu-26.04.1-desktop-amd64.iso -Algorithm SHA256
  3. Write the image to the stick.

    Windows: Rufus — choose the stick and the image, then press Start. To keep several systems on one stick, use Ventoy: images are simply copied onto it as files.

    macOS and Linux: balenaEtcher — three buttons, hard to get wrong. On Linux the built-in Disks app (GNOME Disks) works too — “Restore Disk Image”.

    From a terminal (Linux): find the stick's name with lsblk and write the image. Be careful: dd overwrites the target disk without asking.

    lsblk
    sudo dd if=ubuntu-26.04.1-desktop-amd64.iso of=/dev/sdX bs=4M status=progress oflag=sync
  4. Boot from the stick. As the computer powers on, press the boot menu key — most often F12, F11, F8 or Esc — and pick the stick. Ubuntu, Fedora, Debian, Mint and openSUSE boot with Secure Boot on; for Arch you usually need to turn it off in the UEFI settings.
  5. Try before installing. Most images start a “live” system: you can check Wi-Fi, sound and video without changing anything on disk. The installer is on the desktop.