Posted by: isaraffee | August 10, 2009

Burning CD-RW Disks in Sabayon Linux

Burning CD-RW Disks

Before you write or burn data to your CDs or DVDs, check that your hardware is a DVD-RW or a CD-RW. You can navigate to Menu–>Computer–>System Information.

In my case, my DVD drive can write to CD-RW disks but will not be able to write to DVD-R and DVD-RAM disks.

sabayonx86 ~ # cdrecord -scanbus

Cdrecord-ProDVD-Clone 2.01.01a11 (i686-pc-linux-gnu) Copyright (C) 1995-2006 Jörg Schilling

Linux sg driver version: 3.5.34

Using libscg version ‘schily-0.8’.


2,0,0 200) ‘ATA ‘ ‘HITACHI_DK23EA-3′ ’00K4’ Disk

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) *


3,0,0 300) ‘TEAC ‘ ‘DW-224E-A ‘ ‘A.2F’ Removable CD-ROM

3,1,0 301) *

3,2,0 302) *

3,3,0 303) *

3,4,0 304) *

3,5,0 305) *

3,6,0 306) *

3,7,0 307) *

Mounting CD-ROM/CD-RW

When you popped in your CD into the tray, a window will prompt you as what you would like to do. I chose “Open in New Window”. When you select this, what actually happens is that the CD is mounted. To see if the CD is mounted, type:

sabayonx86 ~ # mount

/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw,user_xattr)

proc on /proc type proc (rw,nosuid,nodev,noexec)

sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)

udev on /dev type tmpfs (rw,nosuid)

devpts on /dev/pts type devpts (rw,nosuid,noexec)

/dev/sda1 on /boot type ext3 (rw,user_xattr)

tmpfs on /dev/shm type tmpfs (rw)

usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)

binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)

/dev/sr0 on /media/Korban2008 type iso9660 (ro,noexec,nosuid,nodev,noatime,uid=0,utf8)

The last line, shows that the CD was mounte on the /media/Korban2008 directory, using device file /dev/sr0

Now what exactly is /dev/sr0? Well if you type:

sabayonx86 ~ # ls -l /dev/sr0

brw-rw—- 1 root cdrom 11, 0 2009-03-28 06:23 /dev/sr0

It shows that it is a block file for cdrom. And normally in other distributions, we would type

#mount /dev/cdrom /media/cdrom

but in this case the device file is /dev/sr0. Actually it’s the same because if we were to explore further by typing:

sabayonx86 ~ # ll -rt /dev/cd*

lrwxrwxrwx 1 root root 3 2009-03-28 06:23 /dev/cdrw -> sr0

lrwxrwxrwx 1 root root 3 2009-03-28 06:23 /dev/cdrom -> sr0

We now see that both /dev/cdrw and /dev/cdrom are symbolic links to sr0. So it doesn’t matters what Sabayon calls it but what matters is the major and minor number. For the file /dev/sr0, the major number is 11 and the minor number is 0.

Rewriting a CD-RW

To blank a CD-RW type:

sabayonx86 ~ # cdrecord dev=3,0,0 -v -eject blank=all

Cdrecord-ProDVD-Clone 2.01.01a11 (i686-pc-linux-gnu) Copyright (C) 1995-2006 Jörg Schilling

TOC Type: 1 = CD-ROM

scsidev: ‘3,0,0’

scsibus: 3 target: 0 lun: 0

Linux sg driver version: 3.5.34

Using libscg version ‘schily-0.8’.

SCSI buffer size: 64512

atapi: 1

Device type : Removable CD-ROM

Version : 5

Response Format: 2

Capabilities :

Vendor_info : ‘TEAC ‘

Identifikation : ‘DW-224E-A ‘

Revision : ‘A.2F’

Device seems to be: Generic mmc2 DVD-ROM.

Current: CD-RW

Profile: DVD-ROM

Profile: CD-RW (current)

Profile: CD-R

Profile: CD-ROM

Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).


Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R

Drive buf size : 1421312 = 1388 KB

Current Secsize: 2048

ATIP info from disk:

Indicated writing power: 5

Reference speed: 2

Is not unrestricted

Is erasable

ATIP start of lead in: -11635 (97:26/65)

ATIP start of lead out: 337350 (75:00/00)

1T speed low: 0 (reserved val 0) 1T speed high: 4

2T speed low: 8 2T speed high: 0 (reserved val 10)

power mult factor: 4 6

recommended erase/write power: 3

A1 values: 02 4C B0

A2 values: 4A C8 36

Disk type: Phase change

Manuf. index: 3

Manufacturer: CMC Magnetics Corporation

Starting to write CD/DVD at speed 4 in real BLANK mode for single session.

Last chance to quit, starting real write 0 seconds. Operation starts.

Performing OPC…

Blanking entire disk

After the CD-RW has been blanked, it will automatically be ejected. But in my case, the operation just hanged and I need to Crtl+C to abort the operation. When I ejected the CD-RW and load it to another PC, the contents of the CD-RW have been erased.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: