LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-09-2009, 04:03 AM   #1
peddip
Member
 
Registered: Dec 2008
Posts: 51

Rep: Reputation: 16
Burning DVD in Linux


Hi,

How can i burn DVD in Linux? I tried the below command and it was not successful, Please find the out put of the command also.

# cdrecord -v speed=16 dev=ATA:0,0,0 -sao /NewSpace/Backup/eol_09-May-2009.tar
Cdrecord-Clone 2.01-dvd (--) Copyright (C) 1995-2004 Jörg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to http://bugzilla.redhat.com/bugzilla
Note: The author of cdrecord should not be bothered with problems in this version.
TOC Type: 1 = CD-ROM
scsidev: 'ATA:0,0,0'
devname: 'ATA'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#)scsi-linux-sg.c 1.83 04/05/20 Copyright 1997 J. Schilling').
SCSI buffer size: 64512
atapi: -1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'DVDRW '
Identifikation : 'IDE H16X '
Revision : 'B02V'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0011
Profile: 0x0015
Profile: 0x0016
Profile: 0x002B
Profile: 0x001B
Profile: 0x001A
Profile: 0x0014
Profile: 0x0013
Profile: 0x0012
Profile: 0x0011 (current)
Profile: 0x0010
Profile: 0x000A
Profile: 0x0009
Profile: 0x0008
Profile: 0x0002
cdrecord: Found DVD media: using cdr_mdvd.
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Drive buf size : 1015808 = 992 KB
FIFO size : 4194304 = 4096 KB
Track 01: data 4487 MB
Total size: 5154 MB (510:37.73) = 2297830 sectors
Lout start: 5154 MB (510:39/55) = 2297830 sectors
Current Secsize: 2048
ATIP start of lead in: -150 (00:00/00)
Disk type: unknown dye (reserved id code)
Manuf. index: -1
Manufacturer: unknown (not in table)
Blocks total: 2298496 Blocks current: 2298496 Blocks remaining: 666
scsi_set_streaming
Speed set to 22160 KB/s
Starting to write CD/DVD at speed 17.0 in real SAO mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
trackno=0
BURN-Free is OFF.
BURN-Free is OFF.
Performing OPC...
Sending CUE sheet...
cdrecord: WARNING: Drive returns wrong startsec (0) using -150
Starting new track at sector: 0
Track 01: 2758 of 4487 MB written (fifo 98%) [buf 45%] 0.3x.cdrecord: Success. write_g1: scsi sendcmd: no error
CDB: 2A 00 00 15 8D 08 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 71 00 03 00 00 00 00 0A 00 00 00 00 0C 00 00 00
Sense Key: 0x3 Medium Error, deferred error, Segment 0
Sense Code: 0x0C Qual 0x00 (write error) Fru 0x0
Sense flags: Blk 0 (not valid)
resid: 14336
cmd finished after 1.590s timeout 200s

write track data: error after 2892513280 bytes
cdrecord: A write error occured.
cdrecord: Please properly read the error message above.
Writing time: 2080.734s
Average write speed 1.6x.
Min drive buffer fill was 2%
Total of 80 possible drive buffer underruns predicted.
Fixating...
Fixating time: 0.083s
cdrecord: fifo had 45624 puts and 45561 gets.
cdrecord: fifo was 0 times empty and 42898 times full, min fill was 40%.

Can any body please help me over here to burn DVD in Linux.
 
Old 05-09-2009, 04:33 AM   #2
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Which linux version do you use ?
Normally I use k3b to do the job.
Sometimes you have to install k3b
 
Old 05-09-2009, 05:06 AM   #3
peddip
Member
 
Registered: Dec 2008
Posts: 51

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by ronlau9 View Post
Which linux version do you use ?
Normally I use k3b to do the job.
Sometimes you have to install k3b
Thanks for your reply, I use Red Hat Enterprise Linux ES release 4 (Nahant).How do we use this k3B and what exactly is it?

Can i burn a tar file to DVD in Linux, How do i take backup of home directories to DVD.

Last edited by peddip; 05-09-2009 at 05:15 AM.
 
Old 05-09-2009, 05:40 AM   #4
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
K3b is software burning program in GUI it can burns CDs and DVDs
It also can burns data files as well
Never use Red Hat .
But it is in Fedora In Fedora you can install it using the package manager or yum

Last edited by ronlau9; 05-09-2009 at 05:43 AM.
 
Old 05-09-2009, 05:49 AM   #5
peddip
Member
 
Registered: Dec 2008
Posts: 51

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by ronlau9 View Post
K3b is software burning program in GUI it can burns CDs and DVDs
It also can burns data files as well
Never use Red Hat .
But it is in Fedora In Fedora you can install it using the package manager or yum
By the way, what do you mean by never use Red Hat? I have Red Hat Linux only and i want to take backup of some data in DVD's.
 
Old 05-09-2009, 08:07 PM   #6
botnet
Member
 
Registered: May 2009
Posts: 158

Rep: Reputation: 40
i always use the following to burn data dvd's

growisofs -dvd-compat -Z <device> -joliet-long -R /path/to/data
 
Old 05-09-2009, 09:42 PM   #7
ssaha
Member
 
Registered: Feb 2009
Location: Kolkata,India
Distribution: Fedora 8,Ubuntu 8.04, 8.10, 9.04, 9.10
Posts: 108

Rep: Reputation: 18
u can use the software Brasero also...nero for linux is also available but its proprietary...
 
Old 05-10-2009, 04:53 AM   #8
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
I would use:

Code:
growisofs -dvd-compat -speed=1 -use-the-force-luke=bufsize:32m -Z /dev/dvdrw -graft-points -rational-rock -full-iso9660-filenames -iso-level 2 directory/to/burn
make sure to set the speed to something else, I used 1 as an example.

Note that I actually make my own script to burn directories and isos, I ran k3b many times and saw how it did it, then make the script do the same thing. The above command is used by k3b for DVD burning.
 
Old 05-10-2009, 11:47 PM   #9
peddip
Member
 
Registered: Dec 2008
Posts: 51

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by H_TeXMeX_H View Post
I would use:

Code:
growisofs -dvd-compat -speed=1 -use-the-force-luke=bufsize:32m -Z /dev/dvdrw -graft-points -rational-rock -full-iso9660-filenames -iso-level 2 directory/to/burn
make sure to set the speed to something else, I used 1 as an example.

Note that I actually make my own script to burn directories and isos, I ran k3b many times and saw how it did it, then make the script do the same thing. The above command is used by k3b for DVD burning.
Thanks for your replies.

I've used growisofs -Z /dev/dvd -R -J /path to .tar file to burn the DVD but it burned some 326kb data and said that burn process has been completed.

When i mount the DVD there was noting in the DVD.

Any suggestions please?
 
Old 05-11-2009, 12:53 AM   #10
peddip
Member
 
Registered: Dec 2008
Posts: 51

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by botnet View Post
i always use the following to burn data dvd's

growisofs -dvd-compat -Z <device> -joliet-long -R /path/to/data
Can this command be used to burn a tar file of size 4.5GB to DVD.

I tried using the below command but useless,

growisofs -Z /dev/dvd -J -R /path/to/tarfile

Any suggestions please.
 
Old 05-11-2009, 02:54 AM   #11
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
Give it the path to a directory not to a file.
 
Old 05-12-2009, 04:21 AM   #12
peddip
Member
 
Registered: Dec 2008
Posts: 51

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by H_TeXMeX_H View Post
Give it the path to a directory not to a file.
Even this is not working for me.I used the below command to burn DVD

growisofs -Z /dev/dvd -R -J /Path to data

But nothing was burned on to DVD. I've got the below o/p

[root]# growisofs -Z /dev/dvd -R -J /NewSpace/Backup/EOL/
Executing 'mkisofs -R -J /NewSpace/Backup/EOL/ | builtin_dd of=/dev/dvd obs=32k seek=0'
INFO: UTF-8 character encoding detected by locale settings.
Assuming UTF-8 encoded filenames on source filesystem,
use -input-charset to override.
mkisofs: Value too large for defined data type. File /NewSpace/Backup/EOL/eol_09 -May-2009.tar is too large - ignoring
Total translation table size: 0
Total rockridge attributes bytes: 169
Total directory bytes: 0
Path table size(bytes): 10
/dev/dvd: "Current Write Speed" is 16.4x1385KBps.
Max brk space used 0
181 extents written (0 MB)
builtin_dd: 192*2KB out @ average infx1385KBps
/dev/dvd: flushing cache
/dev/dvd: updating RMA
/dev/dvd: closing session

after this when i mount and list the contents nothing is there in the DVD
 
Old 05-12-2009, 05:08 AM   #13
peddip
Member
 
Registered: Dec 2008
Posts: 51

Original Poster
Rep: Reputation: 16
i also used the below command to burn the data but i've got I/O error

growisofs -Z /dev/dvd -joliet-long -R /path/to/data

Error Message:
88.55% done, estimate finish Tue May 12 15:05:55 2009
88.91% done, estimate finish Tue May 12 15:05:55 2009
89.27% done, estimate finish Tue May 12 15:05:54 2009
:-[ WRITE@LBA=131930h failed with SK=3h/ASC=0Ch/ACQ=00h]: Input/output error
builtin_dd: 1251632*2KB out @ average 1.5x1385KBps
:-( write failed: Input/output error
/dev/dvd: flushing cache
/dev/dvd: updating RMA
/dev/dvd: closing session
/dev/dvd: reloading tray
 
Old 05-12-2009, 01:01 PM   #14
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
First of all, use the command that I posted.

Second ... it is recommended that you not try to burn files larger than 2GB to an ISO unless using UDF. To be most compatible just don't make a 4 GB tar file then put it on a disk ... that's a bad idea anyway.
 
Old 05-13-2009, 12:49 AM   #15
peddip
Member
 
Registered: Dec 2008
Posts: 51

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by H_TeXMeX_H View Post
First of all, use the command that I posted.

Second ... it is recommended that you not try to burn files larger than 2GB to an ISO unless using UDF. To be most compatible just don't make a 4 GB tar file then put it on a disk ... that's a bad idea anyway.
Hi, Thanks for your reply.

I've used this command and was able to burn the dvd.

growisofs -z /dev/dvd -joliet-long -R /path/to/data

Using the above command i was able to burn 2.5 GB of data.My intention of creating a tar file and trying to burn it was for preserving the permissions. Can this be done using growisofs?

I want to preserve the permissions as it is and want to burn the DVD.

I tried to burn some data which has files and directories in it, but there are some files which has spaces between the names, can growisofs ignore this one. When i tried burning it stopped in middle and gave the below error,

Incorrectly encoded string (e*Review_SCR_4339.xls,v) encountered.
Possibly creating an invalid Joliet extension. Aborting.
:-( write failed: Input/output error

please give me your suggestions on this.
 
  


Reply


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
need help burning linux to dvd so i can boot from it javamomma Linux - Newbie 24 04-12-2009 03:56 AM
Best free/low-cost Windows software for burning Linux iso's to CD/DVD-R CD/DVD-RW linus72 Linux - Newbie 14 04-10-2009 09:02 AM
Best Linux Freeware for Burning DVD Images Ascendancy5 Linux - Software 6 11-19-2008 10:44 AM
DVD burning IN Linux y2raza Linux - Newbie 8 03-18-2008 07:54 AM
Minimum (Linux) PC specs for DVD burning? Winno General 15 12-10-2004 05:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:48 PM.

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