Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 07-13-2004, 08:50 AM   #1
Registered: May 2001
Location: Canada
Distribution: old ones
Posts: 544

Rep: Reputation: 31
A question about cdrecord

Hello gurus,

My computer has Mandrake 9.2 on it (2.4.22-10). I have two CD drives, one is a Lite-on CD-ROM (IDE) and the other is a LG CD-RW (SCSI).

the command "cdrecord --scanbus" returns the following output:

Cdrecord-Clone 2.01a18-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
        0,0,0     0) 'LG      ' 'CD-RW CED-8080B ' '1.06' Removable CD-ROM
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
My question is, should I be concerned about the fact that my CD-ROM device is not detected, for example I might want to copy CDs?

My second question is that I'm not too familiar with the program, do I have to copy ISO's or can I do a CD-to-CD copy and if so, what is the command?

Thank you very much.
Old 07-13-2004, 09:27 AM   #2
Registered: Jul 2004
Posts: 47

Rep: Reputation: 20
You can relax.

It should still work. cdrecord requires the SCSI bus implimentation to talk to the recorder. the image information can still be retrieved from the IDE cdrom (/dev/hdc?). You may want to check out the cdrecord how to which is availabel at Lots of useful information. You may find that it is safer to make a copy of the iso image on your cd to the hard drive and then burn this iso image using cdrecord.

good luck

Old 07-15-2004, 04:57 PM   #3
Registered: May 2001
Location: Canada
Distribution: old ones
Posts: 544

Original Poster
Rep: Reputation: 31
Thanks for your reply. Question remains:

How do I do a CD- to CD copy?

WHen I type in this command:

$ cdrecord -v -eject dev=0,0,0 -data /mnt/cdrom/*

The output is
----- snip ------
Starting to write CD/DVD at speed 8 in real TAO 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.
Performing OPC...
Starting new track at sector: 0
Track 01: 0 MB written.cdrecord: Is a directory. read error on input file
Writing time: 0.020s
cdrecord: fifo had 2 puts and 1 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
--------- snip -----------
Old 07-16-2004, 03:10 PM   #4
Registered: Jul 2004
Posts: 47

Rep: Reputation: 20
You cannot have the cd mounted. cdrecord expects to use the raw iso image or some iso image and not the files on the cd. Here is a way to do it using a copy to hard disk.

dd if=/dev/cdrom of=foo.iso

this creates a copy of the cd including the iso files system on the hard drive then you can issue

cdrecord -v -eject dev=0,0,0 -data foo.iso

it should be possible to pipe the output from dd directly to cdrecord but I have never tried to do it since I am a firm believer in making an intermediate copy, but according to the CD-Writing-HOWTO section 4.7, you should be able to use

cdrecord -v dev=0,0,0 speed=2 -isosize /dev/cdrom

note the speed=2 can be changed but you may make some nice coaster instead of disk copies depending on youe system.
Old 07-16-2004, 03:16 PM   #5
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
an easy way to use cdrecord and cdrdao is to install the frontend k3b, available at

don't worry if scanbus doesn't show your cd writer; as long as the kernel detect it and you can mount from it, then cd writing should work
Old 07-19-2004, 10:59 AM   #6
Registered: May 2001
Location: Canada
Distribution: old ones
Posts: 544

Original Poster
Rep: Reputation: 31
soxplayer, Thanks for the info. So I guess I can only use cdrecord after I make an ISO file with mkisofs, if I understand it correctly. That clears things up, thanks.

SM: Thanks for the link, I'm having trouble connecting to that site right now (and alot of other sites, bad DNS) but when I get there, i will have to try that software. A GUI for CDRecord would be great, and I have KDE on here too. Thanks!


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
Cdrecord - flag question satimis Linux - General 1 05-27-2005 04:49 AM
cdrecord Question dollaz Linux - Software 2 12-30-2004 04:44 PM
Cdrecord question satimis Linux - Software 6 10-22-2004 09:46 PM
cdrecord question Lleb_KCir Linux - Software 7 04-13-2004 04:02 PM
Question with CDRecord Gerardoj Linux - Software 3 10-30-2003 03:57 PM > Forums > Linux Forums > Linux - Software

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

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