To create a bootable USB flash drive from an ISO file on Linux is very easy, and no special software needs to be installed.
We will be making use of the utility named
dd is used to copy files while converting data.
- The first and important thing is to make sure the USB flash drive is not mounted. This can be verified using
lsblk. If it displays a mount point, the device is mounted and need to be unmounted:
- You can now copy the content of the ISO file onto the USB flash drive:
sudo dd bs=4M if=/path/to/file.iso of=/dev/sdb
Change the /path/to/file.iso portion to the actual file name, and the /dev/sdb to the name of the USB flash device as returned by
syncto synchronize the write cache before removing the device.
You can now boot from the USB flash device.