[SOLVED] cdrecord: No such file or directory. Cannot open '/dev/pg0'. Cannot open SCSI driver.
Linux - SoftwareThis 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.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
cdrecord: No such file or directory. Cannot open '/dev/pg0'. Cannot open SCSI driver.
Hi
I am trying to burn a iso (DVD) image using cdrecord
when I do cdrecord -scanbus I get this out put
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schill ing
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to http://bugzilla.redhat.com/ bugzilla
Note: The author of cdrecord should not be bothered with problems in this versio n.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#)scsi-linux-sg.c 1.83 04/05/20 Copyright 1997 J. Schilling').
scsibus0:
0,0,0 0) 'TEAC ' 'DV-W28ECW ' 'G.C4' 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) *
And when I try to run cdrecord I am getting this error
[root@dbsrv5 asanka]# cdrecord -v -dao dev=0,0,0 my1.iso
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to http://bugzilla.redhat.com/bugzilla
Note: The author of cdrecord should not be bothered with problems in this version.
TOC Type: 1 = CD-ROM
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
cdrecord: No such file or directory. Cannot open '/dev/pg0'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
What is this all about and can some one tell me how to fix this
In /etc/fstab the following line is commented out. Why?
#/dev/hda /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0
The results of lspci and ls -l /dev show that your CD/DVD is on /dev/hda so that line of /etc/fstab should not be commented out.
uname shows that you are using kernel 2.6. Therefore you should use IDE support for a CD/DVD and not use SCSI or ide-scsi emulation. If you passed the kernel a parameter which says /dev/hda=ide-scsi then remove it.
/dev/cdrom, /dev/cdwriter, /dev/dvd, and /dev/dvdwriter are all correctly linked to /dev/hda so you can use any of them to address the CD/DVD.
Your cdrecord command should use IDE addressing, not scsi addressing. So your command should be:
cdrecord -v -dao dev=dvdwriter my1.iso
-dao only works with some CD/DVD drives. If -dao does not work with your drive try:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.