Home  >  Article  >  System Tutorial  >  How to burn a disc under CentOS? How to burn a disc under CentOS

How to burn a disc under CentOS? How to burn a disc under CentOS

PHPz
PHPzforward
2023-12-28 19:26:03695browse

Burning a disc under centos is very simple, just enter the following command in the terminal window:

cdrecord -v -eject speed=8 dev=/dev/cdwriter driveropts=burnfree test.iso

cdrecord software is usually included in the distribution version. If it is not installed when installing the system, you should be able to find it in your installation disk.

The parameters are as follows:

-v Output as much verification information as possible

-eject Eject the disc after burning

speed=8 specifies the speed of the recorder

dev=/dev/cdwriter burning device (you can check it under /dev)

driveropts=burnfree Enable anti-cache burnout protection technology (please see man cdrecord)

test.iso, the name of the iso file to be burned

Some special instructions in this example

a. If the burner can be recognized, there is no need to execute -scanbus

Under centos5, an error will be reported when executing cdrecord -scanbus

You need to use the following command instead:

cdrecord dev=ATA -scanbus will correctly output the device list and identification

You can see that the optical drive is a label like ATA:1,0,0

b. As for the name of the burning device, centos5 automatically recognized /dev/cdwriter-hdc

If it is not recognized, you can also change it to dev=ATA:1,0,0

c. Generally there is no need to add --speed, because cdrecord will automatically detect the best recording speed

d. None of the tutorials on the Internet have anti-cache burnout protection

That is, Sanyo BURN-Proof, Ricoh Just-Link, Yamaha Lossless-Link and other technologies

Actually add the corresponding parameter driveropts=burnfree

e. The cdrecord program that comes with CentOS5 is a specially modified version that can burn CDs and various DVD media

So there is no need to look for other DVD burning software

You can use the following command to point to the wrong iso file:

mkisofs -r -o sample.iso my_private makes an iso file, -r means to change all file attributes into readable attributes for everyone, and -o means output.

The above is the detailed content of How to burn a disc under CentOS? How to burn a disc under CentOS. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:jb51.net. If there is any infringement, please contact admin@php.cn delete