Create a bootable Linux USB is a the first step to install or try Linux on your computer. This simple guide will help you create a bootable USB using different tools, from command-line utilities like dd
to GUI applications. Let’s create Bootable Linux USB.
Create Bootable Linux USB Using the dd
Command
The dd
command is a powerful tool to create a bootable USB. Just follow these steps:
- Insert the USB Drive
- Plug your USB drive into your computer.
- Identify the USB drive using the
lsblk
command (Linux) ordiskutil list
(macOS).
- Backup Your USB Data
- This process erases everything on the USB. Save important files elsewhere.
- Run the
dd
Command- Open a terminal and type:
sudo dd if=/path/to/linux.iso of=/dev/sdX bs=4M status=progress
Replace/path/to/linux.iso
with the ISO file path and/dev/sdX
with your USB drive location (e.g.,/dev/sdb
).
- Open a terminal and type:
- Wait for the Process to Finish
- Once completed, safely eject the USB
Using GUI Applications
Using the GUI (graphical User Interface) is the safest way to create a bootable USB
1. Etcher (Cross-Platform)
- Download Etcher for your operating system.
- Open the app, select your ISO file, choose the USB drive, and click “Flash.”
- Wait for the process to complete.
2. Rufus (Windows)
- Download Rufus and open it.
- Insert the USB and select your ISO file.
- Choose “Write in ISO Image Mode” for compatibility.
- Click “Start” and wait.
3. Raspberry Pi Imager
- Download RPI Imager
- Select no filtering for the Rasbperry devices
- Select
use custom
to choose the ISO file - Select your storage device
- Click “Next”
Common Troubleshooting Tips
- USB Won’t Boot:
- Ensure your computer’s BIOS/UEFI is set to boot from USB.
- Try recreating the bootable USB.
- ISO File Corruption:
- Verify the ISO checksum using
sha256sum
to ensure it’s downloaded correctly.
- Verify the ISO checksum using
- Permission Denied Errors:
- Run commands or applications as an administrator.