Linux: cdrecord command

Back in days, I used to use the k3b application to burn CD/DVD. I liked the program a lot, but after I started using Xfce as my DE, it started failing in various occasions. Then I tried xfburn. It's a light-weight, good program, but for some reasons, it didn't stick to me. After much of searching for alternative program for burning CD/DVD or creating ISO images, I came across to the cdrecord command. It was natural for me to like this little utility, after all, k3b calls it to burn them. Also, I use openbox as a stand-alone WM, it works perfect for me.

I don't do a complicated stuff with it; just making DVDs or burning from ISO images.

First, let's scan SCSI bus to determine the device description: cdrecord -scanbus Cdrecord-ProDVD-ProBD-Clone 3.01a02 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2010 Joerg Schilling Linux sg driver version: 3.5.34 Using libscg version 'schily-0.9'. ... scsibus2: 2,0,0 200) 'hp ' 'BDDVDRW CH20L ' 'BC33' Removable CD-ROM 2,1,0 201) * 2,2,0 202) * 2,3,0 203) * 2,4,0 204) * 2,5,0 205) * 2,6,0 206) * 2,7,0 207) * ...

On my system, my DVD burner is attached to "2,0,0".

Burning ISO images onto disc:

cdrecord dev="2,0,0" speed=16 -v -eject path_to_ISO_image.iso

Blanking CD/DVD-RW:

cdrecord dev="2,0,0" speed=16 -v -eject blank=fast

"fast" option - Data is not overwritten.

cdrecord dev="2,0,0" speed=16 -v -eject blank=all

"all" option - Data is overwritten and entire media is erased.

That's all!

Information in this page is the result of my researches in the Internet and of my experiences. It is solely used for my purpose and may not be suitable for others.

Post a comment

You may use the following HTML:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>