Burning cd's

mkisofs and cdrecord are your friend. The man pages for these programs are excellent but here's a quick example of a session that I have used:

Build the iso file - this is a cross platform iso with support for both Macs (HFS) and Windows (Joliet):

$ mkisofs -P "PublisherId" \
          -p "PreparerId" \
          -V "VolumeId" \
          -A "ApplicationId" \
          -r -v -J -hfs \
          -graft-points \
          -o /tmp/foo.iso \
          /=/source/dir

Look for the cdwriter device (note I have an ATAPI cd writer, much like most folk with a regular pc):

$ cdrecord -scanbus
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to http://bugzilla.redhat.com/bugzilla
Note: The author of cdrecord should not be bothered with problems in this version.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#)scsi-linux-sg.c    1.83 04/05/20 Copyright 1997 J. Schilling').
scsibus0:
        0,0,0     0) 'PHILIPS ' 'DVD+-RW DVD8701 ' '5D24' 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) *

Write the cd/dvd:

cdrecord -v -sao dev=ATAPI:0,0,0 /tmp/foo.iso

BradsWiki: BurningCds (last edited 2011-03-01 11:08:17 by BradleyDean)