CD burning in Linux

Source: Internet
Author: User
Title: Linux & #25805; & #20316; & #31995; & #32479; & #19979; & #20809; & #30424; & #21051; & #24405; & #23454; & #25112 ;. 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.
It is very easy to burn a CD in Linux. Just enter the following command in the terminal window:
  
Cdrecord-v speed = 2 dev = 0, 0 cd. iso
  
Cdrecord software is generally available in the release. if the system is not installed, you should be able to find it in your installation disk and install it.
  
Speed is the option to indicate the burning speed, can be set according to the actual situation, but do not exceed the maximum speed limit of the CD-R and burner; dev is the option of the burning device, can be
  
Cdrecord-scanbus
  
Command to obtain, cd. iso is the image file to be burned, you can add the path according to the actual situation.
  
How is it? Simple?
  
Now, there are several questions worth noting:
  
   1. How to create an image file
In Linux, there is a mkisofs command, which is very powerful. It can be used as a data disc, a system disc, or a boot disc.
  
Mkisofs-r-o cd. iso-m temp burn/
  
-O cd. iso specifies the CD image file name.-m temp excludes the temp directory or file. burn/adds the files under this directory to the image. For more advanced usage, see related documents or man.
  
   2. Copy a cd
I have never tried to burn a disk like a disk in the MS system, but it is more secure to burn an image file. Even if I keep using this method, then I don't need to use the mkisofs command again, there are also simpler practices to keep the disc information intact, including startup information:
  
Dd if =/dev/cdrom of = cd. iso
  
/Dev/cdrom is the name of the optical drive device, usually/dev/cdrom, which can be specified according to the actual situation. cd. iso does not need to be mentioned.
  
   3. Burner Installation
Linux only recognizes SCSI recorders. Most of the operations currently use the IDE interface, which requires a conversion. After the hardware connection, run the command cdrecord-scanbus, if the following similar information is not found, the device is not recognized by the system:
  
Cdrecord 1.11a15 (i586-mandrake-Linux-gnu) Copyright (C) 1995-2001 J g Schilling
Linux sg driver version: 3.1.22
Using libscg version 'schily-100'
Scsibus0:
0, 0 0) 'CD-RW ''SMART CLONE32'' xsw1' Removable CD-ROM
0, 1, 0 1 )*
0, 2, 0 2 )*
0, 3, 0 3 )*
0, 4, 0 4 )*
0, 5, 0 5 )*
0, 6, 0 6 )*
0, 7, 0 7 )*
  
The solution is in/etc/lilo. append = "hdb = ide-scsi" is added to the conf file. hdb is the first IDE interface slave port. If your recorder is on the second IDE interface, change it to hdc (master) or hdd (slave), save and run the lilo command, then restart the system, and then test. If not, run the command in/etc/modules. add the following two lines to the conf file to restart the system:
  
Probeall scsi_hostadapter ide-scsi
Probeall usb-interface usb-uhci ehci-hcd
  
If not, it indicates that the system kernel is not properly configured and needs to be re-compiled.
  
Appendix: Even lilo. conf (Part)
  
Boot =/dev/hda
Map =/boot/map
Install =/boot. B
Vga = normal
Default = Linux
Keytable =/boot/us. klt
Lba32
Compact
Prompt
Nowarn
Timeout = 100
Message =/boot/message
Menu-scheme = wb: bw: wb: bw
Image =/boot/vmlinuz
Label = Linux
Root =/dev/hda5
Initrd =/boot/initrd. img
Append = "devfs = mount mem = 383 M hdc = ide-scsi"
Read-only
  
4. The burning function in Linux is very powerful. You can also perform VCD and CD recording. For details, refer to HOWTO and other documents. As some graphical front-end software is never used, the command line is already quite simple. Why is it so complicated? Of course, you can use it if you like it. It is usually included in the release.
  
   5. About MD5SUM
The downloaded disc image is usually accompanied by the MD5SUM check code, which is used to check whether the file is correct or not. It is very convenient to use in Linux, as long as you enter the md5sum cd in the terminal window. iso, you can calculate the MD5SUM of the image file in a short time, as long as you compare it with what the website provides. If they are different, the file may be incorrect, but it does not rule out the possibility that the website provides an incorrect verification code. In this case, in order to avoid re-downloading, we can check whether the system disk can be started by using vmware. If it cannot be started, we 'd better re-download it. If it can be started, next, check the correctness of each software package. Basically, md5sum is provided for each file on the Linux CD, and the file name is usually MD5SUMS. After loading the image file, enter the RPMS directory and run md5sum *. rpm will list the md5sum of each software package and compare it with the codes in the MD5SUMS file one by one (diff can improve efficiency ). If there are no errors, you can feel free to dial the disk. If the unimportant software package is incorrect, you can also dial the disk. If you do not select these software packages during installation, there is no problem.
Related Article

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.