Arduino (1) Brainf**k (1) Bugs (3) C (1) HTML (1) Install (3) Linux (27) Maths (1) Python (12) Raspberry Pi (4)

Saturday, 4 July 2015

How to burn an ISO to CD or DVD using Wodim

Wodim is a command line tool for burning ISO files to disks.

Step 1:
Locate you CD/DVD writer.
wodim --devices
matty@matty-ThinkPad-T420 ~ $ wodim --devices 
wodim: Overview of accessible drives (1 found) :
 0  dev='/dev/sg1' rwrw-- : 'MATSHITA' 'DVD-RAM UJ8A0A'

As you can see here my devices is /dev/sg1.

Step 2: 
If your CD/DVD is blank then skip this step but if its not then erase the disk.
wodim dev=/dev/sg1 blank=fast

Step 3:
Burn your ISO image to the CD/DVD.

wodim -v dev=/dev/sg1 speed=10 -eject "path-to-iso"

This could take a while so be patient.