Use commands in Linux to burn a cd

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.