You are not logged in.

#1 2008-10-03 14:06:45

cinan
Member
From: Slovakia
Registered: 2008-07-04
Posts: 251
Website

Question about CD burning

Hi,
Is it true I must make an ISO from files on HDD and then I can burn the ISO to CD? I thought it's easier - just burn files to CD. I'm reading wiki and there's nothing about burning files to CD. I don't want to use GUI software for burning.
Thanks

Offline

#2 2008-10-03 14:27:10

kamituel
Member
From: Poland
Registered: 2006-09-14
Posts: 47
Website

Re: Question about CD burning

Generally speaking yes, you have to create iso image and then burn it. But to speed things up, you can use a pipe:
mkisofs [some opts] | cdrecord [some opts]
so you would burn image directly to the CD, without writing it to disk.


I tried, I failed, no matter. Try again, fail again, fail better.

Offline

#3 2008-10-03 14:58:51

cinan
Member
From: Slovakia
Registered: 2008-07-04
Posts: 251
Website

Re: Question about CD burning

Something like this?
mkisofs -V name_CD -J -r -o image.iso /directory/ | wodim -v dev=/dev/dvd image.iso

Offline

#4 2008-10-04 09:25:06

kamituel
Member
From: Poland
Registered: 2006-09-14
Posts: 47
Website

Re: Question about CD burning

Yes, presumably, although I'm not sure because I haven't used this in a long time (nowadays I'm not using my CD burner very often and I'm using GUI frontends).


I tried, I failed, no matter. Try again, fail again, fail better.

Offline

#5 2008-10-04 10:26:31

arch0r
Member
From: From the Chron-o-John
Registered: 2008-05-13
Posts: 597

Re: Question about CD burning

# create .iso of directory
mkisofs -r -o image.iso /directory/

# make sure which device is your cd/dvd burner
wodim --devices

# burn iso using cdrecord
cdrecord -v -eject speed=10 dev=/dev/scd0 image.iso

-v = verbose
- eject = ejects disc after writing
speed = defines the writing speed
dev = cd/dvd burner device (wodim --devices)

Last edited by arch0r (2008-10-04 10:26:59)

Offline

#6 2008-10-04 15:29:27

dsr
Member
Registered: 2008-05-31
Posts: 187

Re: Question about CD burning

I haven't burned CDs recently, but I think the pipe would be something like

genisoimage -V CD_NAME -J -r DIR | wodim -v dev=/dev/sr0 -

You would need to omit '-o IMAGE' from genisoimage if you want it to output to stdout, and you would replace 'IMAGE' with '-' in wodim to read from stdin.

Offline

#7 2008-10-06 14:44:22

cinan
Member
From: Slovakia
Registered: 2008-07-04
Posts: 251
Website

Re: Question about CD burning

Thanks! That's what I need.

Offline

#8 2008-10-06 20:15:36

dsr
Member
Registered: 2008-05-31
Posts: 187

Re: Question about CD burning

No problem. mkisofs is just a symlink to genisoimage, by the way.

Offline

Board footer

Powered by FluxBB