cdrecord -v -eject dev=ATAPI:/dev/hdxcdrecord imgname.iso
好象是错了,我用的是:
cdrecord -v -eject dev=ATAPI:/dev/hdx cdrecord imgname.iso
/dev/hdx这里我用的是我机器上光驱的位置:/dev/hdb
之后显示:
Cdrecord-Clone 2.01a19 (i686-redhat-linux-gnu) Copyright (C) 1995-2003 J 是不是我只要用相应的名字代替imgname.iso就可以了???
我感觉自己好象离胜利不远了,呵呵呵! 我把它改成这样:
cdrecord -v -eject dev=ATAPI:/dev/hdx /home/sutie/beifen001
得到了以下结果:
Cdrecord-Clone 2.01a19 (i686-redhat-linux-gnu) Copyright (C) 1995-2003 Jrg Schi lling
TOC Type: 1 = CD-ROM
cdrecord: Operation not permitted. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: 'ATAPI:/dev/hdb'
devname: 'ATAPI:/dev/hdb'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.7'
SCSI buffer size: 64512
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'ATAPI '
Identifikation : 'CD-RW 48X24 '
Revision : 'D.SC'
Device seems to be: Generic mmc CD-RW.
Current: 0x0000
Profile: 0x000A
Profile: 0x0009
Profile: 0x0008
Profile: 0x0002
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE FORCESPEED
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1961344 = 1915 KB
FIFO size : 4194304 = 4096 KB
Track 01: dataunknown length
Total size: 0 MB (00:00.00) = 0 sectors
Lout start: 0 MB (00:02/00) = 0 sectors
cdrecord: Input/output error. test unit ready: scsi sendcmd: no error
CDB:00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 01 00 00 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x3A Qual 0x01 (medium not present - tray closed) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.000s timeout 40s
cdrecord: No disk / Wrong disk!
估计是可以了!(我没放刻录碟 :mrgreen: )
对不起,还有一个很菜的问题:cdrecord可以像我刚才那样来刻录文件夹内的东西吗?
还是有别的参数???谢谢!! 应该可以了,但你要注意:
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
这种ATAPI直接刻录方式还只是alpha阶段,可能存在问题
如果你不想用命令方式刻录的话,建议下载最新的k3b,试试看能否支持ATAPI直接刻录(我用ml上自带的版本不支持ATAPI直接刻录,找不到刻录设备,必须要虚拟成scsi才能检测到刻录机) 那段我写错了(我也不知道自己怎么会写错的),应该是cdrecord -v -eject dev=ATAPI:/dev/hdx imgname.iso吧(还是那句话:没试过,不敢胡说,推荐模拟成scsi烧鸡进行操作),2.4.x内核似乎还不支持ide烧鸡吧?
另外,如果要烧录某个目录下的数据,可以通过mkisofs创建iso,用cdrecord刻录:
mkisofs -o -r filename.iso dirname 经过兄弟们的指点,我终于烧鸡成功了!!!
我先用visionalstar的方法把要烧的文件做成ISO:
mkisofs -o -r filename.iso dirname
这里的这个命令不知道为什么不行,我改成了:
mkisofs -o filename.iso dirname
做成了ISO但是不支持中文文件名!!! 之后用:
cdrecord -v -eject dev=ATAPI:/dev/hdx imgname.iso
来进行烧录,基本顺利!时间挺短的,基本2,3分钟吧,就好了!
这里比在windows下面快多了! 我的截图! 我的截图! 我现在搞不懂了,可能是我的这个内核比较特殊???为什么可以直接用IDE来烧鸡???
下面是我内核的scsi support的截图! 经过兄弟们的指点,我终于烧鸡成功了!!!
做成了ISO但是不支持中文文件名!!!
mkisofs需要打patch才能处理cjk字符,看做这里http://cdlinux.berlios.de/index-cn.html :mrgreen::mrgreen: 多谢多谢!!!! 我的原来就有只要加上参数就行!!
mkisofs -o filename.iso -joliet -r dirname 不过还是多谢!!! :mrgreen::mrgreen::mrgreen:
页:
1
[2]