Create A Bootable USB Drive From An ISO Image Using dd Command On Linux
Now a day’s most of us don’t use
DVD drivers to burn & install OS, then what is the other option?
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.
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.
Fedora system, use DNF Command to install isohybrid.
$ sudo dnf install syslinux
$ sudo apt install syslinux
Arch Linux based systems, use Pacman Command to install isohybrid.
$ sudo pacman -S syslinux
RHEL/CentOS systems, use YUM Command to install isohybrid.
$ sudo yum install syslinux
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
$ 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
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.