Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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-18-2006, 09:08 PM   #1
Registered: Aug 2005
Location: Montréal
Distribution: Debian Testing, Slackware 10.2
Posts: 136

Rep: Reputation: 15
cannot burn a cd


I try to burn an image file with

cdrecord dev=0,0,0 file.iso
but I cannot do it:

cdrecord: No such file or directory. Cannot open '/dev/pg0'. Cannot open SCSI driver.
I'm root and I see with 'cdrecord -scanbus' that '0,0,0' is correct
        0,0,0     0) 'PHILIPS ' 'DVD+RW SDVD6004 ' '1.03' Removable CD-ROM
        0,1,0     1) *
        0,2,0     2) *

where is the problem ?

Thank you.
Old 07-18-2006, 09:21 PM   #2
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
If you are using a 2.6 kernel, then try something like
#cdrecord -v -eject dev=/dev/hdc filename.iso
Old 07-18-2006, 09:41 PM   #3
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
What version of cdrecord and what version of Fedora Core??? Which device is the recorder??

ls -al /dev/cdrom
/usr/bin/cdrecord -version

The cdrecord command needs a bit more, for example;

cdrecord -v -pad speed=XX dev=/dev/cdrom file.iso

where XX is from 1-16[8 for RW media] in your case.
Old 07-18-2006, 10:35 PM   #4
Registered: Aug 2005
Location: Montréal
Distribution: Debian Testing, Slackware 10.2
Posts: 136

Original Poster
Rep: Reputation: 15
reddaz is right.

it's 2.01-dvd version of cdrecorder and cdrom is on hda

what i wonder is why it always worked with 0,0,0 (or 1,0,0 or whatever -scanbus finds), but not now.

another interesting detail: with dev=/dev/hda, i see that cdrecord finds 'scsibus: -2 target: -2 lun: -2', but when i dev=-2,-2,-2, the same error - cannot find the device.

anyway, it works with dev=/dev/hdX in 2.6.11.

thank YOUUUUU!!!!!!!!!!!
Old 07-18-2006, 10:51 PM   #5
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 125Reputation: 125
I believe they've been updating the syntax to move a bit away from the SCSI format to one more oriented towards IDE and ATAPI for those devices. You could still use dev=ATAPI:0,0,0 as well.


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
k3b won't burn CD-R's but does burn DVDs. Livino Linux - Newbie 6 03-18-2006 06:51 PM
Nero Burn Process Failed[Trying to burn ISo of PCliveilnux Os] Chaosbringer Linux - Software 3 02-02-2006 07:09 AM
where can i get a free program to burn isos in winxp so i can burn a distro? Me61289 Linux - Newbie 5 08-17-2004 03:36 AM
k3b error with audio cd burn (no prob with iso burn) bluem Linux - Newbie 1 04-16-2004 09:05 AM
Do I burn the ISO, or burn what's contained in it? Borg Swarm Linux - General 1 02-06-2004 06:30 PM > Forums > Linux Forums > Linux - Software

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

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