Writing an iso file to a CD-R/DVD-R from Linux Terminal – sathyasays.com
This page looks best with JavaScript enabled

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

 ·   ·  ☕ 1 min read  ·  ✍️ Sathyajith Bhat · 👀... views

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:<br /> 0,0,0      0) 'TSSTcorp' 'DVD+-RW TS-L632H' 'D200' Removable CD-ROM<br /> 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!

Share on

Sathyajith Bhat
WRITTEN BY
Sathyajith Bhat
Author, AWS Container Hero and DevOps Specialist

What's on this Page