System: red-flag Linux DC Server 5.0
◆ 1. Preparation
Cdrecord supports the IDE and SCSI interfaces. The new version supports CD and DVD.
# Cdrecord-scanbus
View the connection port of the burning device. For example, the Master device of the first channel of IE is: 0, 0, 0.
◆ 2. One-time CD Burning
Cdrecord-v dev = 0, 0 speed = 24 file. iso
-V is used to display the burning information.
Dev = device number, which must be obtained using cdrecord-scanbus. It is different from the device number in linux.
Speed = speed, directly followed by numbers, without X, such as 24, instead of 24X
File. iso: The iso file to be burned. It can be generated using mkisofs.
◆3. Multiple-part recording of a CD
First burn:
Cdrecord-v dev = 0, 0-multi-data firstimage speed = 8
-Muyun adopts the multi-part burning mode.
-Data firstimage: Specifies the first file to be burned. iso)
Subsequent burning, First execute:
Cdrecord msinfo
Obtain a value similar;
Mkisofs-L-l-v-r-C xx, yy-o secondimage
Xx and yy are the preceding 0, values.
Write:
Cdrecord-v dev = 0, 0-multi-data secondimage speed = 8
◆ 4. Format CDRW
When we encounter CDRW, We must format it before using it:
Cdrecord-v dev = 0, 0 blank = fast
Quick formatting
Or
Cdrecord-v dev = 0, 0 blank = all
Complete formatting, and then you can use it as a normal CDR disc.
◆5. DVD burning
Because cdrecord automatically identifies the CDR and DVDR media, we can directly use the above command without considering their differences.
◆6. Notes
The red flag DC 5.0 uses the latest 2.6 core, so the device identification is a little different from the previous 2.4 core. Before using cdrecord, we can make a link:
Ln-s/dev/hdb/dev/pg0
In this way, the cdrecord can find the burning device.