Burning CD/DVD

From SlackWiki
Jump to navigation Jump to search

Random information about burning CD/DVD's with slack (and linux in general). Feel free to tack on any insight you might have on the subject.

The Basics

In most modern situations, you will not have to tell the software which device to use (unless you have more than one device). In case you have older hardware or software, it may be necessary to pass the device info. On a 2.6 kernel, you can use:

cdrecord dev=/dev/someDevice

On a 2.4 kernel, you use one of these commands:

cdrdao scanbus
cdrecord -scanbus dev=ATA

This should present you with some information:

ATA:1,0,0            DVDRW   , IDE1004         , 0151
1,0,0   100) 'DVDRW   ' 'IDE1004         ' '0151' Removable CD-ROM

To pass this device (1,0,0) to cdrdao or cdrecord:

cdrdao --device 1,0,0
cdrecord dev=ATA:1,0,0

These will be SCSI ID's if you have a SCSI burner, or are using ide-scsi (no-longer necessary)

CDR

Creating an image

From a disc

readcd dev=ATA:1,0,0 f=image.iso
dd if=/dev/cdrom of=image.iso

From a directory of files

-r provides Rock Ridge extension (for posix)
-J provides Joliet extension (for windows)

mkisofs -o image.iso -J -r /path/to/files/

Burning an image

cdrdao write image.cue
cdrecord -dao driveropts=burnfree dev=/dev/cdrom image.iso 

DVDR

From an image

growisofs -dvd-compat -Z /dev/dvd=dvd.iso

A directory of files

-R provides Rock Ridge extension (for posix)
-J provides Joliet extension (for windows)

growisofs -dvd-compat -Z /dev/dvd -J -R /path/to/files/

A DVD Video

This path must be structured like a DVD, see Authoring.

growisofs -Z /dev/dvd -dvd-video /path/to/dvd/files/

Blanking

Quick

cdrdao blank --blank-mode minimal
dvd+rw-format -blank /dev/dvd

Full

cdrdao blank --blank-mode full
dvd+rw-format -blank=full /dev/dvd

Links

Burning Software

DVD+RW-Tools
http://fy.chalmers.se/~appro/linux/DVD+RW/
CDRDAO
http://cdrdao.sourceforge.net/
Cdrtools
http://www.fokus.fhg.de/research/cc/glone/employees/joerg.schilling/private/cdrecord.html

GUI Frontends

X-CD-Roast
http://www.xcdroast.org/
Gnome CD Master
http://cdrdao.sourceforge.net/gcdmaster/index.html
Gnome Toaster
http://gnometoaster.rulez.org/
Nautilus-CD-Burner
http://www.gnome.org/projects/nautilus/
K3B
http://www.k3b.org/
  • As mentioned in RELEASE_NOTES K3B shipped with KDE4 sometimes doesn't recognize CD/DVD writer.
One of the issues we're aware of is that
k3b hasn't been working as well as the KDE3 version for some people
(it works fine here, but we have heard some reports), and there are
some other KDE applications where people still prefer the old versions.
To help with this, there are KDE3 compatibility packages that can
be found in /extra/kde3-compat/.  With these installed, most KDE3
programs will run.  A KDE3 version of k3b is also included in that
directory.

You can still read, mount, rip CD/DVD, but it's annoying. If K3B gives you following error:

No CD/DVD writer found.

use "old" K3B 1.0.5 from KDE 3.5.10 (in Slackware 13.0 it's k3b3 package found in extra/kde3-compat/) or try Slackware-current where K3B (1.69.0 Alpha 4) is reported as again working (despite it's Alpha state).

Authoring Tools

dvdauthor
http://dvdauthor.sourceforge.net/
DVDStyler
http://dvdstyler.sourceforge.net/
‘Q‘ DVD-Author
http://qdvdauthor.sourceforge.net/

Format Converters

CCD2ISO
http://ccd2iso.sourceforge.net/
NRG2ISO
http://gregory.kokanosky.free.fr/v4/linux/nrg2iso.en.html
ISO Master
http://www.littlesvr.ca/isomaster/