Introduction to creating Linux CD image files

Source: Internet
Author: User
Tags gtk mcrypt intel pentium

With the popularity of CD recorders on Linux computers, the production, conversion, and editing of CD image files based on ISO has become a matter of great concern. An ISO file is an organization of data on a data disk, that is, the file system format on the disk. So what software can be used to create a CD image file? What is their format conversion function? Which software can be used to directly create self-starting CDs? In the face of a variety of CD image production software, how to choose? The following describes how to create a CD image in Linux for your reference.

9660 file system Introduction: with the widespread adoption of large-capacity hard drives, people are used to copying CDs into optical disc image files. the widely used is the well-known ISO international standard format, therefore, the CD image file is also referred to as the ISO file. Because the ISO file retains all the data information (including the boot information of the disc), you can easily use commonly used CD-r/RW software such as k3b and Nero Linux to burn into a CD through CD-r/RW, you can also directly use the virtual optical drive (Mount. Because the disc drive faces users with files, such as text files, image files, sound files, and execution files, a file system is required for management, in this way, the user can regard the disc drive as a file set, rather than letting the user view the disc drive from the physical layer. Therefore, it is not enough to standardize only the physical format. There is also a logical format standard for storing files and file directories on the disc drive, that is, the file format. Because no file standards are set for the disc drive standards (Yellow Book), computer manufacturers have to develop their own disc drive logic formats. These inconsistent logical formats of the disc drive seriously affect the promotion and application of the disc drive. To solve this problem, representatives of the Computer Industry gathered in Del Webb's high siider Hotel & Casino, Nevada, USA to draft a proposal for a CD-ROM file structure called the High siider file structure, the proposal was submitted to the International Standardization Organization (ISO). The ISO was renamed ISO 9660 after a few modifications. Through the joint efforts of many software and hardware companies, especially the contributions made by John einberger and Bill Zoellick, the standard was officially announced in 1988 for five years. I. Create a CD image file using the command line in Linux 1. Use the CP commandThe CP command is used to copy files or directories. For example, if you specify more than two files or directories at the same time, and the final destination is an existing Directory, then it copies all the previously specified files or directories to this directory. If multiple files or directories are specified at the same time, and the last destination is not an existing Directory, an error message is displayed. Use the CP command to create an ISO file: # cp/dev/CDROM my_img.isocp command can only create an image file for the entire CD. For more information about how to use the CP command, see man CP. 2. Use the mkisofs commandMkisofs is used to make the specified directory and file into an image file in ISO 9660 format. Mkisofs also provides support options for some extensions. The mkisofs command can be used to create image files for the entire disc. The command is as follows: mkisofs-r-o my_img.iso/dev/CDROM parameter description:-R: enables general UNIX systems with Rock Ridge extensions. -O: Specifies the image file name. The mkisofs command can also convert the files in the directory on the hard disk to the image files on the disc: # mkisofs-O imagefile. the ISO/path/to/Tree Command creates an imagefile containing the iso9660 file system. ISO file, which is a copy of the directory tree/path/to/tree. During the processing, It maps the file name to the file name of the standard ISO file system, and will exclude the files of the non-typical ISO file system. Application Example: create all the files in the/tmp/netspeed_applet-0.14 directory as my_img.iso, run the command: mkisofs-O my_img.iso/tmp/netspeed_applet-0.14, and Figure 1 shows the command execution interface. For more information about how to use the mkisofs command, see man mkisofs. II. Introduction to creating a CD image file using the ksio Editor 1. Introduction to KisoKiso is a powerful CD tool that can convert the CD-ROM image file format and directly edit the CD image file! You can also directly enable the CD. Kiso can run in Linux and BSD environments. It can process almost all CD-ROM image files, including ISO and bin. With Kiso, you can add, delete, rename, and extract files in the image file. You can convert image files of other formats to the standard ISO format, and create an ISO image file from your CD-Rom. Kiso's unique smart ISO file format analyzer can process almost all of the current CD image files, including ISO and bin, and even support new CD image files. With Kiso, you can open these CD images, Extract files, edit them, and convert these image files to the standard ISO format. Main features: · you can directly edit the ISO disc image file. · You can extract some files and directories from the image file. · you can add, delete, create, or rename any ISO file. · You can make the files on the hard disk into ISO files. · You can copy the disc by sector to create a complete image file containing the boot information. · You can process the boot information of a CD. You can directly add/delete/obtain the boot information in the ISO file. · Supports almost all known CD image file formats (. ISO ,. tao ,. bin ,. IMG ,. CIF ,. NRG ,. and save them as standard ISO files. · Supports ISO 9660 level1/2/3 and Joliet extensions · automatically optimizes the ISO file storage structure to save space. · Dual-window operation, which is very convenient to use. Official Website: http://kiso.sourceforge.net/, latest version: 0.83 2. system requirements:Hardware: Intel Pentium 100 MHz or above. 64 MB memory. At least 10 MB of free hard disk space. CD-Rom, CD-r/RW, DVD-Rom, and DVD-r/RW drives (required for creating a CD image ). Mouse. Software: KDE Desktop Environment. Install the following software packages: libcdio, mkisofs, sudo, and mcrypt (optional ). To install Kiso, you must use GCC, QT, and GTK to compile Kiso and compiler. Therefore, first determine whether the following software exists in your Linux system: kernel-source, kernel, GCC, make, and QT. Open a terminal and run the following command to check:

 

# Rpm-Qa | grep GCC; rpm-Qa | grep QT; rpm-Qa | grep GTK

 

3. download and install the software:

 

# Wget ftp://rpmfind.net/linux/opensuse/distribution/SL-10.1/inst-source/suse/i586/libcdio-0.76-16.i586.rpm#rpm-IVH libcdio-0.76-16.i586.rpm # wget http://puzzle.dl.sourceforge.net/sourceforge/mcrypt/mcrypt-2.6.5.tar.gz#wget http://nchc.dl.sourceforge.net/sourceforge/kiso/kiso-0.8.3.tar.gz#gunzip kiso-0.8.3.tar.gz; tar vxf kiso-0.8.3.tar; # cd kiso-0.8.3; Make; make install

 

4. Create a shortcut on the desktop:Right-click and select "link to application". Add/opt/kde3/bin/Kiso to the execution menu.

5. Main Interface of Kiso

Click Create shortcut on the desktop to start Kiso. Figure 2 shows the main interface of Kiso. The Kiso user interface includes the main window, the image file editing window, the file browsing window, And the pop-up menu.

 

The main window includes the title bar and toolbar. The title bar displays ultraiso and the file name of the currently opened CD image. The Toolbar contains the image file operation buttons and ISO file size information. The image editing window includes the CD directory, CD file, and toolbar. The volume label and directory structure of the image file are displayed in the CD directory. The CD file displays the files and folders in the current directory. The toolbar includes shortcut buttons such as boot information, extraction, deletion, rename, and Directory Creation of CD files. The pop-up menu varies by region. The pop-up menu provides quick access.

Iii. Use Kiso

1. Browse the CD image and extract the files directly

Kiso can directly extract the content of a CD image without burning it into a CD or virtual drive software. You can simply open and Extract files or folders (Kiso supports 27 common CD image formats ).

2. Create a new ISO file

Right-click the "new" button, drag the file from the file browser to the Kiso main program window, and click the "save" button, Kiso will create an ISO file for you. Kiso can create 10 Gb of DVD image files.

3. Add a new file to the ISO Image File

Right-click the OPEN button to open an ISO file. Drag a file or folder from the Resource Manager to the Kiso main program window, or click Add to add a file; click "save" to save the file. 3.

 

Note: For standard ISO files, Kiso can be saved directly. For other formats, select ISO, bin, or NRG. Note that when you save the ISO directly, the ISO size may not change even if you delete the file. You can use "save another" to compress the unused space in the file, and the image file will become smaller. In addition, you can open the image file and perform operations such as delete/rename. You can simply save it.

4. Add the volume label and Publisher Information of the ISO file

You can use the shortcut keys Ctrl + D and CTRL + L to add the volume label and Publisher Information of the ISO file.

5. Convert the disc image format

Kiso can convert unhandled formats to ISO, bin, or NRG formats for burning/virtual software. Use the "Conversion" function (CTRL + C) and select an image file, specify the output directory and format, and press "convert. 4.

 

6. Make a CD that can be started

If the boot file is in the "CD file", select the file and press the shortcut key "Ctrl + I" to set it. If the boot file is in the "local file", select the file and press the shortcut key "Ctrl + I" to set it.

7. Burn the disc

Kiso can call the logging software of a Linux computer (k3b or Nero Linux). You must first set it. Use the shortcut key "Ctrl + P" to set the name of the caller 5.

 

Select "genneral" and set the disc recorder type to 6.

 

Kiso is a powerful optical disc tool. Kiso is the first Linux software in the world that can directly edit bin/ISO or almost all CDROM image files.

Summary: This article describes how to create a CD image file in a Linux environment. In particular, the Kiso introduction shows that desktop tasks that can be completed on the Windows platform can also be completed well in Linux. In addition, CD-based recording software such as k3b and Nero Linux can also create CD-based image files.

 

Http://blog.sina.com.cn/s/blog_54b7bb430100az9t.html

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.