How do I burn a DVD ISO using the terminal?

I have a DVD ISO file and I want to burn through the terminal.

We have many command formats but I am unable to choose the best & safe one. so please give me a best command to burn the ISO through the terminal.

Here is Solutions:

We have many solutions to this problem, But we recommend you to use the first solution because it is tested & true solution that will 100% work for you.

Solution 1

There are several ways to do this, but here are just two ways that I use regularly. Please replace /dev/sr1 with the device identifier of your target drive (find out what it is with inxi -d), and replace myiso with your iso and its disk location if necessary.

  1. wodim -eject -tao speed=2 dev=/dev/sr1 -v -data myiso.iso

  2. growisofs -dvd-compat -Z /dev/sr1=myiso.iso

More information about the read and write capabilities of your drive can be found with the following command, again substituting my example /dev with your device identifier:

wodim -prcap dev=/dev/sr1

For more options relating to wodim and growisofs, see their respective manpages by entering man wodim and man growisofs.

For installation of growisofs :

sudo apt install growisofs

For installation of wodim :

sudo apt install wodim

Solution 2

Use the following command to locate your DVD drive:

wodim --devices

It will list an output like below (bold emphasis mine):

    wodim: Overview of accessible drives (1 found) :
     0  dev='/dev/sg1' rwrw-- : 'TSSTcorp' 'CDDVDW SH-S223F'

From the above output, we can determine the drive location. In this case, /dev/sg1 is the drive location.

Now, to burn the ISO, you can use the following command:

wodim -v dev=/dev/sg1 speed=10 -eject /home/$USER/file.iso

Replace /home/$USER/file.iso with your preferred path.

Solution 3

bashburn is your friend.

sudo apt-add-repository universe
sudo apt-get update
sudo apt-get install bashburn

enter image description here

Currently BashBurn can:

  • Burn data CDs/DVDs (Including CDRWs)
  • Burn music CDs
  • Burn CD/DVD-images
  • Rip data/music CDs
  • Manipulate ISO-files
  • and probably more…


Solution 4

An easy to remember command line:

wodim CD.iso

It will use some defaults and try to guess your drive, which is fine in most cases.

That way you only need to set other options, like speed, if you really need to.

Solution 5

I came to know that we can use dd also to write.Open your terminal ( CTRL + ALT + T )

dd if=/path/image.iso of=/dev/cdrom1

if– Input File, path where you have the image.iso.
of– Output File, where this file have to sent .

If you are trying to burn DVDs using dd, then you have to follow below command line.

growisofs -dvd-compat -Z /dev/dvd=/path/image.iso

Solution 6

Another possibility is to replace wodim with Jorg Schilling’s cdrecord from Brandon Snider’s PPA. This has often solved odd burning problems for me and has been tested extensively under my Trusty Tahr installation. First add the repository:

sudo add-apt-repository ppa:brandonsnider/cdrtools

Note that this will replace the wodim package with cdrecord as well as installing cdda2wav. Then find the appropriate device address for your DVD drive by running:

cdrecord --scanbus

Finally run a commandline like the following (your own device address will be different):

cdrecord -v dev=0,0,0 -speed 8 driveropts=burnfree fs=32m -eject my_distro.iso

A modern cdrecord has no issues with either CD or DVD burning, or Bluray for that matter…


Solution 7

You could use Brasero, using command line arguments

brasero --help

Solution 8


I would recommend this nice app for burning disks with ncurse interface…

::: cdw 0.8.0 ::: ScreenShot

Note: Use and implement solution 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from or, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply