Token导航 LogoToken导航TokenDH.com
效率只读clawhub未标认证来源可访问clear审计通过

mkisofsmkisofs 分析

Agent Skill

mkisofs 用于处理图像、截图、视觉识别或图片素材相关工作,适合在 OpenClaw 中需要让 Agent 分析图片、整理视觉素材或辅助图像流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,210

周安装

179

GitHub Stars

公开资料未说明

下载量

1,475
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:mkisofs(mkisofs 分析)
来源仓库:https://github.com/weidongkl/mkisofs
安装命令:
openclaw skills install mkisofs
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install mkisofs

简介

使用 mkisofs、genisoimage 或 xorriso 创建和管理 ISO 9660 映像,以创建标准、可引导、UEFI、混合和多引导 ISO。

SKILL.md

Mkisofs Skill - ISO 镜像创建

技能描述 | Skill Description

名称 | Name: mkisofs 版本 | Version: 1.0.0 作者 | Author: OS Build Agent 领域 | Domain: ISO 9660 Image Creation

专业的 ISO 镜像创建和管理技能,支持 mkisofs/genisoimage/xorriso 等工具,用于创建可启动和不可启动的 ISO 镜像。

Professional ISO image creation and management skill supporting mkisofs/genisoimage/xorriso tools for creating bootable and non-bootable ISO images.


功能列表 | Features

1. ISO 创建 | ISO Creation

  • 创建标准 ISO | Create standard ISO
  • 创建可启动 ISO | Create bootable ISO
  • 创建 UEFI 启动 ISO | Create UEFI bootable ISO
  • 创建混合 ISO | Create hybrid ISO
  • 多启动镜像支持 | Multi-boot image support

2. 文件系统 | Filesystem

  • ISO 9660 支持 | ISO 9660 support
  • Joliet 扩展 | Joliet extensions
  • Rock Ridge 扩展 | Rock Ridge extensions
  • UDF 支持 | UDF support

3. 启动配置 | Boot Configuration

  • El Torito 启动 | El Torito boot
  • ISOLINUX 配置 | ISOLINUX config
  • GRUB2 集成 | GRUB2 integration
  • 混合 MBR/GPT | Hybrid MBR/GPT

4. 镜像操作 | Image Operations

  • 镜像信息查看 | View image info
  • 镜像挂载 | Mount image
  • 镜像提取 | Extract image
  • 镜像修改 | Modify image

5. 验证测试 | Verification

  • 启动测试 | Boot test
  • 完整性校验 | Integrity check
  • 兼容性测试 | Compatibility test

配置 | Configuration

工具安装 | Tool Installation

# RHEL/Fedora
dnf install mkisofs xorriso isolinux

# openSUSE
zypper install mkisofs xorriso isolinux

# Debian/Ubuntu
apt-get install mkisofs xorriso isolinux

常用目录结构 | Common Directory Structure

iso_root/
├── isolinux/
│   ├── isolinux.bin      # ISOLINUX 引导程序
│   ├── isolinux.cfg      # ISOLINUX 配置
│   └── boot.cat         # 启动目录表
├── images/
│   ├── efiboot.img      # UEFI 启动镜像
│   └── hdboot.img       # 硬盘启动镜像
├── packages/            # RPM/DEB 包
├── docs/                # 文档
└── README.txt           # 说明文件

使用示例 | Usage Examples

基本 ISO 创建 | Basic ISO Creation

# 创建标准 ISO 镜像
# Create standard ISO image
mkisofs -o output.iso /path/to/source

# 创建带卷标的 ISO
# Create ISO with volume label
mkisofs -o output.iso \
  -V "MY_VOLUME" \
  /path/to/source

# 创建带 Joliet 支持的 ISO (Windows 兼容)
# Create ISO with Joliet support (Windows compatible)
mkisofs -o output.iso \
  -J \
  -V "MY_VOLUME" \
  /path/to/source

# 创建带 Rock Ridge 支持的 ISO (Unix 兼容)
# Create ISO with Rock Ridge support (Unix compatible)
mkisofs -o output.iso \
  -R \
  -V "MY_VOLUME" \
  /path/to/source

# 创建完全兼容的 ISO (Joliet + Rock Ridge)
# Create fully compatible ISO (Joliet + Rock Ridge)
mkisofs -o output.iso \
  -J -R \
  -V "MY_VOLUME" \
  -allow-lowercase \
  /path/to/source

可启动 ISO 创建 | Bootable ISO Creation

# 创建 ISOLINUX 启动 ISO
# Create ISOLINUX bootable ISO
mkisofs -o bootable.iso \
  -J -R \
  -V "BOOT_ISO" \
  -b isolinux/isolinux.bin \
  -c isolinux/boot.cat \
  -no-emul-boot \
  -boot-load-size 4 \
  -boot-info-table \
  -isolinux-dir isolinux \
  /path/to/iso_root

# 创建 UEFI 启动 ISO
# Create UEFI bootable ISO
mkisofs -o uefi.iso \
  -J -R \
  -V "UEFI_ISO" \
  -b images/efiboot.img \
  -no-emul-boot \
  -boot-load-size 1 \
  -boot-info-table \
  /path/to/iso_root

# 创建 BIOS+UEFI 混合启动 ISO
# Create BIOS+UEFI hybrid bootable ISO
mkisofs -o hybrid.iso \
  -J -R \
  -V "HYBRID_ISO" \
  -b isolinux/isolinux.bin \
  -c isolinux/boot.cat \
  -no-emul-boot \
  -boot-load-size 4 \
  -boot-info-table \
  -eltorito-alt-boot \
  -b images/efiboot.img \
  -no-emul-boot \
  /path/to/iso_root

使用 xorriso 创建 ISO | Create ISO with xorriso

# 基本创建
# Basic creation
xorriso -as mkisofs \
  -o output.iso \
  -V "MY_VOLUME" \
  /path/to/source

# 创建可启动 ISO
# Create bootable ISO
xorriso -as mkisofs \
  -o bootable.iso \
  -b isolinux/isolinux.bin \
  -c isolinux/boot.cat \
  -no-emul-boot \
  -boot-load-size 4 \
  -boot-info-table \
  /path/to/iso_root

# 创建混合 ISO (支持 USB 启动)
# Create hybrid ISO (USB bootable)
xorriso -as mkisofs \
  -o hybrid.iso \
  -isohybrid-mbr /usr/share/syslinux/isohdpfx.bin \
  -b isolinux/isolinux.bin \
  -c isolinux/boot.cat \
  -no-emul-boot \
  -boot-load-size 4 \
  -boot-info-table \
  -eltorito-alt-boot \
  -b images/efiboot.img \
  -no-emul-boot \
  -isohybrid-gpt-basdat \
  /path/to/iso_root

ISOLINUX 配置 | ISOLINUX Configuration

# isolinux.cfg 示例
# isolinux.cfg example
cat > isolinux/isolinux.cfg << 'EOF'
DEFAULT linux
LABEL linux
  MENU LABEL Boot System
  KERNEL vmlinuz
  APPEND initrd=initrd.img root=live:CDLABEL=MY_VOLUME
  LABEL rescue
  MENU LABEL Rescue Mode
  KERNEL vmlinuz
  APPEND initrd=initrd.img rescue
TIMEOUT 600
PROMPT 1
EOF

GRUB2 启动配置 | GRUB2 Boot Configuration

# 创建 GRUB2 启动 ISO
# Create GRUB2 bootable ISO
mkisofs -o grub2.iso \
  -J -R \
  -V "GRUB2_ISO" \
  -b boot/grub/i386-pc/eltorito.img \
  -no-emul-boot \
  -boot-load-size 4 \
  -boot-info-table \
  -eltorito-alt-boot \
  -b boot/grub/efi.img \
  -no-emul-boot \
  /path/to/iso_root

# grub.cfg 示例
# grub.cfg example
cat > boot/grub/grub.cfg << 'EOF'
set timeout=5
menuentry "Boot System" {
  linux /vmlinuz root=live:CDLABEL=MY_VOLUME
  initrd /initrd.img
}
menuentry "Rescue Mode" {
  linux /vmlinuz rescue
  initrd /initrd.img
}
EOF

镜像操作 | Image Operations

# 查看 ISO 信息
# View ISO info
isoinfo -d -i output.iso

# 列出 ISO 内容
# List ISO contents
isoinfo -l -i output.iso

# 挂载 ISO
# Mount ISO
mount -o loop output.iso /mnt/iso

# 提取 ISO 内容
# Extract ISO contents
xorriso -osirrox on -indev output.iso -extract / /path/to/extract

# 添加到现有 ISO
# Add to existing ISO
xorriso -indev input.iso -outdev output.iso \
  -add /path/to/new/file /new/file

# 从 ISO 删除文件
# Delete file from ISO
xorriso -indev input.iso -outdev output.iso \
  -rm /path/to/file

# 转换 ISO 格式
# Convert ISO format
xorriso -indev input.iso -outdev output.udf \
  -as udfformat

验证和测试 | Verification and Testing

# 检查 ISO 完整性
# Check ISO integrity
isoinfo -d -i output.iso

# 验证启动信息
# Verify boot info
isoinfo -l -i bootable.iso | grep -E "isolinux|boot"

# 检查文件大小
# Check file size
ls -lh output.iso

# 计算校验和
# Calculate checksum
sha256sum output.iso

# 测试挂载
# Test mount
mount -o loop,ro output.iso /mnt/test
ls /mnt/test
umount /mnt/test

高级用法 | Advanced Usage

多启动 ISO | Multi-boot ISO

# 创建多启动 ISO (多个启动镜像)
# Create multi-boot ISO (multiple boot images)
mkisofs -o multiboot.iso \
  -J -R \
  -V "MULTIBOOT" \
  -b isolinux/isolinux.bin \
  -c isolinux/boot.cat \
  -no-emul-boot \
  -boot-load-size 4 \
  -boot-info-table \
  -eltorito-alt-boot \
  -b images/efiboot.img \
  -no-emul-boot \
  -eltorito-alt-boot \
  -b images/hdboot.img \
  -no-emul-boot \
  /path/to/iso_root

UDF 格式 ISO | UDF Format ISO

# 创建 UDF 格式 ISO (支持大文件)
# Create UDF format ISO (supports large files)
xorriso -as mkisofs \
  -o output.udf \
  -V "UDF_VOLUME" \
  -udf \
  /path/to/source

# 创建 ISO+UDF 混合格式
# Create ISO+UDF hybrid format
xorriso -as mkisofs \
  -o hybrid.iso \
  -V "HYBRID" \
  -iso-level 3 \
  -udf \
  /path/to/source

压缩 ISO | Compressed ISO

# 创建压缩 ISO (xz)
# Create compressed ISO (xz)
mkisofs -o - /path/to/source | xz > output.iso.xz

# 解压并挂载
# Decompress and mount
xzcat output.iso.xz | mount -o loop -t iso9660 /dev/stdin /mnt/iso

命令参考 | Command Reference

mkisofs/genisoimage 选项 | Options

选项Option描述Description
-ooutput输出文件Output file
-Vvolume-id卷标Volume label
-JjolietJoliet 扩展Joliet extensions
-Rrock-ridgeRock Ridge 扩展Rock Ridge extensions
-bboot-image启动镜像Boot image
-cboot-catalog启动目录表Boot catalog
-no-emul-bootno emulation无模拟启动No emulation boot
-boot-load-sizeload size加载扇区数Load sectors
-boot-info-tableinfo table启动信息表Boot info table
-eltorito-alt-bootalt boot备用启动Alternative boot
-allow-lowercaselowercase允许小写Allow lowercase

xorriso 命令 | Commands

命令Command描述Description
-as mkisofsmkisofs modemkisofs 兼容模式mkisofs compatible
-indevinput device输入镜像Input image
-outdevoutput device输出镜像Output image
-addadd添加文件Add files
-rmremove删除文件Remove files
-extractextract提取文件Extract files
-osirrox onosirrox启用提取Enable extraction

最佳实践 | Best Practices

1. 兼容性 | Compatibility

  • 使用 Joliet+Rock Ridge 确保跨平台兼容
  • Use Joliet+Rock Ridge for cross-platform compatibility
  • 测试在不同系统上的挂载
  • Test mounting on different systems

2. 启动测试 | Boot Testing

  • 在虚拟机中测试启动
  • Test boot in VM
  • 验证 BIOS 和 UEFI 启动
  • Verify both BIOS and UEFI boot

3. 文件大小 | File Size

  • 对于>4GB 文件使用 UDF 格式
  • Use UDF for files >4GB
  • 考虑压缩大镜像
  • Consider compressing large images

故障排除 | Troubleshooting

启动失败 | Boot Failed

# 检查启动文件是否存在
# Check if boot files exist
isoinfo -l -i bootable.iso | grep -E "isolinux|boot"

# 验证启动配置
# Verify boot configuration
cat isolinux/isolinux.cfg

挂载失败 | Mount Failed

# 检查文件系统类型
# Check filesystem type
file output.iso

# 尝试不同文件系统
# Try different filesystem
mount -t iso9660 -o loop output.iso /mnt
mount -t udf -o loop output.iso /mnt

参考资料 | References


许可证 | License

MIT License


更新日志 | Changelog

v1.0.0 (2026-03-23)

  • 初始版本,完整的 ISO 创建支持
  • Initial release with full ISO creation support
  • 中英文双语文档
  • Bilingual documentation (Chinese/English)

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

76.62%
按下载量换算1,130

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills