How to create a bootable USB flash drive from an ISO file in linux

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. dd is used to copy files while converting data.

  1. 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:

  2. 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 lsblk.
  3. Run sync to synchronize the write cache before removing the device.

You can now boot from the USB flash device.

Leave a Reply

Your email address will not be published. Required fields are marked *