Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-06-2013, 08:24 AM   #1
Registered: Feb 2013
Posts: 273

Rep: Reputation: 9
how to burn files into a DVD from command line?


My system is not directing me to the GUI gnome 3 in fedora 18.

I need to make a back up of my home directories from the commandline. Any one can give me the commands to burn all file to a DVD?
Old 06-06-2013, 08:27 AM   #2
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,225

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
hmm i can tell you the commands are mkisofs and cdrecord, though i forget the specifics of how to use them.
Old 06-06-2013, 09:28 AM   #3
Senior Member
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,871

Rep: Reputation: 253Reputation: 253Reputation: 253
Do a search on CLI burning. This has been answered many times on LQ.
Here are some examples

Make .iso from multiple directories
genisoimage -J -r -pad -graft-points dir1/=/path/files dir2/=/path/files dir3/=/path/files > filename.iso
Make .iso from directory
mkisofs -R -J /path/to/files -o /path/to/output.iso
Burn .iso to DVD
growisofs -dvd-compat -speed=8  -use-the-force-luke=tty -Z /dev/sr0=/path/file.iso
Burn DVD from files
growisofs -use-the-force-luke=tty -Z /dev/sr0 -J -r -speed=8 -dvd-compat -pad -graft-points /path/file1.avi /path/file2.avi /path/file3.avi
Burn .iso to CD
wodim speed=8 -tao dev=/dev/sr0 /path/file.iso
Burn files to CD
mkisofs -J -r -pad -graft-points /path/file /path/file | cdrecord dev=1,1,0 speed=8 -
genisoimage -J -r -pad -graft-points /path/file /path/file | cdrecord dev=1,1,0 speed=8 -
Write audio CD
cdrecord -v dev=/dev/sr0 speed=8 -audio -pad *.wav
You can also write a DVD-CD with dd
1 members found this post helpful.
Old 06-06-2013, 09:50 AM   #4
Registered: Feb 2013
Posts: 273

Original Poster
Rep: Reputation: 9
Originally Posted by frieza View Post
hmm i can tell you the commands are mkisofs and cdrecord, though i forget the specifics of how to use them.
Thanks, just searched them(mkisofs and cdrecord and growisofs) in the net and could successfully backup
Old 06-06-2013, 11:21 AM   #5
Registered: May 2013
Location: Brooklyn, New York
Distribution: Linux Mint 15/Ubuntu 13.10/Debian 7/SUSE 11.x/openSUSE 12.3/RHEL 6.4/Fedora 18/Slackware, and 5 more
Posts: 111

Rep: Reputation: 6
Technically, if it is an img file, iso, or something similar, you can use the dd command like so,
dd if=path to image of=/dev/cdrom or wherever the destination is

Last edited by 13stein.j; 06-06-2013 at 11:22 AM. Reason: misinformation
Old 06-06-2013, 12:11 PM   #6
Registered: Jun 2013
Location: New York City
Distribution: Arch
Posts: 33

Rep: Reputation: 44
Great examples teckk

I want to add that that the dev address has to be adjusted for cdrecord as it may differ per system.

cdrecord --scanbus

Last edited by linuxCode; 06-06-2013 at 12:58 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to burn Data (file) with command line (at terminal) to DVD rewrite thuan1975 Linux - Newbie 4 05-17-2010 05:53 AM
How to burn a cd in the command line mloberg Linux - Software 1 08-31-2008 10:50 PM
Can burn from command line, but not K3B TravisOSF Slackware 1 03-18-2005 01:44 AM
Can somebody like share me to write files to DVD disc in command line? exper Linux - Software 3 08-11-2004 07:58 PM
how to burn audio cd from command line rip Linux - Software 2 05-14-2003 11:56 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:09 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration