thewatertower.org.uk

Burning CDs and DVDs on Linux


Burning an ISO image to CD

cdrecord was the original tool for the job, certainly in Suse 9.3, but by 10.2 was replaced by the confusingly named wodim. (They wanted to call it W(rites) O(ptical) M(edia) but wom had already been taken so DI(sk) was added)

This page, initially, was for my own reference because I can never remember WTF it's called now.

The history of the change is probably linked to the previous version's statement that it was modified by Suse to burn DVDs and as such is no longer supported by the author. But the project is primarily run out of the Debian camp, with some Suse maintainers, so its probably some sort of licensing issue. A bit like the xfree86/xorg split.

The basic command to burn an ISO onto a CD is as follows.

wodim -v -eject \
speed=4 dev=ATA:1,0,0 \
blank=[fast|all|help] \
driveropts=burnfree \
-data /tmp/cd.iso
# -v : verbose output -eject : spit out the CD when done
# speed option can probably be dropped; it'll run as fast as the media and drive will take
# device is a bit voodoo; get it from -scanbus
# blank - you need to pick one of the options in brackets. fast usually does the job.
# the burnfree option should enable any anti drinks mat features in your drive
# -data is obvious enough; I frequently just use `ls *iso` in place of the filename, where
# I know there's only one image in the directory

DVD

Unable to use Brasero on Ubuntu 9.10 write an ISO to DVD+RW. Wiping it didn't help ..

dvd+rw-format -force /dev/scd0
$ dvd+rw-mediainfo /dev/scd0
INQUIRY:                [HL-DT-ST][DVDRAM GSA-4163B][A102]
GET [CURRENT] CONFIGURATION:
 Mounted Media:         1Ah, DVD+RW
 Current Write Speed:   4.0x1385=5540KB/s
 Write Speed #0:        4.0x1385=5540KB/s
 Write Speed #1:        2.4x1385=3324KB/s
GET [CURRENT] PERFORMANCE:
 Write Performance:     4.0x1385=5540KB/s@[0 -> 2295103]
 Speed Descriptor#0:    02/2295103 R@3.3x1385=4584KB/s W@4.0x1385=5540KB/s
 Speed Descriptor#1:    02/2295103 R@3.3x1385=4584KB/s W@2.4x1385=3324KB/s
READ DVD STRUCTURE[#0h]:
 Media Book Type:       00h, DVD-ROM book [revision 0]
 Media ID:              OPTODISC/OP4
 Legacy lead-out at:    217984*2KB=446431232
READ DISC INFORMATION:
 Disc status:           complete
 Number of Sessions:    1
 State of Last Session: complete
 Number of Tracks:      1
 BG Format Status:      suspended
READ FORMAT CAPACITIES:
 formatted:             2295104*2048=4700372992
 26h(0):                2295104*2048=4700372992
READ TRACK INFORMATION[#1]:
 Track State:           complete
 Track Start Address:   0*2KB
 Free Blocks:           0*2KB
 Track Size:            2295104*2KB
FABRICATED TOC:
 Track#1  :             14@0
 Track#AA :             14@2295104
 Multi-session Info:    #1@0
READ CAPACITY:          2295104*2048=4700372992

Might just be nuances of +RW

Will try writing it using growisofs, which is in the +rw tools package

$ growisofs -dvd-compat -speed=4 -Z /dev/scd0=file.iso
Printed and hosted by Prater Raines Ltd, 98 Sandgate High Street, Folkestone CT20 3BY.
Published and promoted by Ben Prescott, 14, St James's Square, Bournemouth, BH5 2BX. All rights reserved.
The views expressed are solely those of the author, not of the service provider.