Writing an iso file to a CD-R/DVD-R from Linux Terminal

Ever wondered if there’s a quick and easy way to write an iso file to a CD-R/DVD-R ? Don’t want to open K3B or Brasero ? Here’s a handy way of writing the iso file.

First, switch to root using su

Next, type
cdrecord -scanbus

You’ll get something like this:

0,0,0      0) 'TSSTcorp' 'DVD+-RW TS-L632H' 'D200' Removable CD-ROM
0,1,0      1) *

Note the first 3 numbers corresponding to your CD/DVD writer.
Next, type

cdrecord -v dev=x,y,z <name-of-iso-file>

replacing x,y,z with the numbers obtained in the above line and the name of iso file as well! Simple!

To make it even simpler, you can wrap the command around a shell script accepting the filename as the input for even faster access. CLI FTW!


  1. Pingback: Sathya
  2. Pingback: Sathya
  3. Pingback: DK
  4. Pingback: Le Borg

Leave a Reply

Your email address will not be published. Required fields are marked *