Create A Bootable USB Drive From An ISO Image Using dd Command On Linux

Now a day’s most of us don’t use CD or DVD drivers to burn & install OS, then what is the other option?

USB or Memory Card Which is very handy and good option to create a bootable ISO image.

Lot of applications is available in Linux to Create a bootable USB drive from an ISO image but we can make it easily using dd command without headache.

dd stands for Data Duplicator which is used to convert and copy a file block by block from one device to another device.

We had already written few articles about this kind of topics in our website. To access this, navigate to the appropriate link. Those are Etcher, BootISO and USB Installer.

How To Install isohybrid Tool In Linux

isohybrid package is part of the syslinux package. So, use your distribution official manager to install syslinux package on Linux.

For Fedora system, use DNF Command to install isohybrid.

$ sudo dnf install syslinux

For Debian/Ubuntu systems, use APT-GET Command or APT Command to install isohybrid.

$ sudo apt install syslinux

For Arch Linux based systems, use Pacman Command to install isohybrid.

$ sudo pacman -S syslinux

For RHEL/CentOS systems, use YUM Command to install isohybrid.

$ sudo yum install syslinux

For openSUSE Leap system, use Zypper Command to install isohybrid.

$ sudo zypper install syslinux

How To Install dd Command On Linux?

You don’t need to install dd command in Linux system because it has installed by default as part of core utility.

Run the following command to convert an ISO image into USB drive compatible format.

# isohybrid /path/to/image.iso

First, we need to identify the USB device name by running the fdisk -l command on terminal before perform dd command. In my case our USB device name is /dev/sdb1

$ sudo fdisk –l
/dev/sdb1        15G  3.2G   12G  22% /media/daygeek/UUI

Run The Following Command To Create A Bootable USB Disk In Linux Using dd Command

Use dd command to write the ISO image into the disk. No need to format the USB Device, while using dd command it will automatically overwrite with new content.

$ sudo dd if=/path/to/image.iso of=/dev/sdb bs=4M && sync
377+1 records in
377+1 records out
1581383680 bytes (1.6 GB) copied, 62.0783 s, 25.5 MB/s

The Details Are Follow:

  • dd: It’s a command.
  • if: Input file (Mention the location of ISO image file).
  • of: Output file (where to write the ISO file, Make sure you have to give you the correct USB device location).
  • bs: Read and Write up to BYTES bytes at a time (default: 512); overrides ibs and obs.
  • sync: Pad every input block with NULs to ibs-size; when used with block or unblock, pad with spaces rather than NULs.

Enjoy…)

Magesh Maruthamuthu

Love to play with all Linux distribution

You may also like...

%d bloggers like this: