Linux Tutorials

How To Burn ISO Image To DVD And USB Using dd

How To Burn ISO Image To DVD And USB Using dd

As a Linux enthusiast and a distro hopper, I am always checking out new distros or newly released distros I already know about. There are a few handy tools available on Linux for writing ISO images to disks or USBs. Some of these tools include Unetbootin and Etcher amongst others.  

Most of these tools use a GUI that can guide users to easily write their downloaded ISO images to disks or USB storage devices. Then also, there is dd, which is a command line utility that can be used to accomplish the same task from the terminal. So how does one go about using dd to write a downloaded ISO image to a DVD or USB? Let’s take a look at the few steps it takes to accomplish the task.  

Procedure

To write an ISO image file to a drive involves a few simple steps. Please know that using dd to write an ISO to a disk can be devastating if you are not careful. Even though the steps below are straightforward, I recommend that if you are in any way not comfortable with the terminal, go in for Etcher or Rufus on Windows. Now let’s go ahead and use dd to write to a USB.  

1 – Find out the storage devices already attached to your PC

The first step is to identify the storage devices (apart from your target device) that are already attached to your PC. This is to ensure that you make no error in selecting your target disk as such an error can cause you to lose all your data on your hard disk. Run the following command –

ls /dev/sd* 
burn usb
burn usb

As you can see from the output above, these are the drives that I DO NOT want to write my ISO file to.  

2 – Insert your target USB and locate its location

Now insert your target storage device and rerun the above command –

ls /dev/sd* 
burn usb
burn usb

From the output above, we can see some two new entries /dev/sdb /dev/sdb1 which represent our new device and its only partition. In this case, /dev/sdb represents the target device we wish to write our ISO to.  

3 – Navigate to the location of your source ISO

Now that we know our target device location, we will have to navigate to the folder that contains our source ISO. So we go to Downloads in our case.

burn usb
burn usb

4 – Run dd command to copy files from ISO to disk

The last thing to do is to finally use the dd command to write the ISO image to the target device. Please note that dd will delete all files from your target device. Run the command as below –

sudo dd if=archlinux-2017.iso of=/dev/sdb 
burn usb
burn usb

Depending on the size of the ISO, it is going to take a while for the process to complete. Do not panic as dd does not show any progress feedback so just wait patiently.  

Conclusion

This is a simple tutorial on how to use dd to write an ISO image to a DVD or USB drive. Once again, you can use ImageWriter, Etcher or any other available tool on Linux if you are not comfortable with the Linux terminal. I hope you find it useful. Thanks for reading and kindly share your thoughts with us in the comments section below.

3 comments

Wolfcut July 6, 2019 at 5:08 pm

Timestamp on your comment says ‘August 5, 2019 at 4:19 pm’, hope this message is really from future.

Reply
sandy July 6, 2019 at 5:20 pm

Hi Wolfcut,

The previous host messed it all up. So yeah it is funny. There are many comments that are from far future, 2021. LOL

Reply
Kirollos Adel May 7, 2020 at 7:55 pm

Hi,
Can I use dd to replicate the same steps above but instead of formatting the whole disk sdb, use only a single partition sdbx (for example sudo dd if=archlinux-2017.iso of=/dev/sdb1 )
Because all my USB sticks are fried and all that I’ve got left is an external HDD and I don’t want to format 500GB worth of data…
Thanks in advance…

Reply

Leave a Comment

* By using this form you agree with the storage and handling of your data by this website.

This website uses cookies to improve your experience. We'll assume you're ok with this. Thank you! Accept Read More