2009年9月6日星期日

linux cmd方式 下製作iso,并burn iso

 

1. 製作 iso文件 dd if=/dev/dvd of=dvd.iso # for dvd

2.檢查那個刻錄設備

[root@CRRACTEST2 ~]# cdrecord -scanbus
Cdrecord-Clone 2.01 (cpu-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.
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').
scsibus5:
       5,0,0   500) 'TSSTcorp' 'DVD+-RW TS-H653B' 'D300' Removable CD-ROM
        5,1,0   501) *
        5,2,0   502) *
        5,3,0   503) *
        5,4,0   504) *
        5,5,0   505) *
        5,6,0   506) *
        5,7,0   507) *
[root@CRRACTEST2 ~]#

3.刻錄

[root@CRRACTEST2 ~]# cdrecord -v -dao dev=5,0,0  dvd.iso
Cdrecord-Clone 2.01 (cpu-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: '5,0,0'
scsibus: 5 target: 0 lun: 0
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        : 5
Response Format: 2
Capabilities   :
Vendor_info    : 'TSSTcorp'
Identifikation : 'DVD+-RW TS-H653B'
Revision       : 'D300'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0011
Profile: 0x0015
Profile: 0x002B
Profile: 0x001B
Profile: 0x001A
Profile: 0x0014
Profile: 0x0013
Profile: 0x0011 (current)
Profile: 0x0010
Profile: 0x000A
Profile: 0x0009
Profile: 0x0008
cdrecord: Found DVD media: using cdr_mdvd.
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags   : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Drive buf size : 1376256 = 1344 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data  2269 MB
Total size:     2606 MB (258:11.06) = 1161830 sectors
Lout start:     2606 MB (258:13/05) = 1161830 sectors
Current Secsize: 2048
  ATIP start of lead in:  -150 (00:00/00)
Disk type:    unknown dye (reserved id code)
Manuf. index: -1
Manufacturer: unknown (not in table)
Blocks total: 2298496 Blocks current: 2298496 Blocks remaining: 1136666
scsi_set_streaming
Starting to write CD/DVD at speed 17 in real SAO mode for single session.
Last chance to quit, starting real write    0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
trackno=0
BURN-Free is OFF.
BURN-Free is OFF.
Performing OPC...
Sending CUE sheet...
cdrecord: WARNING: Drive returns wrong startsec (0) using -150
Starting new track at sector: 0
Track 01:    0 of 2269 MB written.

Track 01:  237 of 2269 MB written (fifo  98%) [buf  99%]  68.4x.

Track 01: 2269 of 2269 MB written (fifo 100%) [buf  99%] 114.5x.
Track 01: Total bytes read/written: 2379427840/2379427840 (1161830 sectors).
Writing  time:  218.057s
Average write speed  76.8x.
Min drive buffer fill was 8%
Fixating...
Fixating time:   10.764s
cdrecord: fifo had 37479 puts and 37479 gets.
cdrecord: fifo was 4 times empty and 7479 times full, min fill was 0%.

 

ref: http://www.cyberciti.biz/faq/linux-burn-iso-images-to-cds-and-cd-rws-howto/

没有评论:

发表评论