How can I burn a CD from Ubuntu server (command line)

Asked by komputes on 2008-09-30

I would like to know what steps I need to take to burn a few files onto a CD-R from the command line interface. I am using Ubuntu Server 8.04.1

Thanks!

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu cdrkit Edit question
Assignee:
No assignee Edit question
Last query:
2008-10-01
Last reply:
2008-10-02
komputes (komputes) said : #2

Thanks a lot for this link, but I had an issue blanking a CD-RW. I do not find all the information to be quite accurate, or at least the part for blanking CD's. Do you know if there is another way to burn a cd by command line without manually creating an iso of the data first?

--

##Not able to blank a CD-RW##

$ cdrecord -vv dev=1,0 blank=all
TOC Type: 1 = CD-ROM
wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.scsidev: '1,0'
scsibus: 0 target: 1 lun: 0
WARNING: the deprecated pseudo SCSI syntax found as device specification.
Support for that may cease in the future versions of wodim. For now,
the device will be mapped to a block device file where possible.
Run "wodim --devices" for details.
Error trying to open /dev/scd0 exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/scd0 exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/scd0 exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/scd0 exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/scd0 exclusively (Device or resource busy)... giving up.
WARNING: /dev/scd0 seems to be mounted!
wodim: No such file or directory.
Cannot open SCSI driver!
For possible targets try 'wodim --devices' or 'wodim -scanbus'.
For possible transport specifiers try 'wodim dev=help'.
For IDE/ATAPI devices configuration, see the file README.ATAPI.setup from
the wodim documentation.

Gord Allott (gordallott) said : #3

as far as i am aware all burning applications like to have an .iso to burn from

Error trying to open /dev/scd0 exclusively (Device or resource busy)... retrying in 1 second.
this suggests that you have something open in the cdrw drive (a folder, a terminal or something), in essense its 'busy' because something else is still using that drive and thus it can't be blanked until its not busy.

Can you help with this problem?

Provide an answer of your own, or ask komputes for more information if necessary.

To post a message you must log in.