CD Burning Under Linux

Live forum: /viewtopic.php?t=133

TheDanMan

16-05-2005 09:12:19

Enlighten me :-)

Command line as well as gui apps. Mucho thanks.

chad

16-05-2005 10:18:56

gui = k3b (there are others)
cli = cdrecord

wolfie

16-05-2005 10:45:11

cdrecord works well, when I get home I will post some "common" options for burning with cdrecord.

xcdroast has been my gui burning friend for quite a while, YMMV

gimp335

17-05-2005 12:54:39

I use k3b for individual files and cdrecord for .iso's. When burning files we need to make an iso image before using cdrecord to burn, so I use k3b for files since it does this on the fly. I imagine there is a way to get cdrecord to create an iso on the fly but I don't know it.

But if I were to use cdrecord to burn a bunch of files:
For an example, say I had a bunch of assorted files I wanted to burn on one cd. First, I would put all the files in there own dir such as /home/user/iso

Then, I would use mkisofs to make the iso image.

mkisofs -r -J -o newimage.iso /home/user/iso/*

This will create an iso image file named newimage.iso with all the files in /home/user/iso/

Then I want to use cdrecord. To find out where my cdrw is:

cdrecord -scanbus

This tells me my cdrw is at 0,0,0
So I want to issue this command to burn the iso to cd:

cdrecord -v dev=0,0,0 speed=40 -eject /home/user/iso/newimage.iso

And that will burn the image to disk in verbose mode using device 0,0,0 at 40x speed and eject upon completion.

Of course, you will want to check out all the command options for mkisofs and cdrecord. You can likely find a better way. This is just how I would do it.

TheDanMan

20-05-2005 10:31:50

mucho gracias!

TheDanMan

03-06-2005 09:28:24

dweaver@dansdungeon:~$ cdrecord -scanbus
Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Joerg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
and thus may have bugs that are not present in the original version.
Please send bug reports and support requests to <cdrtools@packages.debian.org>.
The original author should not be bothered with problems of this version.

cdrecord: Warning: Running on Linux-2.6.10-5-386
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
cdrecord:
cdrecord: For more information, install the cdrtools-doc
cdrecord: package and read /usr/share/doc/cdrecord/README.ATAPI.setup .

wolfie

03-06-2005 09:43:01

dweaver@dansdungeon:~$ cdrecord -scanbus


cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.



Did you see that line above? Looks like you are not root, you probably don't have permissions to the devices as a normal user.

TheDanMan

03-06-2005 11:22:35

sudo cdrecord -scanbus
Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Joerg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
and thus may have bugs that are not present in the original version.
Please send bug reports and support requests to <cdrtools@packages.debian.org>.
The original author should not be bothered with problems of this version.

cdrecord: Warning: Running on Linux-2.6.10-5-386
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
cdrecord:
cdrecord: For more information, install the cdrtools-doc
cdrecord: package and read /usr/share/doc/cdrecord/README.ATAPI.setup .



:-(

Anonymous

03-06-2005 13:20:25

Yeah. I got that stuff too at first using a 2.6.x kernel. If you are using a 2.6.x kernel try using cdrecord -scanbus=ATA

Also make sure you do NOT have the append="hdd=ide-scsi" line in your lilo.conf.

I think I may have had to uninstall/reinstall cdrecord after switching to 2.6.x.

gimp335

03-06-2005 13:22:01

Ugh. I always forget to log in before posting. That last was from me.

jaeger

09-06-2005 12:27:26

Another way that works is:

cdrecord dev=ATAPI: -scanbus

ide-scsi emulation is really not ideal in 2.6, I hope it goes away entirely at some point.

diggitz

06-07-2005 16:49:44

If you're looking for good GUI frontends to cdrecord, etc, try eroaster or gtoaster.
I prefer eroaster (http//sourceforge.net/projects/eroaster/), but use gtoaster (http//gnometoaster.rulez.org/) at work, and it's not bad once you get used to it.

I just got a DVD burner at home and have yet to find the time to even look into whether/how well/how easily it works under linux, but I'll let you know when I find out ;)