Article Title: how to use a burner on quickas3. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Note: The following documents are used in most Linux versions.
How to burn a data disk in Linux
The most famous tool for CD burning in Linux is cdrecord. We will focus on the usage of cdrecord and mkisofs to configure SCSI and IDE devices. Many graphic interfaces of the CD recorder software actually calls the cdrecord at the underlying layer. This software can be found on the APT server on this site. In Linux, cdrecord works with General SCSI devices. I think most readers use an IDE disc recorder. Therefore, the key to configuration is to simulate an IDE device as a SCSI device. To map an IDE device to a SCSI device, the system kernel must support ATAPI-SCSI emulation or SCSI host adapter emulation, which is already supported by Quick Linux by default.
In the first step, we should know which channel the optical drive corresponds to the recorder, and which device name is used in Linux. If you are a newly installed AS3, the system automatically adds some parameters to the system kernel and edits/boot/grub. conf will see the kernel/vmlinuz-2.4.21-4.EL ro root = LABEL =/followed by the hdd = ide-scsi words; if you are a post-installed recorder, you need to manually add hdd = ide-scsi. Hdx refers to the name of the IDE device corresponding to the optical drive or recorder in Linux.
Step 2: After the system is rebooted, We need to load the two kernel driver modules sg and ide-scsi into the system kernel, and set the SCSI device name for them. Sg refers to the SCSI device driver module, and ide-scsi refers to the SCSI device driver module. The procedure is as follows:
Modprobe sg
Modprobe ide-scsi
Note: If you are a newly installed AS3, the system will automatically add these two modules. If not, you need to manually run them.
Step 3: Install cdrecord. On AS3, you can enter apt-get install cdrecord to download and install it on the APT server on this site.
Step 4: Check whether the recorder is found correctly in cdrecord. Enter the following command:
Cdrecord-scanbus
My machine displays the following:
Scsibus0:
0, 0, 0) 'atapi' 'CD-RW 52X24 ''K. GD 'Removable CD-ROM
This indicates that a burner is located on the bus 0, 0, and everything is normal;
Step 5 is the last step. We only need to use the cdrecord command to burn the disc. Enter the following command:
Cdrecord-v dev = 0.0.0 aaa. iso
This is to engrave aaa. iso in the current directory on the CD;
If you are using a CDRW disc, you can use cdrecord-v dev =, 0 blank = fast to quickly format the CD-RW disc.
I have read many articles saying that the cdrecord Command requires parameters such as speed = 2 to specify the burning speed. In fact, cdrecord is not used. It is very intelligent and will automatically select the highest burning speed, if a parameter is added, it cannot run normally.
Mkisofs usage:
The task of generating the ISO file is completed by the mkisofs command. Enter the following command:
Mkisofs-r-o temp/aaa. iso data/
The specific parameters are described as follows:
-R supports long file names.
-O: Specify the output target file
The target directory finally exists as the root directory in the new optical disk, which stores the data you need to burn. It is best to create a new directory. Do not select/tmp or the user's main directory because some temporary or hidden files exist in these directories. I didn't know at first, and finally found some inexplicable files under the newly burned CD-Rom. If you directly generate an ISO file from the CD, you need to use the dd command. Enter the following command:
Dd if =/dev/cdrom of = temp/aaa. iso
The specific parameters are described as follows:
If depends on the Data Source Device
Of depends on the directory file
AS3 users who use mkisofs need to use apt-get install mkisofs for installation.
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