Burning ISO images to CD

Paid Online Writing Jobs

Get Paid to Write at Home

Get Instant Access

There have been changes recently in the way Linux handles CD writers. Under the 2.4 kernel series, CD writers required the ide-scsi driver, which meant that they worked using SCSI emulation. In 2.6, this is no longer the case. As a result, the user-space tools have had to change somewhat.

The easiest way to burn ISOs to CD is k3b, which is a graphical tool included with all current versions of SUSE. At the time of this writing, there is a minor bug in the version of k3b shipped with SUSE regarding the way it displays the speed at which it is going to burn the disk, but this does not affect the functionality of the program. Figure 14-7 shows a CD being burned in k3b.

If you want to burn disks from the command line, the tool to use is cdrecord. If you are running a 2.6 kernel and your CD writer is an ATAPI device (almost all are), then you will need to do something like this:

[email protected] : ~ # cdrecord -v dev=/dev/hdc speed=8 -dao -data filename.iso

Here we are burning the image filename.iso to CD. The CD burner device is /dev/hdc (the first device on the second IDE channel), and we are burning the image in "disk at once" mode (-dao) to produce a data CD (-data). The speed has been specified as 8. This example assumes that we are running a 2.6 kernel.

Figure 14-7: Burning a CD with k3b

If you are using a 2.4 kernel, ATAPI CD writers are treated as emulated SCSI devices using the ide-scsi module. In this case, the dev= parameter will refer to the SCSI device (for example, typically dev=0,0,0 on a system with no "real" SCSI devices: cdrecord --scanbus helps to find the correct device numbers).

Was this article helpful?

0 0

Post a comment