How to create an ISO image file in a Linux operating system

Source: Internet
Author: User
Article Title: how to create an ISO image file in a Linux operating system. 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. Run the dd command

# Dd if =/dev/cdrom of =/***/destination file. iso
The above command is to make the CD as an iso file

2. Run the mkisofs command.
# Mkisofs-r-J-V volume name-o destination file. iso source file
The above command is to convert the "source file" and Directory into "destination file. iso ".

Example:
# Mkisofs-r-J-V widebright-o widebright. iso/widebright

An iso file is created on the linux system and then placed on windows xp. As a result, winrar can decompress the file correctly. After loading the file as a virtual disc using DAEMON Tools, it is normal.

NAME
Mkisofs-create an hybrid ISO9660/JOLIET/HFS filesystem
With optional Rock Ridge attributes.

SYNOPSIS
Mkisofs [options] [-o filename] patheat EC [patheat EC...]

Note:
-J Generate Joliet directory records in addition to regular iso9660 file names.
The main purpose is to be compatible with windows systems.
Volume name: The name displayed when the virtual disc is inserted after the iso file is created.

-R Generate SUSP and RR records using the Rock Ridge
Protocol to further describe the files on the iso9660 filesystem.

-R This is like the-R option, but file ownership and
Modes are set to more useful values. The uid and
Gid are set to zero, because they are usually only
Useful on the author's system, and not useful
The client. All the file read bits are set true,
So that files and directories are globally readable
On the client. If any execute bit is set for
File, set all of the execute bits, so that executa
Bles are globally executable on the client. If any
Search bit is set for a directory, set all of
Search bits, so that directories are globally
Searchable on the client. All write bits are
Cleared, because the CD-Rom will be mounted read-
Only in any case. If any of the special mode bits
Are set, clear them, because file locks are not
Useful on a read-only file system, and set-id bits
Are not desirable for uid 0 or gid 0. When used on
Win32, the execute bit is set on all files. This is
A result of the lack of file permissions on Win32
And the Cygwin POSIX emulation layer. See also
-Uid-gid,-dir-mode,-file-mode and-new-dir-mode.


You can use man mkisofs to view more options.

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.