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 with inxi -d
), and replace myiso
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:
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