A USB stick that your computer can start from is the usual way to try or install Linux. You download the ISO file of a distribution, confirm that the download is correct, and write it to the stick with a tool such as Fedora Media Writer, balenaEtcher or GNOME Disks. This process erases everything that is on the stick.
What it means
A Linux distribution usually comes as one large file, called an ISO file. Like the contents of a DVD, it holds the complete system. Simply copying this file to a USB stick does not work. It must be written in a special way so that the computer can start from it.
Writing the file is like pressing a vinyl record. The stick takes on the exact shape of the original, instead of becoming a box with the original inside. This is why the stick is completely erased, and why you need a special tool for the job.
Before you start, have these three things ready:
- a USB stick of at least 8 GB, with no files you want to keep;
- the ISO file of the distribution, from its official website, saved on your computer and not on the stick;
- a writing tool, which is free for Linux, Windows and macOS.
Once the stick is ready, you start the computer from it. Linux then runs from the stick and leaves your computer unchanged. You can try it first, and install it later if you like it.
Back to topHow to use it
1. Download the ISO file
Get the file from the distribution's official website, such as ubuntu.com or fedoraproject.org. Pick the version that matches your processor. Almost every computer needs amd64 or x86_64. Save the file in a normal folder, such as Downloads. Never save it on the stick you want to write, because the stick will be erased.
The examples below use Ubuntu 26.04.1 LTS, released on August 26, 2026, with the file ubuntu-26.04.1-desktop-amd64.iso.
2. Check the download
Distributions publish a checksum, a long code that belongs to the file. When your copy produces the same code, the download is complete and nobody changed it. On Linux, run:
sha256sum ubuntu-26.04.1-desktop-amd64.iso
This calculates the checksum of your file, which you then compare with the one on the download page, usually in a file called SHA256SUMS.
You can also let the computer compare the codes for you. Download SHA256SUMS from the same page (for Ubuntu: releases.ubuntu.com) into the folder with the ISO file, and run:
sha256sum --check --ignore-missing SHA256SUMS
This checks every file in the list that is in the folder and skips the others. The line for your ISO file must end with OK.
Most distributions also sign that file, so you can confirm that it really comes from them. Ubuntu, for example, publishes the signature as SHA256SUMS.gpg. Windows users can run certutil -hashfile file.iso SHA256 in a terminal. On macOS, the command is shasum -a 256 file.iso.
3. Write the ISO file to the stick
These tools are the easiest to use:
- balenaEtcher (Linux, Windows, macOS): choose the file, choose the stick, and flash. See the steps below.
- Fedora Media Writer (Linux, Windows, macOS): writes any ISO file, and can download Fedora for you.
- GNOME Disks (Linux): select the stick, open the menu and choose Restore Disk Image.
- KDE ISO Image Writer (Linux): checks the image automatically with
SHA256SUMSandSHA256SUMS.gpgwhen both files are in the same folder as the ISO file. On Ubuntu 26.04, install it withsudo apt install isoimagewriter. - Rufus (Windows): a small tool with extra options. Choose DD Image mode if it asks.
balenaEtcher step by step
balenaEtcher is free and open source (Apache 2.0 license). It works the same way on Linux, Windows and macOS. On November 30, 2026, the latest version is 2.1.9, released on October 22, 2026.
Download it from etcher.balena.io, which links to the release page on GitHub. Pick the file for your system:
- Windows: the installer
balenaEtcher-2.1.9 Setup.exe. - macOS: the
.dmgfile,arm64for Apple silicon (M1 and later) orx64for Intel Macs. - Ubuntu, Debian, Linux Mint: the
.debfile. - Fedora, openSUSE: the
.rpmfile.
The Linux downloads are for 64-bit Intel and AMD processors (x86_64). On Ubuntu, Debian or Linux Mint, open a terminal in the folder with the download and run:
sudo apt install ./balena-etcher_2.1.9_amd64.deb
This installs balenaEtcher and the packages it needs. The ./ tells apt to use the local file instead of searching online. On Fedora, the same works with sudo dnf install ./balena-etcher-2.1.9-1.x86_64.rpm. On Arch Linux, the package balena-etcher is in the community-run AUR.
Then start balenaEtcher and follow its three steps:
- Choose the ISO file.
- Choose the target: your USB stick. Compare the name and size with your stick, and make sure it is not a disk inside your computer.
- Click Flash. Your system may ask for your password, because writing to a disk needs administrator rights.
After writing, balenaEtcher reads the stick again to check that every byte was written correctly. Wait until it reports that it has finished, then remove the stick.
Write the stick in a terminal
On Linux, you can also write the stick in a terminal with dd, which is part of every Linux system. Start by finding the name of the stick:
lsblk
This lists your drives with their sizes. Compare the sizes to spot the stick, for example /dev/sdb. Use the name of the whole device, not a partition such as /dev/sdb1.
Many desktops open the stick automatically when you plug it in. Unmount it first, so that no program uses it while you write:
sudo umount /dev/sdb*
This unmounts every partition of the stick. A message that a partition is "not mounted" is no problem.
Warning:
ddoverwrites the device you name without asking. If you choose your hard disk by mistake, all data on it is lost. Check the name twice.
sudo dd if=ubuntu-26.04.1-desktop-amd64.iso of=/dev/sdb bs=4M status=progress conv=fsync
This copies the ISO file byte for byte to the stick. Do not remove the stick until the command has finished and you see the prompt again.
4. Start from the stick
Plug the stick in and restart the computer. During startup, press a key to open the boot menu. Which key depends on the maker: F12, F11, F10, F8 and Esc are common. On a Mac, hold the Option key. Then pick the USB stick from the list.
Back to topHow it works
Modern Linux ISO files are hybrid images. Next to the ISO 9660 file system for DVDs, they carry a partition table and boot code for USB sticks and hard disks. So one file works on both a DVD and a stick. The only condition is that it is written byte for byte, which is exactly what dd and Etcher do. This is also why you write to the whole device: a partition such as /dev/sdb1 starts somewhere inside the disk, so the partition table and boot code would end up in the wrong place.
The options of the dd command above each have a job:
if=is the input file andof=is the output, here the device file of the stick.bs=4Mreads and writes in blocks of 4 MB instead of the default 512 bytes, which makes the copy much faster.status=progressshows how much data has been copied while the command runs.conv=fsyncmakesddwrite all data physically to the stick before it exits. Without it, part of the data can still wait in memory when the prompt returns.
Unlike balenaEtcher, dd does not check the stick after writing. A correct checksum of the ISO file and a stick that starts are your proof that it worked.
There are two ways a computer can start. The older BIOS method reads boot code from the first sector of the disk. Modern machines use UEFI instead, which searches for a FAT partition with a file such as EFI/BOOT/BOOTX64.EFI. A hybrid image includes both, so it starts on old and new hardware.
On most computers, Secure Boot is turned on. It only starts boot loaders that are signed with a trusted key. To work with it, the major distributions ship shim, a small program that Microsoft signs. Shim then checks the distribution's own signed boot loader and kernel. A distribution without a signed shim only starts once you turn off Secure Boot in the firmware settings.
A few problems come up often:
- The stick does not appear in the boot menu. Try another USB port, or turn off Fast Boot in the firmware settings.
- Windows asks to format the stick after writing. This is expected, because Windows cannot read the Linux file system. Click Cancel.
- You want to store files on the stick again. Format it with GNOME Disks or with the Windows Disk Management tool. Delete all partitions first, then create a new one.
If you like to try many distributions, look at Ventoy. You install it on the stick once. After that, you copy several ISO files to the stick as normal files, and Ventoy shows a menu at startup to choose one.
Back to topSources
- Ubuntu tutorial: Create a bootable USB stick on Ubuntu
- Ubuntu Desktop documentation: Create a bootable USB stick
- Ubuntu 26.04.1 LTS release files and checksums
- balenaEtcher on GitHub (installation and license)
- balenaEtcher releases
- Fedora documentation: Creating and using a live installation image
- dd(1) manual page
- Debian: Verifying authenticity of Debian images
