====== Ubuntu - CD - Copy a data CD ======
===== Mount CD to copy =====
Linux kernel 2.6:
mount -t iso9660 -o ro /dev/cdrom /media/cdrecorder
----
kernel 2.4
mount -t iso9660 -o ro /dev/cdrom /mnt/cdrom
----
===== Create ISO file image copy of CD =====
mkisofs -r -R -J -l -L -o /tmp/cd-iso-image-file.iso /mnt/cdrom
----
===== Unmount CD =====
umount /mnt/cdrom (or umount /media/cdrecorder)
----
===== Change Disks =====
Load a blank CD to write to.
----
===== Burn CD =====
Linux kernel 2.6:
cdrecord -v speed=2 dev=ATA:1,0,0 /tmp/cd-iso-image-file.iso
----
Linux kernel 2.4:
cdrecord -v speed=2 dev=0,4,0 -data /tmp/cd-iso-image-file.iso
where:
* SCSI bus 0, device 4, lun 0
* **-data** is default unless audio file extensions .au or .wav are used which defaults to -audio.