Production and burning of ISO image files in Linux

Source: Internet
Author: User
Article Title: Create and burn ISO image files in Linux. 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.

 1. Check the MD5 value of the downloaded ISO image:
 

$ Md5sum download. iso
 
 2. Burn ISO:
 
1) download cdrecord first:
 
$ Sudo apt-get install cdrecord
 
2) Find a device (burner ):
 
$ Cdrecord -- scanbus (this will give a group of numbers similar to this: 0, 0)
 
3) start burning:
 
$ Cdrecord dev = 0, 0 download. iso
 
3. Check the md5 value of the burned disc:
 
(If isoinfo is not installed, apt-get ~~~)
 
$ Isoinfo-d-I/dev/cdrom
 
(View the disc information. The following message is displayed: Logical block size is: 2048 Volume size is: 339344)
 
$ Dd if =/dev/cdrom bs = 2048 count = 339344 conv = notrunc, noerror | md5sum
 
Create an ISO Image
 
==============
 
Mkisofs-J-T-R-V volume_id-o mycd. iso source_dir
 
Mkisofs parameters:
 
-J/-joliet directory and file name in Joliet format
 
-T/-translation-table generates a TRANS. TBL file name conversion table file for each directory.
 
-R/-rock use Rock Ridge Extensions
 
-V/-volid <光盘id> ID of the volume of the specified Disc
 
Prepare a CD with the self-check function
 
======================================
 
The ISO file may change during network transmission. This can be used to check the integrity of the file by using the MD5 verification code, that is, the MD5 verification code of the ISO file is also published when the ISO file is released, after Others download ISO, perform another MD5 operation. If the obtained MD5 value is the same as the provided MD5 value, the ISO file is the same as the original file; otherwise, the ISO file must be downloaded again.
 
After burning ISO to a CD, how can I check whether the content burned on the CD is exactly the same as that in the original ISO? Because during the burning process, maybe ...... An error may occur.
 
This requires the isomd5sum tool.
 
Add MD5 verification information:
 
Implantisomd5 -- force ISO file
 
After burning, you can use checkisomd5 -- verbose <光盘设备地址,如 dev hdb> To verify data integrity
 

[1] [2] Next page

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.