プロが教えるわが家の防犯対策術!

cdrecordコマンドで焼くことができません。
下記エラーメッセージが出たのですがどう対処すればよいでしょうか?

[root@localhost test]# ll te
合計 99592
-rw-r--r-- 1 root root 5 10月 13 13:52 a
-rw-r--r-- 1 root root 119 10月 13 13:58 a.tar.gz
drwxr-xr-x 2 root root 4096 11月 1 13:52 ab
-rw-r--r-- 1 root root 50355835 10月 10 08:57 linux-2.6.27.tar.bz2
-rw-r--r-- 1 root root 50355835 10月 10 08:57 linux-2.6.27.tar.bz2.1
-rw-r--r-- 1 root root 1145028 10月 13 14:22 patch-2.6.27.bz2
[root@localhost test]# mkisofs testimg.iso te
INFO: UTF-8 character encoding detected by locale settings.
Assuming UTF-8 encoded filenames on source filesystem,
use -input-charset to override.
mkisofs: No such file or directory. Invalid node - testimg.iso
[root@localhost test]# mkisofs -o testimg.iso te
INFO: UTF-8 character encoding detected by locale settings.
Assuming UTF-8 encoded filenames on source filesystem,
use -input-charset to override.
Unknown file type (unallocated) te/.. - ignoring and continuing.
10.02% done, estimate finish Tue Nov 18 17:42:13 2008
20.06% done, estimate finish Tue Nov 18 17:42:23 2008
30.06% done, estimate finish Tue Nov 18 17:42:37 2008
40.09% done, estimate finish Tue Nov 18 17:42:36 2008
50.12% done, estimate finish Tue Nov 18 17:42:35 2008
60.12% done, estimate finish Tue Nov 18 17:42:32 2008
70.15% done, estimate finish Tue Nov 18 17:42:33 2008
80.15% done, estimate finish Tue Nov 18 17:42:38 2008
90.19% done, estimate finish Tue Nov 18 17:42:37 2008
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 2372
Path table size(bytes): 20
Max brk space used 0
49913 extents written (97 MB)
[root@localhost test]# cdrecord -scanbus
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.
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').
scsibus1:
1,0,0 100) 'NECVMWar' 'VMware IDE CDR10' '1.00' Removable CD-ROM
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
[root@localhost test]# cdrecord -v speed=16 dev=0,0,0 testimg.iso
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...
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'.
[root@localhost test]#

A 回答 (4件)

デバイスの指定間違えてません?


dev=0,0,0とdev=1,0,0で

cdrecordでターゲットのdev番号と
scanbusのターゲットが違うような。。。


cdrecord -prcap dev=0,0,0
cdrecord -prcap dev=1,0,0
を実行してみればわかるかもです。
    • good
    • 0

 もしVMWareゲスト上だったら質問の前提条件として質問文に書くだろうと思っていたので(コマンドの結果からVMWareゲスト上だというのは明らかなのを)あえて無視したのだが、VMWareのゲストOSでやろうとしているんじゃないよね? VMWareではホスト上の物理CD-RWドライブは論理CD-ROMドライブとして認識される。

なので当然焼くことはできません。

 一応それでもVMWareゲストOS上で焼きたいという場合は、まずホストOS上でSCSI CD-RWドライブを用意し、ゲストOSにはこれをSCSIパススルー(Raw Accessとも言う)でSCSIデバイスとして認識させれば良いですな。
    • good
    • 0

全然解決にはなりませんが, VMware 上で書きこめるものなんでしょうか?


VMware の方で何か設定をしなきゃならないとか, そういうことはありませんか?
    • good
    • 0

[root@localhost test]# cdrecord -v speed=16 dev=0,0,0 testimg.iso


 ↓
[root@localhost test]# cdrecord -v speed=16 dev=ATA:0,0,0 testimg.iso
とすれば幸せになれるかも知れません。

この回答への補足

ちなみにこちらも試しました。

[root@localhost ~]# cdrecord -v speed=16 dev=/dev/hdc testimg.iso
・・・
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: '/dev/hdc'
devname: '/dev/hdc'
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').
SCSI buffer size: 64512
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'NECVMWar'
Identifikation : 'VMware IDE CDR10'
Revision : '1.00'
Device seems to be: Generic mmc CD-ROM.
Current: 0x0000
Profile: 0x0010
cdrecord: Sorry, no CD/DVD-Recorder or unsupported CD/DVD-Recorder found on this target.

補足日時:2008/11/19 07:16
    • good
    • 0
この回答へのお礼

以下メッセージが出てエラーとなりました。
また、GUIのxcdroastで試しましたが、書き込みcdドライブのプルダウンで何も選択できません。(読み込みCDドライブには出てきました)
どうやらCD-ROMとしては認識しているが、CD-RWとしては認識してくれていないようです。
うーむ。どうしたらよいでしょうか?
[root@localhost ~]# cdrecord -v speed=16 dev=ATA:0,0,0
・・・
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: 'ATA:0,0,0'
devname: 'ATA'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.5.27
cdrecord: Invalid argument. SCSI unsupported with '/dev/hd*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

お礼日時:2008/11/19 07:15

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!