# macUSB

原生 Mac 工具，用于创建可启动的 macOS、Windows 和 Linux USB 介质，包含 Apple 安装程序下载器和 raw 映像写入功能。

> 这是 OpenNavo 上 macUSB 页面的 Markdown 版本，内容与网页相同： <https://opennavo.com/zh/apps/macusb>

- **最新版本**: `2.6`
- **开发者**: Kruszoneq and macUSB contributors
- **主页**: <https://www.macusb.app/>
- **分类**: [系统工具](https://opennavo.com/zh/categories/utilities)
- **安装**: `brew install --cask macusb`
- **近 30 天安装**: 834
- **Homebrew**: 可以安装，由 Homebrew 更新
- **下载地址**: <https://github.com/Kruszoneq/macUSB/releases/download/v2.6/macUSB.2.6.dmg>
- **SHA-256**: `2e48bc5d316d859aa74429f471501726e7dccb4ffcb4e3ab1e36d6fa7defe254`

SHA-256 只用来核对下载的文件是否完整，不代表安全认证。

## 安装与卸载内容

```json
[
  {
    "declaration": {
      "uninstall": [
        {
          "quit": "com.kruszoneq.macUSB"
        }
      ]
    },
    "phase": "uninstall",
    "sources": [],
    "type": "uninstall"
  },
  {
    "declaration": {
      "app": [
        "macUSB.app",
        {
          "target": "/Applications/macUSB.app"
        }
      ],
      "target": "/Applications/macUSB.app"
    },
    "phase": "install",
    "sources": [
      "macUSB.app"
    ],
    "target": "/Applications/macUSB.app",
    "type": "app"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": [
            "~/Library/Application Support/com.kruszoneq.macUSB",
            "~/Library/Application Support/macUSB",
            "~/Library/Caches/com.kruszoneq.macUSB",
            "~/Library/HTTPStorages/com.kruszoneq.macUSB*",
            "~/Library/Preferences/com.kruszoneq.macUSB.plist",
            "~/Library/Saved Application State/com.kruszoneq.macusb.savedState"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## 介绍

macUSB 是一款原生 Mac 应用，用于从受支持的 macOS 安装器、Windows 或 Linux ISO 文件以及 raw 镜像创建可启动安装介质。其引导式工作流会分析源、验证目标并准备介质。内置下载器可从 Apple 获取可用的 macOS 安装器。创建介质本身不会在运行 macUSB 的电脑上安装操作系统。

### 主要功能
- 分析本地安装器源并显示识别到的系统和架构。
- 发现并从 Apple 下载可用的 macOS 安装器。
- 使用匹配的工作流准备可启动的 macOS、Windows 和 Linux USB 介质。
- 通过专用的“工具”操作写入 raw ISO 或 IMG 镜像。
- 将下载的 macOS 安装器导出为 DMG 文件，并计算受支持的源校验和。
- 提供选定的 Windows 安装自动化以及兼容的 BIOS 或 UEFI 启动选项。

### 安装并创建介质
使用 `brew install --cask macusb` 安装，或下载官方 DMG 并将 macUSB.app 拷贝到“应用程序”。打开应用，选择受支持的本地源，或使用 macOS 下载器，然后在开始前检查识别到的系统、目标驱动器和操作详情。监控进度，并在摘要屏幕中推出已完成的介质。

创建可启动介质会擦除所选目标上的数据。备份所需内容并验证设备身份和容量。默认的 macOS 工作流会选择整个物理 USB 驱动器。对于 OS X Yosemite 及更新版本，在选择目标时按住 Option 可以显示兼容的 GPT/HFS+ 卷，而无需重新分区整个驱动器；所选卷仍会被擦除。外部 HDD/SSD 目标在每次启动时默认禁用，需要启用专用选项。Raw 写入也会替换目标内容。

开发者要求启用“允许在后台”和“完全磁盘访问权限”以确保工作流可靠。应用程序使用后台辅助程序执行特权操作，并请求相应授权。请核对提示是否针对预期的已安装副本。macUSB 2.3.1 引入了应用程序与辅助程序之间的相互受信任签名验证。

### 主机与介质要求
经验证的 2.5 应用程序需要 macOS Sonoma 14.6 或更高版本，并包含通用 Intel x86-64/Apple Silicon ARM64 代码。当前 cask 的 macOS 14 要求不如官方指南和应用程序元数据精确。它未声明 formula 依赖或显式 cask 冲突。

官方 DMG 为 35,138,705 字节，其 SHA-256 与记录的 cask 匹配。下载大小不等于安装后大小。额外可用空间取决于安装器、临时准备和可选 DMG 输出；下载器会检查其选定的工作负载。未确定通用 RAM 要求。指南要求 macOS 安装器介质至少 16 GB，或 macOS Sequoia 15 及更高版本至少 32 GB。Windows/Linux 容量取决于镜像，而不是承诺每个安装器都能装入 1 GB 驱动器。建议使用 USB 3.0 或更高版本。

### 安装器与架构差异
受支持的介质创建工作流并不使所选操作系统兼容每台目标电脑。请使用官方源镜像，并确认目标硬件、固件、架构和操作系统要求。此 Mac 应用不是 Windows 或 Linux 应用，即使它可生成它们的安装介质。

Windows 输入是本地 ISO。受支持的创建从 Windows Vista 和 Server 2008 R2 开始；XP 和 Server 2003 可能被识别，但不支持用于创建介质。可用的 BIOS/UEFI 模式因 Windows 版本而异。Windows 11 和 Server 2025 使用 UEFI；传统 BIOS 工作流会在准备好的介质上包含 macUSBoot。对受支持的 64 位 Windows 10/11 镜像进行可选配置时，可以准备 Autounattend.xml 文件，包括本地账户和其他安装选项。这不会提供 Windows 许可证，也不会更改供应商支持的硬件要求。

Windows 介质使用 FAT32，其单文件限制为 4 GB。如果 install.wim 超过该限制，macUSB 会使用 wimlib 拆分它。wimlib 未捆绑，需要在需要时单独获取；它是条件性应用程序要求，尽管该 cask 未声明 formula 依赖。其他镜像不会自动需要它。

传统 macOS 安装器准备还有额外的源和工具限制。官方指南称，创建 macOS 27 安装器需要 Apple Silicon 主机。较旧的仅 Intel createinstallmedia 工具在 Apple Silicon 上可能需要 Rosetta，包括 macOS 27 上已记录的 Yosemite 到 Catalina 情况。请遵循特定于源的指南，而不是假定通用兼容性。

### 账户、费用与许可证
macUSB 是 MIT 许可证下的免费软件，提供可选捐赠，未设立付费功能层级。从本地源创建介质不需要 macUSB 云账户。macOS 下载器使用 Apple 的服务器并需要互联网访问；安装器可用性和目标系统条款仍由 Apple 负责。用户需提供 Windows/Linux 镜像，以及其预期安装所需的任何操作系统许可证或账户选择。

随附的官方 Mac 图片显示了 Big Sur 安装器和所选 USB 设备的操作复核屏幕，来自 2.5 仓库。显示的驱动器是说明性示例内容。

来源：[官方网站](https://www.macusb.app/)、[带标签的指南和要求](https://github.com/Kruszoneq/macUSB/blob/v2.5/README.md)、[2.5 版本发布](https://github.com/Kruszoneq/macUSB/releases/tag/v2.5)、[MIT 许可证](https://github.com/Kruszoneq/macUSB/blob/v2.5/LICENSE.txt)。

## 系统要求

- macOS 14 起 · 应用版本: 2.6 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/macusb.rb> · 核查于 2026-11-23
  - <https://github.com/Kruszoneq/macUSB/releases/download/v2.6/macUSB.2.6.dmg>
  - SHA-256: `2e48bc5d316d859aa74429f471501726e7dccb4ffcb4e3ab1e36d6fa7defe254`
- macOS 14 起 · 应用版本: 2.6 · Apple 芯片 · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/macusb.rb> · 核查于 2026-11-23
  - <https://github.com/Kruszoneq/macUSB/releases/download/v2.6/macUSB.2.6.dmg>
  - SHA-256: `2e48bc5d316d859aa74429f471501726e7dccb4ffcb4e3ab1e36d6fa7defe254`

## macUSB 的安全事实

这里只列可以核验的事实，并注明来源和日期，不是安全认证。要检查你下载的文件，可以用 OpenNavo 在本机扫描。

- <https://github.com/Kruszoneq/macUSB> · 是否开源: 是 — <https://github.com/Kruszoneq/macUSB> · 核查于 2026-11-13

## 卸载

- `brew uninstall --cask macusb`

普通卸载会删除应用本身，设置和缓存会保留。

### 深度清理（可选）

- `brew uninstall --zap --cask macusb`

`--zap` 还会删除 Homebrew 定义里列出的设置、缓存等文件，其中可能有其他应用共用的数据，删除后无法恢复；它也不保证没有任何残留。请先备份需要保留的数据；如要保留设置和缓存，请不要加 `--zap`。

普通卸载会删除应用本身，设置和缓存会保留。

- 文件和文件夹: `~/Library/Application Support/com.kruszoneq.macUSB` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/macusb.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-23；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Application Support/macUSB` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/macusb.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-23；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Caches/com.kruszoneq.macUSB` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/macusb.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-23；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/HTTPStorages/com.kruszoneq.macUSB*` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/macusb.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-23；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Preferences/com.kruszoneq.macUSB.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/macusb.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-23；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Saved Application State/com.kruszoneq.macusb.savedState` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/macusb.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-23；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。

## 最新版本说明

### 2.6 (2026-10-25)

macUSB v2.6 adds SD card support, previous-session log export, and an option to automatically skip the welcome screen. This update extends volume selection to older Mac OS X and OS X installers, bases media capacity requirements on source size, and improves media detection, diagnostics, and Windows installer creation.

##### ADDED

- Added the ability to create installation media on SD cards in built-in and external readers.
- Added the ability to export retained logs from the previous session after restarting the app through **Help → Export logs from previous session...**.
- Added **Options → Automatically skip the welcome screen**, which automatically opens the analysis screen after startup checks complete successfully. The welcome screen remains visible if a helper update or automatic repair is required during startup.
- Added Dutch and Persian language support (#131, #142).

##### CHANGES

- The minimum required capacity of the target media or selected volume is now calculated from the installer or source image size, with a 5% allowance. Smaller sources no longer require 16 GB media by default.
- Extended support for creating installers on selected GPT/HFS+ volumes to Mac OS X Lion, OS X Mountain Lion, and OS X Mavericks. Holding **Option (⌥)** while selecting a target reveals eligible volumes, allowing installation media creation without repartitioning the entire drive.
- Exported diagnostic logs are now saved as `.log` files instead of `.txt` files.

##### FIXED

- Corrected the unsupported Windows and Windows Server installer messages on the analysis screen to identify the earliest supported versions: Windows Vista and Windows Server 2008 R2.
- Fixed selected helper error messages not appearing in the app’s language.
- Fixed the details window disappearing after a failed helper repair.
- Fixed an error when splitting solid-compressed `install.wim` files that could prevent Windows installation media from being created (#141).

##### IMPROVEMENTS

- Standardized the language and format of app and helper diagnostic messages. Messages are recorded in English regardless of the interface language.
- Improved USB drive and SD card detection and verification, clarified availability and capacity messages, and reduced unnecessary target-list refreshes.
- Added a hint to hold **Option (⌥)** to reveal available volumes. The hint appears after a supported macOS, OS X, or Mac OS X installer is recognized and a compatible volume is available.
- Adapted the interface layout and navigation arrow direction for right-to-left Persian.

## 资料与来源

- <https://opennavo.com/zh/apps/macusb>
- <https://opennavo.com/zh/apps/macusb/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/macusb.rb> · 核查于 2026-11-23
- <https://formulae.brew.sh/cask/macusb>
- <https://github.com/Kruszoneq/macUSB> · 核查于 2026-11-13
