Installation Media

Chapter 4 — Creating Installation Media

You've chosen your distro and prepared your machine. Now you need to get Linux onto something you can boot from — a USB stick, a DVD, or in more advanced setups, via the network. This chapter walks through downloading the Linux ISO file, verifying it's genuine, and writing it to installation media. The whole process takes about 15–20 minutes.

What you'll need: a USB stick of at least 8 GB (most Linux ISOs are between 2–5 GB), an internet connection to download the ISO, and either Rufus (Windows) or balenaEtcher (Windows/macOS/Linux). The USB stick will be completely wiped, so save anything on it first.

1. Downloading the ISO

An ISO file (also called a disc image) is a single file containing the complete contents of a Linux installation disc — the bootloader, the operating system, the installer, and all the software that comes pre-installed. You download one ISO and write it to a USB stick or DVD.

Where to download

Always download from the official website of the distro you chose. Do not trust third-party download sites — there have been cases where tampered ISOs were distributed containing malware.

  • Linux Mint — linuxmint.com → Download
  • Ubuntu — ubuntu.com → Download
  • Fedora — fedoraproject.org → Download Fedora
  • Debian — debian.org → Getting Debian → small installation image
  • Pop!_OS — system76.com/pop → Download (choose NVIDIA or AMD/Intel)
  • Zorin OS — zorin.com → Download (Core edition is free)

Which edition to pick

Many distros offer several editions. The main choices to understand:

  • Desktop vs Server — download the Desktop edition unless you're setting up a headless server with no graphical interface.
  • 64-bit (AMD64 / x86_64) — this is what almost all modern computers use, regardless of whether they have an Intel or AMD processor. Download this one.
  • ARM64 (aarch64) — for ARM-based machines such as Raspberry Pi or Apple Silicon Macs. Only choose this if you know you have ARM hardware.
  • LTS vs interim releases (Ubuntu) — choose LTS (e.g., 24.04 LTS) for stability.

Using a torrent

Most distros offer their ISO via torrent as well as direct download. Torrent downloads are often faster (especially for popular distros), resume if interrupted, and are automatically verified against the swarm. If you have a torrent client (qBittorrent is free and reputable), use it — it's perfectly legitimate here.

Download time estimate: a typical ISO is 2–4 GB. On a 50 Mbps connection that's about 5–10 minutes. On slower connections, start the download and come back — it doesn't need babysitting.

2. Verifying the ISO

Once downloaded, it's worth verifying that the file wasn't corrupted during the download and hasn't been tampered with. This is done using a checksum — a long string of characters generated from the file's contents. If even one byte is different, the checksum changes completely. The distro's website publishes the expected checksum; you generate one from your downloaded file and compare them.

Finding the checksum on the download page

Look on the same page where you downloaded the ISO for a link that says something like "SHA256SUMS", "Verify your download", or "Integrity check". Download or copy that checksum string — it will look something like:

a0d2d56df4e35d78ac2e8d2ab2d6c34a8e65b5... ubuntu-24.04-desktop-amd64.iso

Verifying on Windows

Open PowerShell (search for it in the Start menu) and run:

PS> Get-FileHash C:\Users\YourName\Downloads\ubuntu-24.04-desktop-amd64.iso -Algorithm SHA256

The Hash value in the output should exactly match the checksum published on the download page. If they don't match, the file is corrupted — delete it and download again.

Verifying on Linux (from a live session or existing install)

$ sha256sum ubuntu-24.04-desktop-amd64.iso a0d2d56df4e35d78ac2e8d2ab2d6c34a8e65b5... ubuntu-24.04-desktop-amd64.iso
Is verification mandatory? Strictly speaking, no — most downloads are fine. But if your installation fails with bizarre errors, a corrupted ISO is one of the first things to rule out. It takes 30 seconds and can save a lot of troubleshooting time.

3. Writing the ISO to a USB Stick

You can't just copy the ISO file to a USB stick — the stick needs to be made bootable, which means the ISO's contents are written in a specific way that the computer can start from. Several free tools do this for you.

The USB stick will be completely erased. All existing files on the stick will be destroyed when you write the ISO. Save anything you need from it first.
Rufus
Windows only — Recommended

The most popular and capable USB writing tool for Windows. Fast, free, portable (no installation needed — just download and run). Handles almost every Linux distro correctly and offers options for UEFI vs Legacy boot modes.

  • Download from: rufus.ie
  • Portable version available (no install)
  • Supports GPT/MBR partition schemes
  • Auto-detects the ISO type
  • Windows only
balenaEtcher
Windows · macOS · Linux

Simpler interface than Rufus — three clicks and you're done. Verifies the write automatically after finishing. Excellent choice for macOS users or anyone who wants the most straightforward experience. Slightly slower than Rufus on Windows.

  • Download from: etcher.balena.io
  • Cross-platform
  • Automatic post-write verification
  • No partition scheme options (works for most distros)
  • Slightly larger download (~150 MB)

4. Step-by-Step: Writing with Rufus (Windows)

  • 1
    Download Rufus from rufus.ie. Choose the portable version — it's a single .exe file, no installation required. Run it; Windows may ask for administrator permission — click Yes.
  • 2
    Insert your USB stick. Rufus will detect it automatically and show it in the "Device" dropdown at the top. If you have multiple USB drives connected, double-check you've selected the correct one.
  • 3
    Click "SELECT" next to the Boot selection field and browse to your downloaded ISO file.
  • 4
    Partition scheme: Rufus auto-selects based on your system. For modern UEFI computers (most made after 2012) it will choose GPT. For older BIOS/Legacy computers, it will choose MBR. If unsure, leave the auto-selection.
  • 5
    Leave everything else at the defaults — file system, cluster size, and volume label don't need to be changed for Linux ISOs.
  • 6
    Click START. Rufus will warn you that all data on the USB stick will be destroyed — click OK. The progress bar fills as it writes; this typically takes 3–8 minutes.
  • 7
    When the status bar shows "READY" in green, the USB is done. Close Rufus and safely eject the USB stick. It's ready to boot from.
Rufus may ask about writing in "ISO Image mode" vs "DD Image mode". For most Linux distros, choose ISO Image mode — it creates a USB that works for both installing and running a live session. Only choose DD Image mode if the distro's instructions specifically say to, or if ISO mode doesn't boot correctly.

5. Step-by-Step: Writing with balenaEtcher

  • 1
    Download and install balenaEtcher from etcher.balena.io. On macOS, drag it to Applications. On Windows, run the installer.
  • 2
    Click "Flash from file" and select your downloaded ISO.
  • 3
    Click "Select target" and choose your USB stick. Etcher hides internal drives to reduce the risk of accidentally wiping the wrong disk.
  • 4
    Click "Flash!" and enter your system password if prompted. Etcher writes the ISO, then automatically verifies the result. Both steps together take 5–12 minutes.
  • 5
    When Etcher shows "Flash Complete!" the USB is ready. Eject it safely.
macOS users: when you eject the USB after writing, macOS may say "The disk you inserted was not readable by this computer" and offer to Initialise, Ignore, or Eject. Click Eject — this is normal. macOS can't read the Linux boot format, but your computer's UEFI firmware can.

6. Burning to DVD (Optional)

USB is faster, more reliable, and reusable — but if your machine has a DVD drive and no USB ports that work at boot time, a DVD is a valid fallback. You'll need a blank DVD-R or DVD+R disc (not a CD — Linux ISOs are too large).

On Windows

Windows 10 and 11 have built-in ISO burning. Right-click the ISO file in File Explorer and select "Burn disc image". Insert a blank disc, select the correct burner drive, and click Burn. Write speed doesn't matter much — slower (4x) produces more reliable results than maximum speed.

On macOS

Open Disk Utility, go to File → Open Disk Image and select your ISO, then File → Burn to disc.

DVD vs USB speed: booting and installing from a DVD takes significantly longer than from a USB stick — often 2–3× longer. USB is always preferable if you have the option.

7. Network Boot / PXE (Advanced)

PXE (Preboot Execution Environment) boot allows a computer to boot from a Linux installer delivered over the network, with no USB stick or DVD involved. The computer requests a boot image from a server on the local network and loads the installer directly into RAM.

This is primarily useful when:

  • You're deploying Linux to many machines at once (common in offices and data centres)
  • The machine has no working USB ports or optical drive
  • You want a centralised install process for a home lab

How PXE boot works (overview)

  • The target computer's UEFI/BIOS sends a broadcast DHCP request when set to network boot.
  • A DHCP server responds with the address of a TFTP server and the boot file name.
  • The computer downloads the bootloader (e.g., PXELINUX or GRUB) over TFTP.
  • The bootloader presents a menu; the selected OS image is downloaded over HTTP or NFS.
  • The installer runs entirely in RAM.
PXE setup requires a server running DHCP, TFTP, and HTTP/NFS services — typically an existing Linux machine. Tools like FOG Project or Netboot.xyz package all of this into a manageable solution. PXE is a topic for later in your Linux journey, not something to tackle on a first install.

8. Booting from Your USB Stick

With your USB stick written, the final step in this chapter is to confirm you can boot from it. This is also how you'll start the actual installation in Chapter 5.

The boot menu

Most computers let you choose a temporary boot device by pressing a function key immediately after the power button. The key varies by manufacturer — it's often shown briefly on screen during startup:

ManufacturerBoot menu keyUEFI/BIOS setup key
DellF12F2
HPF9 or Esc then F9F10 or Esc
LenovoF12 or Fn+F12F2 or Fn+F2
ASUSF8 or EscF2 or Del
AcerF12F2 or Del
MSIF11Del
GigabyteF12Del or F2
Apple MacHold Option (⌥) at startup
  • 1
    Insert the USB stick before powering on.
  • 2
    Power on (or restart) and immediately press the boot menu key for your manufacturer — usually within the first two seconds of startup. Tap it repeatedly rather than holding it.
  • 3
    A boot menu appears listing available devices. Select your USB stick — it may appear as the brand name, "USB HDD", "USB Storage Device", or similar. If you see two entries for the same stick (one with "UEFI:" prefix and one without), choose the UEFI: version on modern computers.
  • 4
    The Linux boot menu appears — usually offering "Try" or "Start" (live session) and "Install". For now, choose Try to test hardware compatibility before committing.
Nothing happens after selecting the USB? Common causes: the USB wasn't written correctly (try writing it again), you selected the wrong boot mode (UEFI vs Legacy), or Secure Boot is blocking an unsigned bootloader. Try the other mode entry in the boot menu, or temporarily disable Secure Boot in UEFI settings as described in Chapter 3.
If there's no boot menu key: go into UEFI/BIOS setup (see the table above for keys) and look for a "Boot Order" or "Boot Priority" section. Move USB to the top of the list, save, and restart. Remember to change the boot order back after installing.

Chapter Summary

TaskKey points
Download the ISO Always download from the official distro website. Choose 64-bit (AMD64). For Ubuntu, choose the LTS version.
Verify the checksum Compare the SHA256 hash of your downloaded file against the one published on the download page. Use PowerShell on Windows (Get-FileHash) or sha256sum on Linux.
Write to USB (Windows) Rufus (rufus.ie) is the best choice. Select your USB, select the ISO, leave defaults, click START. Takes 3–8 minutes.
Write to USB (cross-platform) balenaEtcher (etcher.balena.io) — three clicks, auto-verifies after writing. Works on Windows, macOS, Linux.
DVD burning Right-click the ISO in Windows File Explorer → "Burn disc image". Slower than USB; only use if USB booting isn't available.
PXE / network boot Advanced technique for multi-machine deployments; requires a server with DHCP, TFTP, and HTTP/NFS. Not needed for a first install.
Booting the USB Press the boot menu key (F12, F9, F8 — varies by manufacturer) immediately after power-on. Select the USB entry with "UEFI:" prefix on modern systems.
Next: Chapter 5 — The installation process. Your USB stick is ready and boots correctly. Now we walk through the actual installation step by step, using Ubuntu as the reference, with notes on where Fedora and Linux Mint differ.