wiki:LinuxCdrecording
Last modified 11 years ago Last modified on 05/15/06 10:36:16

Downloading and verifying ISOs

An easy way to download ISOs with wget:

wget -c 'http://download.example.com/?file=disc1.iso'

Once you have the ISO, there are a few ways to verify that it actually downloaded correctly. The website you downloaded from might publish MD5 or SHA1 checksums, or you can use the qemu virtual machine to "boot" from the ISO file:

qemu -cdrom disk1.iso -boot d

Burning the ISO

For linux distributions using the 2.6 kernel (including Fedora Core 2 and Red Hat Enterprise Linux 4 and higher), cdrecord doesn't need to know the SCSI id of your recorder anymore, and configuration options may be specified in /etc/cdrecord.conf instead of the command line. Burning a ISO to CD can be as simple as:

cdrecord cdrom-1.11.iso 

Alternatively, you can specify the device on the command line:

cdrecord dev=/dev/cdwriter cdrom-1.11.iso

For DVDs, you need to also specify the write mode DAO ("disk-at-once"):

cdrecord -dao -dummy DVDimage.iso

With the 2.4 kernel, you need to know where your recorder is first:

[root@bursa root]# cdrecord -scanbus
Cdrecord-Clone 2.01a32-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.
Linux sg driver version: 3.1.25
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').
scsibus2:
        2,0,0   200) 'TEAC    ' 'DVD+RW DV-W58E  ' 'D.0C' Removable CD-ROM
        2,1,0   201) *
        2,2,0   202) *
        2,3,0   203) *
        2,4,0   204) *
        2,5,0   205) *
        2,6,0   206) *
        2,7,0   207) *
[root@bursa root]# cdrecord -v dev=2,0,0 cdrom-1.11.iso