How to Burn Audio CD

YoLinux Tutorial: Burning a CD or DVD

CD-RCD recordable. Write once, read many. (WORM)
CD-RWCD rewritable. Write many, read many.
ISO-9660DOS compatible file system (8.3 character file names) for CD's. Requires extensions like "Rock Ridge" to fully support UNIX / Linux
Rock ridgeISO-9660 extension to allow long file names, UNIX symlinks and file protection (rwx). Windows readable.
JolietMicrosoft extension to ISO-9660. Creates MS / Windows 95 like 8.3 file names with translation to 64 character names.
MultisessionAllows adding / writing files at a later time. Session must be closed before it is readable.
DAOBurn entire audio CD at once in a single burn. It's the only way to avoid delays between tracks
TAOBurn a track at a time. Results in 2 second delay between audio tracks.
GUI Front Ends for CD Burning:
GNOME: Using the Nautilus desktop "file manager" to burn a data CD:

Within the Nautilus file manager is "CD Creator".

Note: Some systems require that you be root. Also see the Managing groups tutorial to configure a system to grant users CD privileges.

File or directory backup:

  • Launch "CD Creator" using one of the following methods:
    1. Insert blank CD-R (W), Nautilus "CD Creator" will appear
    2. Type the URL "" in Nautilus.
    3. From the Nautilus toolbar select "Go" + "CD Creator".
  • Select the "Home Folder" within the tree portion of the GUI
    OR: launch a new instance of the Nautilus file manager by double clicking the "Home" icon on the desktop.
    Select files and directories to back-up. Use ctrl key for multiple selections.
    Right click to bring up an options menu and select "Copy File". (or Cut, ...)
  • Select the "Blank CD-R Disk:" item in the "Tree"
    OR: If using two Nautilus windows, drag files / directories to the "CD Creator" window.
    Right click to bring up an options menu and select "Paste Files".
    [Potential Pitfall]: When the blank CD is inserted into the drive, Nautilus should start with a CD showing no contents. If the contents from the last burn remail listed, select them and press the "delete" key to remove the listing.
  • Select the "Write to Disc" button.
  • This will launch a new dialog box "Write to Disc".
    Select the "Write" button:
  • This will burn a CD with the contents you dropped in the "Blank CD-R Disc" branch of the Tree menu.

CD / DVD system behavior configuration for the Gnome desktop:

Set system behavior using the Gnome command
Command line CD burning and support routines: Info, Downloads and Command line examples


Note: Use the command to scan your SCSI bus to determine the device description. (i.e. 0.4.0). This will perform a scan and provide results for real SCSI systems or for the virtual SCSI subsystem Linux uses with IDE CD / DVD's.


  • SCSI CD system: # cdrecord -scanbus Cdrecord 1.8 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jorg Schilling Using libscg version 'schily-0.1' scsibus0: 0,0,0 0) 'SEAGATE' 'ST36530W' '1498' Disk 0,1,0 1) 'SEAGATE' 'ST39173W' '6244' Disk 0,2,0 2) * 0,3,0 3) * 0,4,0 4) 'HP' 'CD-Writer + 9200' '1.0c' Removable CD-ROM 0.5.0 5) * 0.6.0 6) * 0.7.0 7) *
  • CD / DVD ATA system: This will report on your SCSI device name to use when burning a CD. In this case "ATA". # cdrecord -scanbus Cdrecord-Clone 2.01-dvd (-) Copyright (C) 1995-2004 Jorg Schilling ... scsidev: 'ATA' devname: 'ATA' scsibus: -2 target: -2 lun: -2 Linux sg driver version: 3.5.27 Using libscg version 'schily-0.8'. Cdrecord: Warning: using unofficial libscg version (schily Red Hat-scsi-linux-sg.c-1.83-RH scsibus1: 1,0,0 100) '_NEC' 'DVD_RW ND-2510A' '2.15' Removable CD-ROM 1,1,0 101) * 1,2,0 102) * 1,3,0 103) * 1,4,0 ​​104) * 1, 5.0 105) * 1.6.0 106) * 1.7.0 107) *

[Potential Pitfall]: You may have to be root to access the CD with the appropriate permissions.

Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jorg Schilling cdrecord: Permission denied. Cannot open '/ dev / sg0'. Cannot open SCSI driver. cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.


  • Linux Kernel 2.2 and 2.4 use SCSI emulation when accessing an IDE / ATAPI CD drive. See "IDE and Linux Kernel considerations" below.
    Example device reference:
  • Linux kernel 2.6 allows one to directly access ATAPI. Prefix the device name with "".
    Example device reference:
  • To get a list of supported devices:
    i.e .: (remote scsi)

YoLinux SCSI tutorial


  • Data CD's must be mounted before one may access them. The CD may be mounted by:
    • The automounter
    • The graphical mounting tool "Start" + "System" + "Disk Management" + "Mount"

    • The mount command:
      • Red Hat 7/8/9:
      • Fedora Core 3 (kernel 2.6):
        Note: Fedora Core 3 is using as a mount point for floppy drives, CD-ROMs and DVDs.

      This command should work for a Red Hat installation. Other distributions may require the set-up as described in the YoLinux Sys Admin Tutorial - Mounting a CD.

    Don't forget to un-mount the CD with
    [Potential Pitfall]: There is NO "N" in umount !!!

  • It is often required that the user be in order to perform these functions. Switch user using the command "" then enter the appropriate password.
CD burning: Command line examples

Run the CD burning commands as root as this is typically the only user on the system with privileges to burn a CD. One may also configure user groups and permissions to grant access for a user to burn a CD. See the YoLinux tutorial Managing Group Access.

Use the command "" as described above to obtain entries for the "" and "" command line arguments.

Data CD's will require that you create the ISO image first (use command) and then burn the ISO image onto the CD (use command). See instructions below.


  • If you download an ISO CD image from the internet (i.e. a Linux CD) for your favorite Linux distro or possess a CD you wish to copy:
    1. Create ISO image file:
      • Copy a data CD (fast):
      • Mount CD to copy:
        (Fedora core 3 (kernel 2.6):)
        Create ISO file image copy of CD:
    2. Burn ISO image onto CD:
      • Linux 2.6 kernel:
      • Linux 2.4 kernel:

    (Tip: Mounting the raw ISO file:)

  • Backup a directory to a CD:
    • One step:
    • or the two step variation of the process:
      The "" command is covered in detail below.
      Make sure directory does not hold more than CD capacity (700Mb typically). Check with the command:
    • Copy a data CD:
      Mount CD to copy (kernel 2.4):
      (Linux kernel 2.6:)
      Create ISO file image copy of CD:
      Unmount: (or)
      Load blank CD to burn.
      Burn CD examples:
      • Linux kernel 2.4:
        (SCSI bus 0, device 4, lun 0)
      • Linux kernel 2.6:
        Note: The flag is default unless audio file extensions or are used which defaults to.
    • Burn a multisession CD:
      This is easiest with X-CdRoast which can perform the necessary calculations but it can also be done via the command line.

      The CD is left in a mode which will allow it to receive more data.
      To append data one must know where the last burn left off:

      This will give you the starting and ending track numbers. i.e .:. Use this result in mkisofs.
      -C 0.16774 -M 0.4.0 directory-with-files-to-add
      The TOC from the first and second session will be combined.
      Note: Omit the option "on the final burn.
    • Copy then burn single audio tracks TAO:

      The files will be written out as / tmp /prefix-of-music-files_01.inf / tmp /prefix-of-music-files_01.wav / tmp /prefix-of-music-files_02.inf ...
      • Linux 2.6 kernel:
      • Linux 2.4 kernel:
    • Burn audio tracks DAO:
      Copy to hard drive:

      Burn CD:
      • Linux 2.6 kernel:
      • Linux 2.4 kernel:
    • Burn WAV files:
      • Linux 2.6 kernel:
      • Linux 2.4 kernel:
    • Copy then burn audio CD's DAO (two drives): See cdrdao examples
      Copy the CD from the reader (SCSI 3) and burn on the Read / Writer (SCSI 4):

    • Copy audio CD DAO with one CD drive:

      This will prompt you to insert the CD-R after an image of the source CD was created. ("Please insert a recordable medium and hit enter") The image file with name "" will be created in the current working directory. (file removed when done)
    • Extract audio image from CD:

      Creates file and table of contents file. This is NOT a fast process.
    • Finalize a disk:
      • CD:
      • DVD:

      [Potential Pitfall]: You may get the following error if mounted:

      $ sudo cdrecord -fix -dev = / dev / cdrw [sudo] password for user1: Error trying to open / dev / cdrw exclusively (device or resource busy) ... retrying in 1 second. Error trying to open / dev / cdrw exclusively (Device or resource busy) ... retrying in 1 second. Error trying to open / dev / cdrw exclusively (Device or resource busy) ... retrying in 1 second. Unmount the device first:
    • Audio CD's do not have a file system thus they cannot be mounted, just read. Audio CD's can represent frequencies up to 22.05 kHz and at a sample rate of 44.1 kHz.
    • ISO 9660 refers to a data CD storage format and not to the standard audio CD.
    • Don't run any applications while burning as this can lead to buffer under-run condition if your PC was not able to allocate enough time to process the burn. This will then create a useless CD.
    • I use a SCSI CD but for those that are using IDE you may be required to add the following entry to the end of and execute. This allows linux to use a SCSI interface to the IDE CD drive.
      (loads kernel loadable module:)
      at the lilo boot prompt enter
    • Want to hear that wav file to make sure it is the right song?
    • Assign a higher priority to the process burning the CD:
      Where the priority range is 19 (lowest) to -20 (highest). Default is 10.
    • Device defaults can be found in the configuration file:
      The default speed can be set:

    The re-writable CD can be "blanked" before re-burning. (optional)

    • Using XCdRoast GUI:
      • "Create CD"
      • "Write Tracks"
      • "Blank CD-RW"
      The CD is now ready to be re-inserted for burning.
    • Command to "blank" a CD-RW:
      • Almost blanking. Data is not overwritten: cdrecord dev = "1,0,0" -v -eject speed = 4 blank = fast
      • Full blanking. Data is overwritten and entire media is erased: cdrecord dev = "1,0,0" -v -eject speed = 4 blank = all
      where is the device as defined by "" as discussed above.
    mkisofs: Creating an ISO image file (Creating Data CD image)

    An ISO 9660 standard CD is a mountable file system. One may first generate an ISO image of the data files and directories on the hard drive before burning the CD. Once this is generated, it can be burned directly onto the CD. This is the standard used for data CD's and NOT the standard used for your typical CD player. The mkisofs command is used to generate an ISO image. The command cdrecord can then be used to burn an ISO image onto the CD.


    • Copy a directory tree from the hard drive into an ISO-9660 image:
      (for the preferred Linux backup see the next option.)
    • Copy an existing CDROM into a new ISO-9660 image:
    • Copy a directory tree from the hard drive into an ISO image (but probably not compatible with MS DOS): (Better for Linux backup as hidden files beginning with "." And long file names are preserved.)
    • Example of command used to make Red Hat Power Tools CD:
    • Example of command to create Red Hat boot / install disk:
    • Write Multiple directories to CD and place in a root directory of the assigned name: (Command is all on one line.)

      This will create a CD ISO image with the following directory structure:

      /FilesFromDirectoryNameA_1 /FilesFromDirectoryNameA_2 ... /SubDirectoryFromDirectoryNameA /... /FilesAndDirectoriesFromDirectoryNameC/... /FileName_1 /FileFromLocalDirectoryNameE_1 /FileFromLocalDirectoryNameE_2 /FileFromLocalDirectoryNameE_3 /... Grade:
      • The last directory specified in the path name is NOT put on the CD but it's contents are.
      • The reference to LocalDirectoryNameE is the directory which can be listed from the directory where the command is issued.
      • Double check what you created by mounting the ISO image (see below) and viewing the files.
    • Specify root directory name of copied directories: (Command is all on one line.)

      This will create a CD ISO image with the following directory structure:

      /DirectoryNameA /...
      /SubDirectoryNameC /...
      • When referencing a local directory sometimes one must end the CD directory name with a closing "/" in order to have the directory created on the CD. This was true with older versions (RH 8.0 but not 9.0) of:
    • The last directory specified in the path name is NOT put on the CD but it's contents are.

    mkisofs options:

    Command optionDescription
    -bSpecifies the path and filename of the boot image to be used when making an "El Torito" bootable CD.
    The pathname must be relative to the source path specified to mkisofs.
    Required to make a bootable CD. The boot image must be exactly the size of either a 1.2, 1.44, or a 2.88 meg floppy.
    -cSpecifies the path and filename of the boot catalog to be used when making a bootable CD.
    The pathname must be relative to the source path specified to mkisofs.
    -lAllow 31 character file names. CD will not be 8.3 DOS compatible. (Who cares! Thus use this option.)
    -OName of iso9660 output image file
    -rSet file permissions on CD to be publicly readable
    -vVerbose execution.
    -xExclude given path from being written to CDROM.
    -AText string that will be written into the volume header
    -JGenerate Joliet directory records in addition to regular iso9660 file names.
    This preserves the case (upper / lower) of file and directory names. Useful for use with MS / Windows environments.
    Allows files to begin with "." (period). Use this option to write Unix / Linux hidden files. CD will not be DOS compatible. (Who cares! Thus use this option.)
    -allow-multidotAllows files to contain multiple "." S (periods). Use this option to write Unix / Linux files which may contain more than one period. CD will not be DOS compatible. (Who cares! Thus use this option.)
    -RAdd Rock Ridge records to further describe the files. Preserves filename length and case.
    -VSpecifies the volume ID to be written into the master block.
    -TGenerate a file TRANS.TBL in each directory.
    -graft-pointsTranslate a directory to the root ("/") of the CD. See examples. (i.e .: -graft-points "/ =DirectoryName /")
    -padDefault (not necessary to specify this option). Pads the end of the whole image by 150 sectors (300 kB). Avoids read ahead errors on last file.

    More info:

    Rip it: Getting the data from an existing CD or DVD

    Ripping an entire CD / DVD to an ISO image:

    • Copy all the data from a CD / DVD:
      Note: This will not pick up the MBR from a bootable installation CD or DVD.
    • Copy all the data from a CD / DVD:
      • DVD dev link:
      • SATA / EIDE:
        (View device name: "" or "")
      • SCSI:

      Note: This will capture boot information from a bootable CD or DVD.
      Also good for ripping a video DVD to an ISO image for duplication.
    • Create ISO file image copy of CD:
      Note: The CD must be mounted first.

    Ripping to audio CD:

    See examples of ripping audio CDs (above) in this tutorial or the MP3 tutorial: Ripping MP3s.

    Ripping video from a video DVD:

    Check the title (play title 4):
    (It will also tell you the number of titles, chapters and other stats like frame rate (fps), bit rate (kbps), etc.)

    Rip DVD video:
    • Re-encode DVD video to specified AVI:
    • Do not re-encode DVD video (just dump):
      (DVD original quality video. The penalty is the much larger file size.)
      This is the same as
      The DVD "VOB" file typically is an MPEG (I or II) video although all variations are not allowed.
      Full video and sound are captured. The DVD video format allows for multiple language sound tracks thus copying a movie released in multiple languages ​​may have surprising audio results.
    Mounting an ISO file as a file system:

    After you have created an ISO 9660 image file, one can verify it's contents by mounting the raw ISO file as a file system.

    mount -t iso9660 -o loop /home/user1/RedHat-9.0-i386-Disk1.iso / mnt / iso-1
    This can also be mounted using an entry in the file: /home/user1/RedHat-9.0-i386-Disk1.iso / mnt / iso-1 iso9660 loop, ro 0 3

    Sharing the ISO by http:

    The mounted IS can be shared via Apache httpd with the following configuration file:
    Alias ​​/ iso / mnt / iso-1 Options Indexes FollowSymLinks Order deny, allow Allow from all
    Gathering CD information: isoinfo

    The utility can be used to gather information in an ISO file or on a CD and verify the integrity of an iso9660 image.

    Command optionDescription
    -HHelp and summary of options
    -dPrimary volume descriptor (PVD) of iso9660 image.
    -fUse find output formatting
    -i /path-of-image
    dev = / dev / cdrom
    Path of image to examine
    specify device (one or the other, not both)
    -pOutput path table information
    -RPrint permissions, file names and ownerships (Rock Ridge extensions)
    -JPrint file names (Joliet extensions)
    -T sectorPrint info about multi-session images.


    • List contents of an iso file:
    • List info about a CD: CD-ROM is in ISO 9660 format System id: LINUX Volume id: FC / 3 x86_64 Volume set id: Publisher id: Data preparer id: Application id: FC / 3 x86_64 Copyright File id: Abstract File id : Bibliographic File id: Volume set size is: 1 Volume set sequence number is: 1 Logical block size is: 2048 Volume size is: 326239 El Torito VD version 1 found, boot catalog is in sector 123 Joliet with UCS level 3 found Rock Ridge signatures version 1 found Eltorito validation header: Hid 1 Arch 0 (x86) ID '' Key 55 AA Eltorito defaultboot header: Bootid 88 (bootable ) Boot media 0 (No Emulation Boot) Load segment 0 Sys type 0 Nsect 4 Bootoff 7C 124 Note: The block and volume size can be used as input to the following command to:
      • Find the check sum of the CD:

        (Linux 2.6 kernel 2.6:)
      • Create an iso image:

    Man Pages:

    cdrdao: (DAO) Creating Audio CD's

    The "Disc at once" (DAO) feature allows one to burn an audio CD without the two second gap between tracks. This is most useful when copying CDs as it allows one to burn the CD to be just like the original. The command uses a "table of contents" (TOC) file as shown below.



    show-tocPrints out table of contents (toc) then exits
    toc-infoPrints out short toc-file summary
    toc-sizePrints total number of blocks for toc
    read-tocCreate toc file from audio CD
    read-cdCreate toc and rip audio data from CD
    show-dataPrints out audio data and exits
    read testReads all audio files and exits
    disk infoShows information about inserted medium
    unlockUnlock drive after failed writing
    simulateShortcut for 'write --simulate'
    writeWrites CD
    copyCopies CD
    --device x, y, z
    SCSI bus, device, lun
    i.e. 0.4.0
    Sets SCSI device of CD-writer
    --source-device x, y, z sets SCSI device of CD-ROM reader
    (used by 'copy')
    --driver driver-idForce usage of specified driver
    --source-driver driver-idForce usage of specified driver for source device
    (used by 'copy')
    --simulatePerform a write simulation
    --speed CD speedSet writing speed
    --multiSession will not be not closed
    --ejectEjects cd after writing or simulation
    --swapSwap byte order of audio files
    --on-the-flyNo image file is created. Perform copy in process.
    --datafile file-nameName of toc file
    Used by read-toc, read-cd and copy
    --buffers numberSets fifo buffer size (min. 10, def 32)
    --session numberSelects session for read-toc / read-cd
    --fast-tocDo not extract pre-gaps and index marks
    --read-rawRead raw sectors for read-cd
    --paranoia-mode numberDAE paranoia mode (0..3)
    --reloadReload the disk if necessary for writing
    --forceForce execution of operation
    -v verbose levelSet verbose level
    -nNo pause before writing

    See cdrdao examples and how to generate a toc file to control gaps (or lack thereof) during CD burn.

    Create toc (table of contents file) which shows (read) / determines (write) the gaps in tracks.

    Sample TOC (Table Of Contents) file:

    CD_DA CATALOG "0075590506829" // Track 1 TRACK AUDIO NO COPY NO PRE_EMPHASIS TWO_CHANNEL_AUDIO SILENCE 00:01:00 FILE "data.wav" 0 03:28:70 START 00:01:00 // Track 2 TRACK AUDIO NO COPY NO PRE_EMPHASIS TWO_CHANNEL_AUDIO FILE "data.wav" 03:28:70 02:14:45 START 00:04:52 ... .. // Track 10 TRACK AUDIO NO COPY NO PRE_EMPHASIS TWO_CHANNEL_AUDIO FILE "data.wav" 26:05:40 05:03:37 // Track 11 TRACK AUDIO NO COPY NO PRE_EMPHASIS TWO_CHANNEL_AUDIO FILE "data.wav" 31:09:02 04:50:50 Minimal example:
    CD_DA TRACK AUDIO AUDIOFILE "song1.wav" 0 TRACK AUDIO AUDIOFILE "song2.wav" 0 TRACK AUDIO AUDIOFILE "song3.wav" 0 ... .. Where the "0" refers to the beginning of the file


    The IDE device interface and Linux Kernel considerations:

    Most kernels as released by the various Linux distributions include SCSI emulation support and thus support for the IDE CD drive. Check this with the following command:

    SCSI subsystem initialized
    scsi0: sata_via
    scsi1: sata_via
    This shows that the SCSI subsystem is working. (example: Fedora Core 3)

    The Linux kernel 2.6 (RH Fedora Core) can use ATAPI directly by prefixing "" (or for ATA devices,) to the device argument.
    If using Linux kernel 2.2 or 2.4, SCSI emulation is required. The kernel module ide-scsi enables this support.

    The Linux CD interface uses SCSI as a hardware interface with Linux kernel 2.2 or 2.4. If you have an IDE / ATAPI CD and Linux kernel 2.2 or 2.4, you must use Linux SCSI emulation. Compile this in as part of your kernel by adding the following support using "make xconfig":

    • Block devices -> Include IDE / ATAPI CDROM support = n
    • Block devices -> SCSI emulation support = y
    Both SCSI support and SCSI CDROM support will be enabled. (y) not (M).
    Support for SCSI controller card support should be disabled.

    Linux kernel configuration parameters:

    Kernel config parameterDescription
    CONFIG_ISO9660_FS = yISO CD-ROM file system support.
    IDE / ATAPI CD-ROM device support.
    CONFIG_SCSI_device-specific-driver= y
    SCSI CD-ROM device support. (generic and driver specific)
    CONFIG_UDF_FS = yDVD file system support.
    CONFIG_UDF_RW = yRead / Write DVD file system.

    See YoLinux Optimization: Compiling the Kernel

    The SCSI driver is loaded when the kernel boots and is held in:

    • Fedora Core 3:
    • Red Hat 7/8/9:
    • Red Hat (or for older systems) 5:
    • Debian
    Example for a system actually equipped with a SCSI card: alias scsi_hostadapter aic7xxx
    Examples for IDE systems: alias scsi_hostadapter sata_via
    alias scsi_hostadapter ide-scsi

    The module can be loaded manually:
    removed manually:

    On systems with an IDE / ATAPI CD-ROM, the system will be emulating SCSI for interfacing with the CD-ROM. (kernel 2.2, 2.4) If the CD was device (example) it will now be the first CD-ROM SCSI device. The emulation will now let your IDE CD-ROM act like a SCSI device. The old soft link should now be re-linked to the new device.

    rm / dev / cdrom
    ln -s / dev / scd0 / dev / cdrom

    If using the lilo boot loader add the following line: (for CD device)

    The module may be loaded manually with the command:

    You know you are successful when recognizes your CD-ROM drive.

    Related Linux CD Commands:
    • cdda2wav - a sampling utility that dumps CD audio data into wav sound files
    • hpcdtoppm - convert a Photo-CD file into a portable pixmapmcd (RPM: netpbm-progs)
    • ascd - An AfterStep and WindowMaker CD player
    • xcdroast - CD writer software

    List of CDDB servers: cddbp 8880 Requires no fees or registration cddbp 8880 Random US site cddbp 8880 Santa Clara, CA US 8880 Santa Clara, CA US cddbp 8880 San Jose, CA US 8880 San Jose, CA US

    Software to generate CD covers:

    • CdLabelgen: home page - Generated postscript files. Integrates with gcombust CD burner software.

    CD standards:

    Burn a DVD: (using)

    DVDs allow for greater storage capacity. They are also different from CDs in that they must first be formatted. The command will perform this task automatically if it detects that the DVD is unformatted. The DVDs in these examples are burned DAO (Disk At Once).


    • Copy a simple video DVD with Linux:
      1. Rip: Create the ISO image with as detailed above.
        Copy a DVD and create ISO image file: (Paths reflect Fedora Core 3 / Linux kernel 2.6 mount point:)

        • (Use option to generate a DVD-Video compliant UDF file system. This will sort files appropriately and add padding. File video names must be in upper case.)
      2. Burn: Burn DVD with Linux and the command. Since is also a front-end to, one can append commands:

        • Note: and are soft links to
        • Example of burning DVD using "dvdrecord":
          • Linux 2.6 kernel:
          • Linux 2.4 kernel:
    • Blanking a rewritable DVD:
      Not required before burning but erases sensitive data.
    • Burning a data DVD:
    • Burn data file to DVD:
    • Burning a data backup DVD using more mkisofs commands: (works on DVD + R and double layer DVD + R DL - Fedora Core 3)
      • Example 1:
        (may not be DOS compatable because of long file name support, possible leading dot or multidot file names, but do you really care?)
      • Example 2:
        (write a DVD which MS / Windows can read - but not MS / DOS due to the "-l" option and long file names)


    growisofs command line options:

    -versionList version of program.
    -Z / dev / dvdBurn initial session to specified path. Closes DVD and no additions can be made. You can specify -Z or -M but not both.
    -M / dev / dvdMerge a new session to an existing one at the specified path. Multi-session. You can specify -Z or -M but not both.
    -dvd-compatWrite with DVD compatibility. Write once disks are closed at the end of the session.
    -dry-runPerform steps but do not burn DVD. Checks for overburn condition (too much data for DVD). 4.7 Gbytes (4.7 x 10003) DVDs actually hold 4,377 Gb (4.3 x 10243) as measured by the computer system.
    -overburnDon't use this. Turns off overburn condition checking.
    -speed = 1Specify recording velocity. Recommend 1 or 2. Not as reliable as CDs for high speed burning.

    Note that the -R (Rock Ridge) and -J (Joliet) are commands as described above which are appended to.

    Formatting is not required as it is performed by the command if required. A DVD can be re-formatted using the command or to "erase" data.

    [Potential Pitfall]: The automounter will detect a formatted DVD and mount it. You cannot burn a mounted DVD. To disable the automounter, make sure the mount option "" is used in the file for the mount point

    / dev / hdc / media / cdrecorder auto pamconsole, exec,noauto, ... 0 0
    fstab man page

    [Potential Pitfall]: Do NOT use the option "-o" as this is unsupported with. There is no option to generate a file, you will be burning a DVD.

    [Potential Pitfall]: If you hit the "memorylocked" resource limit and get the following error when issuing the (V6.0) command:

    "unable to anonymously mmap 33554432: Resource temporarily unavailable"
    Issue the following bash shell command:

    [Potential Pitfall]: If using the Linux 2.4 kernel (i.e. 2.4.18), you will have to apply kernel patches to get full DVD support. The 2.6 kernel (i.e. Fedora Core 3) has good built-in DVD support.

    The following tools are included in the Fedora Core RPM package:

    • : Burn DVD. See tutorial above.
    • : DVD format. Also performed by if needed.
      Format a DVD:
    • : Utility for manipulating Book Type Field of Physical Format Descriptor located in lead-in of DVD + RW media.
    • : Information about mounted DVD media. Note: This never worked for me.

    • Usage:

    DVD Tools:

    DVD HowTos:

    DVD standards:

    This command allows one to open and close the CD tray as well as control a multi-disk changer. Note that the first disk in a changer is referred to as disk "0", the second as disk "1", etc ...

    eject man page


    • Open tray (eject):
      (Fedora core 3 (kernel 2.6):)
    • Open tray (eject) default CD device:
    • Close tray:
    • Rotate changer to second CD:

    There is rumor of a device driver for but I have no info on this.