How to Flash/burn an OS Image with Etcher on Ubuntu

Etcher, now named balenaEtcher, is a free and open-source application used for burning ISO and IMG files, and also zipped folders to USB drives and SD cards. This tool is available for Linux, Windows and macOS and that too with the same UI so that you get the same user experience everywhere. So, whenever you want to burn a flash drive or even a microSD card, you can rely on Etcher as your go-to tool. We have tried to explain a step-by-step process for installing and using Etcher so that the USB burning/flashing process becomes even simpler for you. We are taking the Ubuntu 18.04 LTS ISO file as an example, downloaded from the Internet, to describe the entire process for you.

We have run the commands and procedures mentioned in this article on a Ubuntu 18.04 LTS system.

Please follow these steps in order to easily write an ISO image to a flash/USB drive:

Step 1: Download the Etcher .zip file

The Etcher download package is available on the official Balena website at this link:

Download Etcher

The website provides App images for both 64-bit and 32-bit flavors of Ubuntu.

You can use the lscpu command in order to check your flavor of Linux. It fetches details from the files sysfs and /proc/cpuinfo:

$ lscpu

This command will display the following output:

lscpu result

The CPU op-mode(s) entry tells you about the flavor of Ubuntu you are running on your system; 32-bit means you are running a 32-bit Linux OS, 32-bit, 64-bit signifies that you are running a 64-bit OS.

Since mine is a 64-bit system, I will click on the ‘Download for Linux x64’ link. The following dialog will display:

Save file

Select the Save File option and then click OK. The .zip package will be saved to your Downloads folder.

Step 2: Extract AppImage from the downloaded .zip file

The Etcher package that we just downloaded is in .zip format. We now need to extract the AppImage file so that we can install and use the software.

Open your Ubuntu command line, the Terminal, either through the Ubuntu Application Launcher search or by using the Ctrl+Alt+t shortcut.

Then, use the following unzip command to extract the AppImage file to your current(home) folder from the Downloads folder:

$ unzip ~/Downloads/

Extract zip file

Use the ls command to verify that the AppImage file is now located in your current directory.

Step 3: Run the Etcher AppImage

You can now easily run Etcher by executing its AppImage. You can do so through the following command:

$ ./balenaEtcher-1.5.47-x64.AppImage

This will open the Etcher application in the following view:

Run Etcher

Note: Whenever you want to uninstall Etcher from your system, simply delete this AppImage. You do not need to run any other download procedures with AppImages.

Step 4: Flashing an ISO file

Click on the Select image button; this lets you browse to the ISO image you want to select for writing. I have selected Ubuntu 18.04 ISO image downloaded from the official Ubuntu website.

Burn iso file

Now you will see the Select target button highlighted. Insert a USB drive; if a single device is connected to your system, you will see it selected as follows:

Flash file

Otherwise, you will be given an option to select from the available devices. You will then see the Flash button highlighted. Click on it so that Etcher starts to write the ISO file on the USB. You will also be presented with an Authentication dialog as only an authorized user can Flash a USB.

The writing process will start and you will be able to see a progress bar as follows:

Validating file

On successful completion of image writing, you will be able to see the following view:

Flashing complete

Close the window and your process is complete!

This is how you can make use of this efficient flashing tool to write OS images on your USB and also microSD cards. The process is pretty much the same when writing images on an SD card.