Linux · How-To
How to Create a Linux Live USB (and Install Linux)
Download the ISO for the distribution you want, write it to an 8 GB-or-larger USB stick with Rufus (Windows), balenaEtcher (Windows/macOS/Linux) or the GNOME Disks utility (Linux), restart and pick the USB drive from your computer's boot menu, choose Try to run Linux live without changing anything, then launch the installer and pick Install alongside for dual boot or Erase disk to replace what's there. The whole thing takes about 20–30 minutes, most of which is the download.
That's the map. The rest of this guide walks each step, points out the ones that can bite you, and gives the commands for the main Linux families where they differ. This is a new guide from Windows Now, which now covers Linux and macOS alongside Windows.
What you need first
- A USB flash drive of 8 GB or larger that you can wipe completely. A USB 3.0 drive is worth using — it's much faster to write and to run live from.
- A working computer to write the drive on (Windows, macOS or another Linux machine).
- A stable internet connection to download the ISO (roughly 2.5–6 GB depending on the distro).
- If you plan to keep your existing operating system, a current backup of anything you care about before you touch partitions.
For a friendly first install, Ubuntu (currently 26.04.1 LTS, "Resolute Raccoon") or Linux Mint are the safe, well-documented choices. Fedora Workstation (currently 44) is a great, modern GNOME desktop. Any of them installs the same way described below — the steps here are distro-agnostic and only the writing tool and package commands differ.
Step 1 — Download and verify the ISO
- Go to the official website of your chosen distribution — for example
ubuntu.com,fedoraproject.org,linuxmint.comordebian.org— and download the desktop ISO for 64-bit x86 (amd64/x86_64), which is what almost every PC and Intel Mac uses. Download only from the project's own site or its listed mirrors. - Verify the download so a corrupted or tampered file can't waste an install. Compare the ISO's
SHA-256 hash against the checksum published on the download page. On Linux or macOS:
On Windows PowerShell:sha256sum ubuntu-26.04.1-desktop-amd64.iso # Linux shasum -a 256 ubuntu-26.04.1-desktop-amd64.iso # macOS
The printed value must match the one on the site exactly. Projects such as Ubuntu, Fedora and Debian also publish GPG-signed checksum files if you want to verify the signature as well.Get-FileHash .\ubuntu-26.04.1-desktop-amd64.iso -Algorithm SHA256
Writing an ISO does not add a file to the USB stick; it overwrites the entire device, destroying everything on it. Double-check that the target you pick is your USB stick and not an external hard drive or, on the command line, your system disk. There is no undo.
Step 2 — Write the ISO to the USB stick
Pick the tool that matches the computer you're writing from. You only need one.
Rufus (Windows only)
- Download Rufus from
rufus.ieand run it (it's a small, free, open-source tool; no installation needed). - Insert the USB stick. Under Device, select it — confirm the size looks right so you don't target the wrong disk.
- Next to Boot selection, click SELECT and choose your ISO.
- Leave the other options at their defaults (Rufus sets an appropriate partition scheme and
GPT/UEFItarget automatically for modern PCs), then click START. - If Rufus detects an ISOHybrid image, keep the default Write in ISO Image mode and click OK. Confirm the "all data will be destroyed" warning to proceed. Canonical's own Create a bootable USB stick on Windows tutorial gives the same two prompts, and notes the Ubuntu ISO is an ISOHybrid image that works as both a DVD and a USB image.
- Wait until the status bar shows READY, then click CLOSE.
balenaEtcher (Windows, macOS, Linux)
- Download balenaEtcher from
etcher.balena.ioand open it. - Click Flash from file and select your ISO.
- Click Select target and choose the USB drive (Etcher hides internal disks by default to protect you).
- Click Flash!, approve the admin prompt, and wait for the write-and-validate to finish.
GNOME Disks (already on many Linux desktops)
- Open Disks (the
gnome-disk-utilitypackage), select the USB drive from the left list — again, confirm the size. - Click the ⋮ menu (top-right) and choose Restore Disk Image….
- Select your
.isofile and click Start Restoring…, then confirm.
Fedora provides Fedora Media Writer, which can download and write Fedora in one go.
If you prefer the terminal on Linux or macOS, dd works, but it is unforgiving — one wrong
letter overwrites the wrong disk. Identify the device with lsblk first, unmount it, then
write to the whole disk (e.g. /dev/sdX), never a partition like
/dev/sdX1:
lsblk # find the USB, e.g. sdb
sudo dd if=path/to/linux.iso of=/dev/sdX bs=4M status=progress oflag=sync
Replace sdX with your real device. Tools like Rufus or Etcher are safer for most people.
Commands run with sudo have full power over your system. dd writing to the
wrong of= target, or a stray rm -rf, will destroy data with no recycle bin and
no confirmation. Read the device name twice before pressing Enter.
Step 3 — Boot the computer from the USB
- Leave the USB stick plugged in and restart the target computer (this can be the same machine you wrote the drive on, or a different one).
- As it powers on, tap the one-time boot-menu key repeatedly. It varies by maker —
common keys are
F12,F10,F9,Escor, on many Macs, hold Option (⌥). If you don't know it, watch the first screen or check the maker's support page. Ubuntu's Install Ubuntu desktop tutorial names the same candidates — F12 first, with F2, Escape and F10 as hardware-dependent alternatives. - In the boot menu, choose the entry for your USB drive. Prefer the one prefixed UEFI if both a UEFI and a legacy entry appear.
- If there's no boot-menu key, enter BIOS/UEFI setup (often
F2orDel), move the USB drive to the top of the boot order, save and exit. On Windows, you can instead go to Settings → System → Recovery → Advanced startup → Use a device.
Enable the boot menu / disable Fast Boot in firmware, try a different USB port (a rear USB 2.0 port can be more reliable than a front hub), and only if it still won't start, temporarily disable Secure Boot. Mainstream distros are signed and normally boot with Secure Boot on, so try it enabled first.
Step 4 — Try the live session
When the distro's menu appears, choose Try (Ubuntu asks "Try or Install"; Fedora boots straight into a live desktop with an Install to Hard Drive icon). The live session runs entirely from the USB and RAM — nothing is written to your internal disk yet. Use it to:
- Confirm Wi-Fi, sound, trackpad, screen resolution and battery are detected.
- Get a feel for the desktop before committing.
- Rescue files from an otherwise unbootable machine.
Nothing you do here persists after a reboot (unless you deliberately set up a persistent drive), so it's completely safe to explore. When you're ready, double-click the Install icon on the desktop.
Step 5 — Run the installer
Installers differ in looks — Ubuntu uses its Flutter-based installer, Fedora uses Anaconda, Mint uses Ubiquity — but the flow is the same. Ubuntu's official desktop install tutorial presents the same two headline disk choices, Erase disk and Install alongside another OS with a slider for how much space each gets, and flags BitLocker-encrypted Windows drives as something to deal with before continuing:
- Pick language, keyboard layout and time zone.
- Connect to Wi-Fi and, if offered, allow updates and third-party media codecs/drivers during install.
- Choose how to use the disk. This is the decision that matters:
- Install alongside (dual boot) — keeps your existing OS and shrinks it to make room; you pick which one to boot each time. Ideal for keeping Windows.
- Erase disk and install — wipes the entire drive and gives Linux all of it. Simplest, but destroys everything currently on that disk.
- Manual / Something else — you create partitions yourself (see below).
- Create your username and password, optionally enable disk encryption, then let it copy files. When it finishes, remove the USB stick and reboot.
Partitioning basics (if you choose Manual)
On a modern UEFI system a typical manual layout is:
| Mount | Size | Filesystem | Purpose |
|---|---|---|---|
/boot/efi (EFI System Partition) | ~500 MB–1 GB | FAT32 | UEFI boot files (reuse the existing ESP when dual-booting) |
/ (root) | 30 GB minimum, more is better | ext4 or Btrfs | The system and your apps |
/home (optional) | Rest of the drive | ext4 or Btrfs | Your personal files, kept separate |
| swap (optional) | Matches guidance for your RAM | swap / swapfile | Paging & hibernation |
When dual-booting, do not reformat the existing EFI System Partition — mount it at
/boot/efi so both systems share it. If you're unsure, the guided Install alongside
option handles all of this for you.
The erase option removes every partition on the selected drive, including any Windows or macOS install and its recovery partitions. On a laptop with a single drive that is your entire computer. Only choose it when you have backups and genuinely want Linux to be the only OS.
After the first boot: updating
Once installed, update the system straight away. The command depends on the distro family:
sudo apt update && sudo apt full-upgrade # Debian, Ubuntu, Mint
sudo dnf upgrade --refresh # Fedora, RHEL family
sudo pacman -Syu # Arch, Manjaro
After that you're running Linux from your disk, and the USB stick is free to reuse or to keep as a rescue tool.
Frequently asked
Which tool should I use to make a Linux live USB?
On Windows, Rufus is the fastest and most reliable choice and is Windows-only. On any platform, balenaEtcher works on Windows, macOS and Linux and keeps things to three clicks. On Linux you can also use the built-in GNOME Disks utility, and Fedora ships Fedora Media Writer. Any of them produces a working live USB; pick the one already on the machine you have.
Will making the USB or trying the live session erase my computer?
Writing the ISO erases the USB stick, not your computer, so make sure you selected the USB device and not an internal disk. The live session runs entirely from the USB in memory and does not change your hard drive until you actually launch the installer and confirm a partitioning choice. You can boot the live session, look around, and shut down with nothing altered.
Do I need to disable Secure Boot to install Linux?
Usually no. Mainstream distributions such as Ubuntu and Fedora are signed and boot with Secure Boot enabled. If the USB will not start, or you install third-party or proprietary drivers that are not signed, you may need to disable Secure Boot in your UEFI firmware settings. Turn it back on afterwards if you prefer.
How big does the USB drive need to be?
An 8 GB stick is enough for almost every current desktop distribution; 16 GB gives you headroom. Writing the ISO wipes the drive completely, so back up anything on it first. A reasonably fast USB 3.0 drive makes both the write and the live session noticeably quicker.
This is part of the Windows Now Linux section. Browse all Linux guides, or head back to the Windows Now home page. New to the terminal next? Keep exploring the Linux hub for distro-specific how-tos.