Personal tools
You are here: Home Wiki BurningACD
Views

Burning A CD

The simplest way is to use [mkisofs]? to create the ISO 9660 image, and then to use [cdrecord]? to burn that image on to a CD.

----

First, figure out where your cdrw is:

  gregory@sdgregory(pts/6):~ 21 > sudo cdrecord -scanbus
  Password:
  Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
  Linux sg driver version: 3.1.24
  Using libscg version 'schily-0.7'
  scsibus0:
        0,0,0     0) 'HL-DT-ST' 'CD-RW GCE-8481B ' 'C102' Removable CD-ROM
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *

Then, create the ISO image:

  gregory@sdgregory(pts/6):~ 25 > mkisofs -v -r -J -o documents.iso documents

  [[snip lots of output]

Then, burn it:

  gregory@sdgregory(pts/6):~ 27 > sudo cdrecord -v -dev 0,0,0 documents.iso

If you've previously written to the cdrw, you'll need to blank the cdrw first:

  gregory@sdgregory(pts/6):~ 22 > cdrecord -v -dev 0,0,0 blankall

Additionally, you might need to force a "speed4" (or 8) parameter, depending on your media/drive.

Some useful options for mkisofs:

  -v    verbose (though it's noisy enough without)
  -r    Rock Ridge exensions (long file names on unix, etc.)
  -J    Joliet extensions (long file names for DOS/Windows)
  -l    ISO9660 long (32-char) filename support,
        possibly breaks DOS/Win usability
  -o    specify output file

I only use -l when making an ISOLinux? boot CD. From what I've seen, using -l will still let the CD work on a DOS/Win system, so long as you use -J, too (though that might only work on Windows 9x/me/nt/2k/xp).

Most commonly, for discs containing data I care about, I use -r and -J.

(This page adapted from a post by Gregory K. Ruiz-Ade to the kplug-list list.)

Also See [Linux CD Writing]?



Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: