How to create a bootable USB drive for installing Linux
Creating a bootable USB drive is a reliable way to install Linux on a PC or test a distribution without changing your current system. This guide walks you through the practical steps, from choosing an ISO to safely ejecting the drive, with clear actions and reasoning so you can proceed confidently.
Step 1: Pick a Linux ISO
Choose the distribution and version you want to install and download the matching ISO file. Verify the download size (usually 1–4 GB) and optional checksum (SHA256) to ensure the file is complete and untampered.
[Illustration: computer screen showing a Linux distribution download page and a file size indicator]
Step 2: Select a USB drive
Use a 4 GB or larger USB flash drive for minimal desktop ISOs and 8 GB or larger for full installer images; USB 3.0 is faster but 2.0 works. Back up any files on the drive because the process will erase all data.
[Illustration: USB flash drive next to a backup folder and a storage capacity label (8 GB+)]
Step 3: Choose a creation tool
Pick a reliable tool: Rufus on Windows, balenaEtcher on Windows/macOS/Linux, or the dd command on Linux/macOS for advanced users. Consider GUI tools for ease and dd for control and universality.
[Illustration: icons for Rufus, balenaEtcher, and a terminal window with dd command]
Step 4: Prepare the USB drive
Plug the USB into your computer, then open your chosen tool. In Rufus or Etcher select the ISO and target USB; with dd identify the device path (e.g., /dev/sdb) using lsblk. Ensuring the correct device path prevents accidental data loss on other drives.
[Illustration: application window showing ISO selection and a highlighted USB device in a device list]
Step 5: Write the ISO to USB
Start the write process: expect 5–30 minutes depending on USB speed and ISO size. For GUI tools click Flash or Start; for dd use sudo dd if=/path/to.iso of=/dev/sdX bs=4M status=progress && sync. Wait for the tool to finish and confirm completion messages.
[Illustration: progress bar at 60% on a flashing tool and terminal showing dd progress output]
Step 6: Safely eject the drive
Once writing finishes, unmount or eject the USB from the OS to flush caches—use the eject option or run sudo eject /dev/sdX on Linux. Waiting 10–30 seconds after completion reduces the risk of corruption.
[Illustration: notification bubble saying 'Safe to remove' and a user clicking 'Eject' on a USB drive icon]
Step 7: Test boot on target machine
Insert the USB into the target PC, enter the boot menu (often F12, Esc, F10) and select the USB device; try the live session or start installation. If it doesn't boot, confirm BIOS/UEFI settings: enable USB boot, set UEFI/Legacy mode correctly, and disable Secure Boot if required.
[Illustration: PC boot menu on screen listing USB device with cursor highlighting it]
- Verify ISO checksums using sha256sum or a GUI checksum tool before writing to avoid corrupted installs.
- Use a USB 3.0 port and a USB 3.0 drive for faster write and boot times; expect 2–3 GB/s theoretical but real speeds often 20–200 MB/s.
- Keep a spare 16 GB drive handy so you can create recovery media or multiple installers without reformatting.
- Label the USB drive with the distro name and version and the date to avoid confusion later.
- If using dd, use bs=4M and run sync afterward to ensure all data is written to the device.
- Consider using persistent storage options (when supported) if you want to save files and settings across live sessions.
- Writing the ISO will erase all data on the USB drive — back up important files first.
- Selecting the wrong device with dd can erase your internal hard drive; double-check device names (e.g., /dev/sdb vs /dev/sda).
- Disabling Secure Boot can reduce OS security; only disable it if your chosen distribution requires it and you understand the tradeoffs.
- Do not remove the USB during the write process or immediately after completion; this can corrupt the installer and require restarting the process.
Was this guide helpful?
More Computers & Electronics guides
How to set up Git, create a repository, and commit code locally
Setting up Git and committing code locally is a small, reliable skill that pays off immediately. In about 10–20 minutes you can install Git, create a repository, and make your first commits so your work is tracked and easy to manage. Follow these clear steps to get a solid local workflow going.
How to migrate email from one provider to another without losing folders or contacts
Migrating email between providers can feel risky, but with a plan you can preserve folders, labels, and contacts while minimizing downtime. This guide walks you through a careful, step-by-step transfer you can complete in a few hours to a couple days depending on mailbox size. Follow the checklist and you’ll keep structure and address data intact.
How to clean dust and replace a laptop fan to fix overheating and throttling
Overheating and CPU/GPU throttling are often caused by dust buildup or a failing fan. This guide walks you through safely cleaning dust and replacing a laptop fan to restore cooling performance and reduce temperature spikes. Read through all steps, gather basic tools, and work in a well-lit, static-safe area.