Create A Bootable USB Drive From A Linux ISO Image - PragmaticLinux
Create A Bootable USB Drive From A Linux ISO Image - PragmaticLinux
Create A Bootable USB Drive From A Linux ISO Image - PragmaticLinux
pragmaticlinux.com
8-10 minutes
Background
1 of 9 11/13/21, 2:33 PM
Create a bootable USB drive from a Linux ISO im... about:reader?url=https://www.pragmaticlinux.co...
In this article, I’ll explain how you can create a bootable USB
drive from a Linux ISO image. To cover all bases, I’ll present
two different methods: One where we just use graphical user
interface programs and one where we do everything directly
in the terminal.
2 of 9 11/13/21, 2:33 PM
Create a bootable USB drive from a Linux ISO im... about:reader?url=https://www.pragmaticlinux.co...
The first method, where we’ll just use graphical user interface
programs, builds on Balena Etcher. It’s a free and open
source application that makes writing ISO images to a USB
drive a breeze. Note that you can even use it to write
operating system images to an SD-card. Especially handy for
those that work with Raspberry PIs. The article about
installing a minimal Raspberry PI operating system explains
3 of 9 11/13/21, 2:33 PM
Create a bootable USB drive from a Linux ISO im... about:reader?url=https://www.pragmaticlinux.co...
Make sure you plugged the USB drive into your PC at this
point. Next, start Balena Etcher. You can find its launcher in
your desktop environment’s application menu. To create a
bootable USB drive from a Linux ISO image, perform these
steps:
1. Select Flash from file and select your Linux ISO image in the
file open dialog.
4 of 9 11/13/21, 2:33 PM
Create a bootable USB drive from a Linux ISO im... about:reader?url=https://www.pragmaticlinux.co...
2. Click the Select target button and pick your USB drive from
the list of available drives.
3. To start writing the ISO file to the USB drive, click the Flash!
button.
In case you get an error dialog stating that the process ended
unexpectedly, simply try again. This probably meant that the
USB drive was still mounted. On the second try it should
work.
5 of 9 11/13/21, 2:33 PM
Create a bootable USB drive from a Linux ISO im... about:reader?url=https://www.pragmaticlinux.co...
When using the dd program to write the ISO file to the USB
drive, it is extremely important that you select the correct
device name. So as a first step, we need to identify the
device name. Make sure you plugged the USB drive into your
PC at this point. Next, open the terminal and run this
command to list all disk drives known to your Linux system:
If your Linux system lists multiple drives and you are not sure
which one is your USB drive, simply do the following:
6 of 9 11/13/21, 2:33 PM
Create a bootable USB drive from a Linux ISO im... about:reader?url=https://www.pragmaticlinux.co...
4. Now that you know which one was your USB drive, plug it
back in.
7 of 9 11/13/21, 2:33 PM
Create a bootable USB drive from a Linux ISO im... about:reader?url=https://www.pragmaticlinux.co...
The syntax for writing an ISO file to the USB drive with dd :
Replace [ISO FILE] with the actual full path to the ISO file
and [DEVICE NAME] with the device name of your USB
drive. In my case, I ran this command from the
~/Downloads directory, where the ISO file is located:
sudo dd if=ubuntu-budgie-20.04.2.0-desktop-
amd64.iso of=/dev/sdb bs=4M conv=fdatasync
status=progress
Wrap up
While working your way through this article, you learned two
methods for creating a bootable USB drive from a Linux ISO
image:
8 of 9 11/13/21, 2:33 PM
Create a bootable USB drive from a Linux ISO im... about:reader?url=https://www.pragmaticlinux.co...
9 of 9 11/13/21, 2:33 PM