Linux

Create a Bootable USB Drive Using dd Command on Linux

Bootable USB creation

As a server administrator who wants to run an operating system directly or install a new operating system, you will need a bootable USB drive. And as you know the CLI is more powerful than the GUI, so we can achieve this with the dd command. In Windows systems, we have applications to use (my personal favorite is Rufus). For how this can be done in windows, see this guide on how to create a bootable USB using Rufus on Windows.

Linux dd command

The ‘dd’ Command

dd means data duplicator, and it is used to convert and copy files. It is a versatile tool that can be used for many purposes, such as cloning data from one disk or partition to another. Furthermore, disk backup and restore, converting data formats, etc. This powerful utility can also be employed when it comes to creating a Bootable USB Drive Using dd Command.

However, The dd command is preinstalled on most Linux distributions. Moreover, To make a Bootable USB Drive Using dd Command, follow the steps below.

lsblk
USB drive imaging
lsblk (list block) command is used to display details about block devices and these block devices

From the above command, the USB has not been inserted. insert the USB and try again.

Linux system installation
The inserted USB can be seen as sdb above
mkfs.vfat -I /dev/sdb ----> Format the USB drive

Run the dd command to make the usb drive bootable

dd if=/path/to/isofile of=/dev/sdb status=progress  --------> Make sure you are root or you have sudo privileges

I hope you found this blog post helpful. Please let me know in the comment session if you have any questions.

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x