← 返回命令列表

Linux command

genisoimage 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Example

genisoimage -o myimage.iso [path/to/source_directory]

Example

genisoimage -allow-limited-size -o myimage.iso [path/to/source_directory]

Example

genisoimage -R -J -V "[VOLUME_LABEL]" -b [boot/isolinux.bin] -c [boot/boot.cat] -no-emul-boot -boot-load-size 4 -boot-info-table -o myimage.iso [path/to/source_directory]

说明

genisoimage creates ISO9660 filesystem images suitable for CD/DVD burning or mounting as loop devices. It supports multiple filesystem extensions including Rock Ridge (Unix), Joliet (Windows), and HFS (Mac) for cross-platform compatibility. The tool can create bootable images using El Torito specification, supporting both legacy BIOS and UEFI boot methods with appropriate configuration. genisoimage is a fork of mkisofs from the cdrtools package, maintained separately in Debian and Ubuntu repositories.

参数

-o _FILE_
Output ISO filename
-R, -rock
Generate Rock Ridge extensions (Unix permissions/symlinks)
-J, -joliet
Generate Joliet extensions (Windows long filenames)
-V _ID_
Set volume ID (volume label)
-b _FILE_
Set El Torito boot image for bootable CD/DVD
-c _FILE_
Set El Torito boot catalog file
-allow-limited-size
Allow files larger than 2GiB by reporting smaller apparent size
-udf
Generate UDF filesystem (supports larger files)
-iso-level _LEVEL_
Set ISO9660 conformance level (1-4)
-input-charset _CHARSET_
Set input character set
-v, -verbose
Enable verbose output

FAQ

What is the genisoimage command used for?

genisoimage creates ISO9660 filesystem images suitable for CD/DVD burning or mounting as loop devices. It supports multiple filesystem extensions including Rock Ridge (Unix), Joliet (Windows), and HFS (Mac) for cross-platform compatibility. The tool can create bootable images using El Torito specification, supporting both legacy BIOS and UEFI boot methods with appropriate configuration. genisoimage is a fork of mkisofs from the cdrtools package, maintained separately in Debian and Ubuntu repositories.

How do I run a basic genisoimage example?

Run `genisoimage -o myimage.iso [path/to/source_directory]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -o _FILE_ do in genisoimage?

Output ISO filename