In Linux, creating bootable USB drives has become easier than ever. It is possible to create bootable drives using a variety of command-line and graphical tools. One such tool is BalenaEtcher, also known as Etcher. The purpose of this guide is to explain what an Etcher is and how to use it to create bootable USB drives and SD cards. This guide will provide step-by-step instructions for creating a bootable USB drive with Etcher in Linux.
What is an Etcher?
Etcher is a tool used to write image files such as.img,.iso, and zip folders to create bootable USB flash drives. Before its creation, writing images to SD cards and other removable storage devices was difficult. Etcher has made the process much simpler and more user-friendly.
Etcher, also known as BalenaEtcher, is a programme that writes images to USB flash drives and SD cards. It supports three major platforms: Linux, macOS, and Windows.
Directly run Etcher through the app image.
The easiest way to install Etcher on your Linux system is to download the AppImage file. Once you have downloaded the file, you can simply run it to begin using Etcher.
To begin using Etcher, follow these steps:
- Download the ZIP file and extract it to access the Etcher AppImage.
- Right-click on the AppImage file and select Properties.
- On the Permissions tab, check the box next to “Allow executing files as programs.”
- Close the window.
- Launch Etcher by double-clicking the AppImage file.
You can also assign executable permissions to the file using the chmod command.
sudo chmod +x./balenaEtcher.AppImage
In the command above, provide the exact name of the AppImage file.
Install Etcher using the terminal
Alternatively, if you are unable to run Etcher from the AppImage, you can use a package manager to install it via the command line.
To do this, you will need to add the Etcher repository using cURL. The following commands will add the repository and install Etcher on a Debian-based distribution such as Ubuntu:
curl https://dl.cloudsmith.io/public/balena/etcher/setup.deb.sh | sudo -E bash sudo apt update sudo apt install balena-etcher-electron
For RHEL-based distributions like CentOS and Fedora, you will need to add the Etcher RPM repository and then install the package using a package manager like DNF or Yum.
curl https://dl.cloudsmith.io/public/balena/etcher/setup.rpm.sh | sudo -E bash sudo dnf update sudo dnf install -y balena-etcher-electronsudo yum update sudo yum install -y balena-etcher-electron
On Arch Linux, you can install Etcher directly using Yay, as it is available in the Arch User Repository:
Yay, S. Balena-Etcher
Once you have added the repository and installed Etcher, you will be able to launch it and begin using it to create bootable USB drives and SD cards.
A guide to creating a bootable USB drive with Etcher
Etcher is a simple, user-friendly tool that allows you to easily write image files to USB drives and SD cards. To use Etcher, you will need to fulfil a few prerequisites and follow three steps.
Prerequisites
- Download the image file.
- A USB drive with a minimum capacity of 32GB or 64GB
- An image file in one of the supported formats: ISO, IMG, or ZIP
Using Etcher, flash the image file.
When you have everything ready, connect the storage device to your computer and launch Etcher. You can flash your storage device with the image file by following the steps below.
- Navigate to the image file you wish to flash and click on the “Flash from file” button below the + icon.
- When you click the “Select target” button, Etcher will automatically detect and highlight all removable media on your computer.
- To proceed, click on your drive and then click “Select.” To begin flashing, click the “Flash” button.
- If prompted, please enter a password and click “Authenticate.”.