Pastor and missionary in Costa Rica
Random header image... Refresh for more!

Burning CDs, DVDs, ISOs

What devices to use, as user:
wodim –devices

Clone a cd:
cdrdao copy –fast-toc –device ATA:1,0,0 –buffers 256 -v2

Clone a cd on the fly:
cdrdao copy –fast-toc –source-device ATA:1,1,0 –device ATA:1,0,0 –on-the-fly –buffers 256 –eject -v2

Burn an ISO image of a CD:
wodim dev=/dev/hdc driveropts=burnfree,noforcespeed fs=14M speed=8 -dao -eject -overburn -v something.iso

Create an ISO image with all files (and subdirs) of a directory.
genisoimage -o myImage.iso -r -J -l directory

Burn an ISO image to DVD:
growisofs -dvd-compat -Z /dev/dvd=image.iso

Burn multiple files to DVD:
growisofs -Z /dev/dvd -R -J file-1 file-2 file-3 …

Append more files to DVD:
growisofs -M /dev/dvd -R -J file-1 file-2 file-3…

Finalize DVD burning session:
growisofs -M /dev/dvd=/dev/zero

From the Sidux Manual: http://manual.sidux.com/en/cd-no-gui-burn-en.htm

To make an ISO from your CD/DVD, place the media in your drive but do not mount it. If it automounts, unmount it.

  • dd if=/dev/dvd of=dvd.iso # for dvd
  • dd if=/dev/cdrom of=cd.iso # for cdrom
  • dd if=/dev/scd0 of=cd.iso # if cdrom is scsi

To make an ISO from files on your hard drive, create a directory which holds the files you want. Then use the mkisofs command.

  • mkisofs -o /tmp/cd.iso /tmp/directory/

This results in a file called cd.iso in folder /tmp which contains all the files and directories in /tmp/directory/