LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 01-02-2011, 06:04 AM   #1
piyusharora420
Member
 
Registered: Nov 2010
Posts: 93

Rep: Reputation: 0
how to burn a dvd without creating iso first?


hi everbody,
i want to burn a dvd with some data directly without creating .iso file before burning.right now i use to create an iso file first using mkisofs or dd command and then burn using cdrecord command.But i want to know whether is it possible to directly burn dvd without creating iso first?i use following commands-

Code:
mkisofs -o backup.iso -r -J /backup
and then burn iso using cdrecord

Code:
cdrecord -v -dao dev=0,1,0 backup.iso
please merge above two steps into one
 
Old 01-02-2011, 07:16 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
The tool you are looking for is growisofs. Does exactly what you want.
 
Old 01-02-2011, 07:26 AM   #3
piyusharora420
Member
 
Registered: Nov 2010
Posts: 93

Original Poster
Rep: Reputation: 0
how to use growisofs?
growisofs is available in centos 5.5 that i am using.but i dont know how to use growisofs.please write an example command.
 
Old 01-02-2011, 07:51 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
How about
Code:
man growisofs
The usage is explained in there. And this is also very helpful.
 
1 members found this post helpful.
Old 01-03-2011, 01:11 AM   #5
piyusharora420
Member
 
Registered: Nov 2010
Posts: 93

Original Poster
Rep: Reputation: 0
can't you show me an example please?
let me explain what i really want to do.i have two dvd-rw attached on my pc and i want to burn dvd to dvd with both dvd-rw filled.means dvd to dvd burning without saving iso image
 
Old 01-03-2011, 05:15 AM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
Sorry, seems to me that I misunderstood your question. I thought that you want to burn some folders from your harddisk to a CD/DVD without making an ISO-image first, that is what growisofs is for. I don't think that you can use it for a direct copy, I think the simplest way would be to use a graphical tool for that, but may be anyone else can help here.
 
Old 02-02-2011, 03:35 AM   #7
BoraxMan
Member
 
Registered: Apr 2010
Posts: 84

Rep: Reputation: 8
I think you can do it this way, and this is the way I'd prefer. Make a named pipe. This is a special file which you can pipe data to, then read from. It doesn't actually write to disk.

mkfifo image.iso

This makes a pipe

Then read the dvd outputting to this file.

readcd dev=/dev/dvd f=image.iso

Replace /dev/dvd to the device containing the source DVD. you may need to run 'readom' instead of 'readcd'.

Then, while thats running, in another terminal, run

growisofs -Z /dev/dvdwriter=image.iso

agan, replace /dev/dvdwriter as necessary. Despite the fact the data 'appears' to be written and read from a disk, its actually piped from one program to the other, so its all done on the fly.


There might be a way to pipe the output of one program to the other. You can pipe the output of readcd to stdout like this

readcd dev=/dev/dvd f=-

and growisofs can burn from stdin like this
growisofs -Z /dev/dvdwriter=/dev/stdin so maybe this will work

readcd dev=/dev/dvd f=- | growisofs -Z /dev/dvdwriter=/dev/stdin
 
Old 02-02-2011, 11:22 AM   #8
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Wouldn't this work:

Code:
growisofs -dvd-compat -speed=4 -use-the-force-luke=bufsize:32m -Z /dev/dvdrw=/dev/dvd
/dev/dvd is the source
/dev/dvdrw is the destination

I've never tried this, so I don't know if it'll work.
 
Old 02-02-2011, 11:33 AM   #9
aj4ck
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Rep: Reputation: 0
how about dd if= old-dvd-cd of= new dvd-cd
 
  


Reply

Tags
burn, cdrecord, iso, mkisofs


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
creating dvd iso out of cd iso(s) + genisoimage error speedhunt3r Linux - Software 0 04-14-2009 04:26 PM
Can I burn Fedora-8-i386-dvd.iso to CD's? I do not have a DVD burner Learn41 Linux - Newbie 5 02-18-2008 07:46 PM
Suse 9.3 DVD ISO How to Burn To DVD saxman101 Linux - Newbie 10 07-08-2005 07:16 PM
How to burn the downloaded Fedora 3 DVD ISO onto DVD yaabaa Linux - Newbie 10 03-14-2005 06:14 AM
The Best Way to Burn a DVD ISO dolphans1 Mandriva 32 11-26-2004 08:43 PM


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

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration