Burning CD/DVD in Linux through the console using wodim

The wodim installation command in Ubuntu/Debian:

sudo apt-get install wodim

In CentOS:

sudo yum install wodim

View available writers:

wodim -devices

Erasing a rewritable disc:

sudo umount /media/scd0
sudo wodim dev=/dev/scd0 blank=fast

Create an iso directory image:

mkisofs -o image.iso ./dir

Write the iso image to disk:

wodim -eject -tao speed=16 dev=/dev/scd0 -v -data /home/user/image.iso

I will describe possible wodim startup keys:
-v (-verbose) – a detailed output of information about the recording process;
-dao – record a disc in Disc-At-Once mode, after which nothing can be added to the disc;
speed=16 – write speed of the disc;
dev=/dev/scd0 – path to the writing device;
image.iso – iso image

Leave a comment

Leave a Reply