Quick Tips: How To Burn ISO Image via Command Line with Wodim in Ubuntu

burn iso image via command line in ubuntu

This guide explains how to burn ISO Image via command Line in Ubuntu using little program command line based called Wodim.  Wodim is a command line tool that makes burning iso files to CD/DVD easy.

Follow these instructions will help you to install wodim and burn a disc using wodim:

Open terminal and Install wodim with the command:

sudo apt-get install wodim

Locate your cdrom drives location with following command:

wodim --devices

Command above should give output like the following:

neostream@ubuntuportal:~/Desktop$ wodim --devices
wodim: Overview of accessible drives (1 found) :
 0 dev='/dev/sg2' rwrw-- : 'ASUS' 'DRW-2014S1T'

Using the output from above identify your drive location. In this example it would be /dev/sg2, Insert a CD/DVD blank into your CD/DVD burner, then burn ISO image with following command:

wodim -v dev=/dev/sg2 speed=10 -eject /home/neostream/iso/ubuntu-12.04-beta2-desktop-i386.iso

If you want to burn to CD/DVD-RW disc, you can erase it first with this command:

wodim dev=/dev/sg2 blank=fast

You may also like...