Whether you are installing a new linux distro or trying a new live one, you need to create a bootable USB stick. Windows and MacOS are well supported by a variety of software, but we Linux users have a built-in command line dd and a separate download and run Etcher.
I recommend Etcher to those who are not used to using the Linux command prompt. In this article, I will go through both options.
dd is a command line utility for Unix and Unix-like operating systems whose primary purpose is to convert and copy files. In Unix, hardware, device drivers, and special device files appear in the file system like regular files.
A very dangerous program in the wrong hands, but an effective guy if you know what to do.
First you need to find out the path of the USB stick. You need root / sudo privileges to see more detailed information about the disks in use.
The USB flash drive uses the path
/dev/sda. The command below checks that the file exists and copies it to a USB flash drive.
In the example command, Linux distro is loaded into the
user's directory of the active user and is named
manjaro-xface-21.0.7-210614-linux510.iso. The abbreviation
bs stands for
blocksize, with a recommended value of
4M. Increasing the value speeds up the process, but can also result in a non-functioning result. On newer systems, it is possible to use the additional
status option. It shows, surprise surprise, process status.
The process may take about ten minutes, depending on the size and content of the file.
cd ~/Downloads dd if=manjaro-xface-21.0.7-210614-linux510.iso of=/dev/sda bs=4M status=progress
The bootable USB flash drive is ready! No internet connection or new applications are required on the machine.
Bootable USB flash drive with Etcher
Was it difficult or what? Fortunately, Balena now offers a very easy-to-use installation software called Etcher for all major platforms.
- Download the software from the link above
- Two icons, first one for the file and second for the path where to install
- Flash it!
When Etcher announces that the installation is complete, you can safely remove the USB stick or reboot the computer and boot from the memory stick.