0、软件: cdrtools2.0以上版本和dvd+rw-tools,前者用来制作ISO和刻录CD-RW,后者用来刻录DVD-RW(可以直接刻录,无须制作ISO)。
1、确定设备号(即刻录机设备号):
~ $ cdrecord dev=ATAPI -scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.18-gentoo
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
scsibus0:
0,0,0 0) 'PIONEER ' 'DVD-RW DVR-110 ' '1.37' 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) *
可见刻录机设备号为 ATAPI:0,0,0
2、制作ISO: mkisofs -V LabelName -J -jcharset=utf8 -r -o /home/TargetImage.iso /home/my-data-dir
这样做出来的ISO可以刻录在CD-RW DVD-RW上。
3、刻录:
a、用cdrecord刻录 CD:cdrecord dev=ATAPI:0,0,0 speed=4 fs=32m -v -eject [-dummy] /home/TargetImage.iso
b、用growisofs刻录DVD: growisofs -dvd-compat -Z /dev/dvd -V LabelName -r -J -jcharset=utf8 /home/data-dir
用growisofs刻录DVD 镜像: growisofs -dvd-compat -Z /dev/dvd=TargetImage.iso
4、清空CD-RW: cdrecord dev=ATAPI:0,0,0 speed=4 -v blank=fast
有时候用blank=fast可能无法进行,可以尝试用blank=all,不过将花费更多的时间。
5、参考:
阅读(622) | 评论(0) | 转发(0) |