Posted by chris on Tue 17 Jan 2006 at 11:22
Under the 2.4 series kernel - to be able to use an IDE CD burner we were forced to use SCSI emulation (via the kernel module ide-scsi). Under the 2.6 series kernel - this is deprecated - we now use ide-cd.
So - let's load it:
For non-udev users you'll need to set up your /dev area - mine looks like this:
$ ls -l /dev/cd* /dev/dvd* /dev/hdc lrwxrwxrwx 1 root root 3 Jan 4 08:10 /dev/cdrom -> hdc lrwxrwxrwx 1 root root 3 Jan 4 08:10 /dev/cdrw -> hdc lrwxrwxrwx 1 root root 3 Jan 4 08:10 /dev/dvd -> hdc brw-rw---- 1 root cdrom 22, 0 Jan 4 08:10 /dev/hdc
For udev users - loading the ide-cd module should have updated sysfs so that udev can create the correct devices for you.
I use the non-devfs naming styles so I symlinked /etc/udev/cd-aliases.rules to /etc/udev/rules.d/cd-aliases.rules and then restarted udev.
You will want to be a member of the cdrom group too. Now - to actually burn a cd I use:
cdrecord dev=/dev/cdrw /path/to/iso/image.iso
You will get warnings about running with 2.6 - I don't want to get into a discussion on this - the author of cdrecord doesn't like non-scsi emulation in the 2.6 series. However - it still burns the CD.
On a side note - there is (was?) something in the later 2.6 kernels this stopped working for non-root users. So - I tend to use sudo cdrecord rather than cdrecord.
To record a dvd - I would normally use growisofs from the dvd+rw-tools package - this works just fine with ide-cd.