The purpose of this tutorial is to show how to burn an ISO file to a USB drive. USB drives have recently overtaken CDs and DVDs as the primary media of physically distributed software. It is now a common task for system administrators and normal users to install operating systems and software via USB.
When you download a Linux distro, chances are that it will come as an ISO file and you will need to burn it to USB in order to install Linux on a computer. This allows you to boot directly into the Linux installer. Similarly, we can also put other software on the USB drive, assuming that the installer is distributed as an ISO file.
In this tutorial you will learn:
- How to burn ISO to USB from Linux command line
- How to install Gnome Multi Writer
- How to burn ISO to USB from Linux GUI
|Category||Requirements, Conventions or Software Version Used|
|System||Any Linux distro|
|Software||dd, GNOME Multi Writer|
|Other||Privileged access to your Linux system as root or via the
# – requires given linux commands to be executed with root privileges either directly as a root user or by use of
$ – requires given linux commands to be executed as a regular non-privileged user
Burn ISO to USB from Linux command line
The only two things you will need in order to get started are an ISO file and a USB stick. In case you are planning on installing Linux and do not already have a Linux ISO handy, see our Linux download page.
- Make sure your USB drive is plugged in. Then, open a terminal and use the following command to see what device name Linux has given to your USB stick:
$ sudo fdisk -l
In the screenshot above, you can see that our flash drive’s device is labelled
/dev/sdb. Take note of whatever yours is labelled (it should be very similar, but maybe contain a different letter); we’ll need this in a moment.
- Now, we can use the following
ddcommand to burn the ISO file to our USB stick:
$ sudo dd bs=4M if=/path/to/file.iso of=/dev/sdX status=progress oflag=sync
Of course, replace
/path/to/file.isowith the path to your ISO file, and replace
/dev/sdXwith the name of your device.
ddwill now copy the contents of the ISO file over to your USB stick. When it’s done, you’re ready to use the USB drive as Linux installation media or a software installer.
Burn ISO to USB from Linux GUI
To burn an ISO to USB via Linux’s graphical interface, there are a plethora of tools available in your operating system’s software manager which would be suitable for the job. The one we will be using is called GNOME Multi Writer and can be obtained on all major Linux distros.
You can use the appropriate command below to install rsync with your system’s package manager.
$ sudo apt install gnome-multi-writer
$ sudo dnf install gnome-multi-writer
$ sudo pacman -S gnome-multi-writer
- Plug in your USB drive and open GNOME Multi Writer. Start by clicking on the “Start Copying” button.
- Next, locate your ISO file and import it.
- Finally, let GNOME Multi Writer burn your ISO file to the USB.
In this tutorial, we saw how to burn an ISO file to a USB drive on a Linux system. With most computers no longer coming with a disc drive, it is important that users learn how to use USB drives for installation of their ISO files. You now saw how to do this via command line and GUI and can choose whichever method is easiest for you. Also feel free to use any USB burner GUI, as there are many options available.