In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to burn CDs under Linux, which is very detailed and has a certain reference value. Friends who are interested must finish reading it!
How to burn a CD in Linux?
Burning CDs under Linux is very simple, just enter the following command in the terminal window:
Cdrecord-v speed=2 dev=0,0,0 cd.iso
Cdrecord software is generally available in distributions, and if you install the system without installing it, you should be able to find it on your installation disk and install it.
Speed is the option to indicate the burning speed, which can be set according to the actual situation, but do not exceed the maximum speed limit of CD-R and recorder; dev is the option for recording equipment, which can be set by the
Cdrecord-scanbus
Command to obtain, cd.iso is to burn the image file, you can add the path according to the actual situation.
How's it going? Easy, isn't it?
Now, there are a few more issues worth explaining:
1 how to do image files
Linux has a mkisofs command, the function is very powerful, can do data CD, system CD, etc., but also can do bootable CD.
Mkisofs-r-o cd.iso-m temp burn/
Is the basic method of use,-o cd.iso specifies the name of the CD image file,-m temp excludes the temp directory or files, and burn/ adds the files in that directory to the image. For more advanced use, please refer to the relevant documentation or man.
2 CD copy
For example, under the MS system, the disk-to-disk recording couple has not tried, but it is more secure to burn the image file again. I have been using this method all the time, so there is no need to use the mkisofs command at this time. There is a simpler way to keep the CD information intact, including boot information:
Dd if=/dev/cdrom of=cd.iso
/ dev/cdrom is the device name of the optical drive, usually / dev/cdrom, which can be given according to the actual situation; there is no need to say cd.iso.
3 installation of burner
The linux system only recognizes the SCSI burner, and now most of them use the IDE interface, which requires a conversion. After the hardware link, run the command cdrecord-scanbus. If there is no similar information below, the device is not recognized by the system:
Cdrecord 1.11a15 (i586-mandrake-linux-gnu) Copyright (C) 1995-2001 J salamander g SchillingLinux sg driver version: 3.1.22Using libscg version 'schily-0.5'scsibus0:0,0,0 0)' CD-RW''SMART CLONE32' 'XSW1' Removable CD-ROM0,1,0 1) * 0pje 2 0 2) * 0je 0 3) * 0je 0 4) * 0je 5je 0 5) * 0je 6je 0 6) * 0je 7) 0 7) *
The solution is to add append= "hdb=ide-scsi" to the / etc/lilo.conf file. Hdb is the first IDE interface slave. If your burner is in the second IDE interface, change it to hdc (master) or hdd (slave). Run the lilo command after saving, then restart the system, and test again. If not, add the following two lines in the / etc/modules.conf file to restart the system probeall scsi_hostadapter ide-scsiprobeall usb-interface usb-uhci ehci-hcd if not It indicates that the system kernel is not well configured and the kernel needs to be recompiled.
Attached: my lilo.conf (part)
Boot=/dev/hdamap=/boot/mapinstall=/boot/boot.bvga=normaldefault=linuxkeytable=/boot/us.kltlba32compactpromptnowarntimeout=100message=/boot/messagemenu-scheme=wb:bw:wb:bwimage=/boot/vmlinuzlabel=linuxroot=/dev/hda5initrd=/boot/initrd.imgappend= "devfs=mount mem=383M hdc=ide-scsi" read-only
4 linux under the burning function is very powerful, but also can burn VCD, CD and so on, you can refer to HOWTO and other documents. As for some graphical front-end software I never use, the command line is already very simple, why do you have to click the mouse to make it so complicated? Of course, you can use it if you like. It usually comes with distributions.
5 the optical disc image downloaded by MD5SUM generally comes with the MD5SUM check code, which is used to check whether the file is correct or not. It is very convenient to use under linux. As long as you enter md5sum cd.iso in the terminal window, you can calculate the MD5SUM of the mirror file in a moment. As long as you compare it with the one provided by the website, if it is different, the document may be wrong, but the possibility that the website may provide the wrong check code is not ruled out. In this case, in order to avoid re-downloading, you can check like this: if it is a system CD, first use vmware to check whether it can be started. If it cannot be started, it is best to download it again. If it can be started, then check the correctness of each software package. Basically, md5sum is provided for every file in the linux CD, and the file name is generally MD5SUMS. After loading the mirror file into the RPMS directory to run md5sum *. Rpm will list the md5sum of each package and then compare with the code in the MD5SUMS file one by one (using diff can improve efficiency), if there is no error, you can rest assured that you can boldly engrave the disk, if the unimportant software package is wrong, you can also carve the disk, do not select these packages during installation, there is no problem.
The above is all the contents of the article "how to burn CDs under Linux". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.