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

Sathya | March 30th, 2009 - 6:30 am


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
su

Next, type
cdrecord -scanbus

You’ll get something like this:

scsibus0:
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!

6 Responses to “Writing an iso file to a CD-R/DVD-R from Linux Terminal”

  1. Sathya says:

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

    Ever wondered if there’s a qu.. http://tinyurl.com/cqlt5y

  2. Sathya says:

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

    Ever wondered if there’s a qu.. http://tinyurl.com/cqlt5y

  3. DK says:

    Rt @SathyaBhat: Writing an iso file to a CD-R/DVD-R from Linux Terminal:
    http://tinyurl.com/cqlt5y

  4. Linux Tip: write iso file to CD-R/DVD-R from command line http://tinyurl.com/dejx97

  5. Mehul Ved says:

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

You can leave a response, or trackback from your own site.

Leave a Reply