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.
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.
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 withinxi -d
), and replacemyiso
with your iso and its disk location if necessary.wodim -eject -tao speed=2 dev=/dev/sr1 -v -data myiso.iso
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:For more options relating to
wodim
andgrowisofs
, see their respective manpages by enteringman wodim
andman growisofs
.For installation of
growisofs
:For installation of
wodim
:Use the following command to locate your DVD drive:
It will list an output like below (bold emphasis mine):
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:
Replace
/home/$USER/file.iso
with your preferred path.bashburn
is your friend.Currently BashBurn can:
Source
An easy to remember command line:
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.
I came to know that we can use dd also to write.Open your terminal ( CTRL + ALT + T )
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.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:Note that this will replace the
wodim
package withcdrecord
as well as installingcdda2wav
. Then find the appropriate device address for your DVD drive by running:Finally run a commandline like the following (your own device address will be different):
A modern
cdrecord
has no issues with either CD or DVD burning, or Bluray for that matter...References:
You could use Brasero, using command line arguments
I would recommend this nice app for burning disks with ncurse interface...