Writing ISO Images to CD with cdrecord

You can't simply cp a CD image onto a new disk. For this task, you need the cdrecord program.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Command Name Changed

Anonymous's picture

The cdrecord command has changed in some (all?) distros.
The current command name is: wodim

The cdrecord command is still availble, but it is merely a sim-link to the wodim command.

It's 'great' for Linux, because we're supposed to use 'wodim' but all the help & online articles reference 'cdrecord' ...

"You can't simply cp a CD

Anonymous's picture

"You can't simply cp a CD image onto a new disk." - if cdrecord was designed properly that should have been the end-goal.

Um, in OS/2 (and eCS for

Anonymous's picture

Um, in OS/2 (and eCS for that) we can just copy stuff to our CD drives. While I do like a lot of what linux groups are doing, shouldn't this be the end goal of cdrecord- to make CDs and DVDs transparent to the end users as a type of medium? As long as it holds data, you should be able to treat it like anything else on the system. Just like FTP and such. You shouldn't need extra commands to get it done.

Printer friendly version of Writing ISO images

Anonymous's picture

The printer friendly version prints fine but the indented section
goes byond the print margin (HP1350 on win 98) and is cut off.
In other words not completely friendly.

Printer friendly version of Writing ISO images

Keith Daniels's picture

I checked the printer friendly layout and couldn't get the problem to replicate on my system. There are several things that could cause this but most probably it is a printer font setting or a lack of a specific font being available that is causing the problem.

If you want me to help you with this email me at webmaster@ssc.com with "printer friendly problem" in the subject line.

All the new OSs and windowing systems are oriented towards content consumption instead of content production.

--Steve Daniels 2013

I have the same SCSI based

Anonymous's picture

I have the same SCSI based HP 9600 CD Writer.I used K3B for a long time on Suse 9.2 and before. Since I upgraded to OpenSuse 10, every time I launch K3B, it locks up after trying to locate the device and I have to force terminate it. As a work around, I have been using this method and working very well. I like K3B and like to solve this issue, has any one encountered this problem and have a fix for it? Much appreciated.

no problem at all

Peter Schudt's picture

Greetings. I use the same config but this software never did to me what you described. Hmm - maybe there is a hardware problem.

This information is

Anonymous's picture

This information is outdated. With Linux 2.6 you don't need scanbus and device numbers any more. Just "cdrecord -dev=/dev/hdc" or whatever your CD drive is called.


Anonymous's picture

that was exactly what I needed, just upgraded to kernel 2.6 and
cdrecord stopped working since I lost the scsi emulation. such a
simple fix but I couldn't find it mentioned in the cdrecord documentation.

cdrecord documentation

deelip's picture

hi. frd i need cdrecord documentation for writing data to disc .not to depend on whatever the writer is.. kindly help me to make a gui for cd writing ..

But how do you know what

Anonymous's picture

But how do you know what your CD-ROM is called?

dmesg | more and look for

Anonymous's picture

dmesg | more
and look for CDROM

or try cdrecord dev=/dev/hdb

Anonymous's picture

or try
cdrecord dev=/dev/hdb -checkdrive
cdrecord dev=/dev/hdc -checkdrive
cdrecord dev=/dev/hdd -checkdrive
until something works?

dmesg | grep CD

Anonymous's picture

dmesg | grep CD

Or under a standard udev system /dev/cdwriter unless you have very obscure hardware.

Or just know what your writer is connected to - /dev/hdc for secondary master, /dev/hdb for primary slave, etc

The command (for CentOS and

Anonymous's picture

The command (for CentOS and maybe Fedora based distros) that works for me with and LG CD-DVD writer to copy a .iso was: cdrecord -v -sao dev=/dev/dvdwriter /.iso

>Those GUIs are fine for

Anonymous's picture

>Those GUIs are fine for building a CD from ordinary files stored on your hard disk--text, data, music and such--but sometimes you need to do the equivalent of copying a CD image onto a new CD.

Right-click iso file and select "Write to Disc"?

Good, except...

Anonymous's picture

cdrecord is good, useful software, so long as you don't have to deal directly with its developer. He is a bit, shall we say, difficult to work with when it comes to Linux.

Download, not discuss 8-)

Alex Malukko's picture

Well, well - as a user I am downloading this software and not discussing it with the developer 8-))))

Make-CD script

CraigM's picture

I've written a small Perl script that I use to make a CD based on a directory layout. It's called "make-cd", and it's available at:


Might make it a little easier for people to create CDs without having to remember a lot of command line options and commands.

Hope this helps!

Make-CD script

CraigM's picture

I've moved the location of this script:


Sorry for the inconvenience.


asd's picture

This "howto" is way too old deprecated (1 technical one: ide-scsi is no more needed if you are using 2.6, which is out for a while now, plus most ppl are using dvd now - mostly with growisofs||dvdrecord)

Yes DVDs are being used

andrew's picture

Yes DVDs are being used alot, but that doesn't preclude the need to write CD's. Perhaps a followup to this article will be writing DVD's with dvd-record or some such. This is still a good article for someone who doesn't know how to do this yet. I do agree that mention should be made that ide-scsi is no longer needed with the 2.6 kernel.

Still... Use K3b

Anonymous's picture

I agree with the ide-scsi comments.

However, for the typical luser, using K3b is going to be much easier. I guess this author never noticed the menu options for burning a CD (or DVD) from an ISO image. And K3b can create the ISO image, then allow the "project" to be saved. If you update the individual files that are part of the project, you can open K3b, load in the (old) project, and burn another ISO and automatically get the new file contents. (I use this for adding my own content to SUSE and FC DVD images.)

Btw, growisofs only works on DVDs (and most of them, but not all). Yet that's hidden by K3b, so the user just says "burn CD" or "burn DVD" and off it goes!

Relying on K3B or other

Anonymous's picture

Relying on K3B or other GUI-based tools to burn a disk is not sufficient. I am at this very moment burning a new Kubuntu CD using cdrecord because my KDE is all screwed up and K3B (among other things) segfaults when I try to start it.

Newer is not always better, and having a Plan B is often a very valuable thing. Rock on, cdrecord!