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

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!

If you enjoyed this post, make sure you subscribe to my RSS feed!

7 thoughts on “Writing an iso file to a CD-R/DVD-R from Linux Terminal

  1. Pingback: Sathya

  2. Pingback: Sathya

  3. Pingback: DK

  4. Pingback: Le Borg

  5. Pingback: benjamin rualthanzau

  6. Reply Mehul Ved Mar 30,2009 10:35 am

    What if it’s not already in iso format? It would be good to link mkisofs to this article somewhere.

Leave a Reply