Results 1 to 6 of 6

Thread: HOWTO: Burn DVD's from the command line

  1. #1
    Join Date
    Jun 2005
    Albuquerque, New Mexico
    Ubuntu Development Release

    HOWTO: Burn DVD's from the command line

    Why would you do this? Say like me you have a server that you have remote ssh access to. Or you do not want to install GUI on a system but have need to burn a DVD backup.

    Step 1: Install dvd+rw-tools

    sudo apt-get install dvd+rw-tools

    Step 2: To find where your DVD Burner is

    less /etc/fstab
    Look for a line that is simular to:

    /dev/hdd /media/cdrom0 udf,iso9660 user,noauto 0 0

    Step 3: Buring your DVD.

    Burning a content of a directory:

    growisofs -dvd-compat -input-charset=ISO-8859-1 -Z /dev/hdd -R -J -pad "/path/to/some/data"
    If you are unsure of the charter set leave blank and your default system charter set will be used.

    When finished eject the DVD by issuing the command:


    Burning data from multiple directories:

    Ok now if you want to burn data from directories /path/to/foo and /path/to/chu (given you have enough space on the DVD for it) and you want to put the data into directories "foo" and "chu" on the DVD.

    growisofs -dvd-compat -input-charset=ISO-8859-1 -Z /dev/hdd -R -J -pad -graft-points "/foo=/path/to/foo" "/chu=/path/to/chu"
    Burning to DVD-RW:

    If you are using a DVD-RW, you need to format your DVD-RW before you can burn to it.

    dvd+rw-format -force /dev/hdd
    Now you are ready to burn to your DVD-RW.

    Appending Data to DVD-RW:

    If you would like to add data to your DVD-RW from a previous burn you can append data by using the -M switch:

    growisofs -dvd-compat -input-charset=ISO-8859-1 -M /dev/hdd -R -J -pad -graft-points "/foo=/path/to/additonal/data"
    Burning an iso:

    If you used "dd" to created an ISO or made a backup of another DVD you've created. To burn that ISO use the following command.

    growisofs -dvd-compat -Z /dev/hdd=/path/to/image.iso

    "Nice jail. Looks strong."
    - H. Houdini

  2. #2
    Join Date
    Nov 2004

    Re: HOWTO: Burn DVD's from the command line

    Thanks man. Was usefull to me.

  3. #3
    Join Date
    Feb 2008

    Re: HOWTO: Burn DVD's from the command line

    EDIT: nevermind, dvd-compat option does it

    Question: In nero for windows, it gives an option for book-type which is usually set to automatic. Then when burning starts, it says "settingn book type to dvd-rom."

    Is there a way to set this in Linux?

    I tried using the DVD+RW-booktype tool, but I keep getting an error that my drive is not supported. My drive should be supported (it's a Lite-on) and nero will set this bit at the time of burning regardless of the drive type.
    Last edited by swordphsh; July 18th, 2008 at 11:42 PM.

  4. #4
    Join Date
    May 2009

    Re: HOWTO: Burn DVD's from the command line

    Nice job. Simple and a great reference for people who are memory challenged like me. My wife needed something burned when I was out of town. I had her put the disc into my server and I burned it remotely. Much appreciate your post!

  5. #5
    Join Date
    Aug 2011

    Re: HOWTO: Burn DVD's from the command line

    Thanks a lot!

  6. #6
    Join Date
    Sep 2010

    Re: HOWTO: Burn DVD's from the command line

    thanks good tutorial


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts