如何安装黑苹果

Erstellt am: 4. Juni 2025

Beantwortet mit O3 von Chat01

Frage

如何安装黑苹果

Gedanke

Clarifying maintenance steps

For my Hackintosh guide, I’ll include maintenance instructions such as updating kexts and OpenCore with every macOS release using OCAT. I’ll also tailor my advice based on the user’s hardware, but for now, I'll stick to general guidelines. Since the user speaks Chinese, I should respond in a friendly, Chinese tone. Don’t forget the disclaimers, and I’ll make sure to provide helpful resources, like Dortania’s guide, OpenCore release info, and hardware compatibility details.

Crafting guide for users in Chinese

I need to write a Hackintosh guide, responding in Chinese with a friendly tone. I'll make sure to include disclaimers about the process. It’s important I reference sources like Dortania for getting started, OpenCore release info, and hardware compatibility details. I’ll also discuss how to install macOS Sequoia 15 or earlier, mention Intel pre-8th generation issues, and provide OpenCore Legacy Patcher details. The guide will include preparation steps, USB creation, OpenCore configuration, BIOS settings, installation, and maintenance. Afterward, I’ll add citations and extra resources.

Constructing

Thought for 49 seconds

Antwort

下面是一条从 0 到 1 的典型「黑苹果」(Hackintosh)安装流程,结合了 2025 年社区最新的 OpenCore 与 macOS Sequoia 15 经验。步骤很多,但只要按部就班,大部分主流硬件都能成功启动 macOS。


0. 免责声明

  • 在非 Apple 硬件上安装 macOS 违反了 Apple 的最终用户许可协议(EULA),请仅出于学习与研究目的使用,风险自负。
  • 灰度地带的内容无法保证 100 % 成功;备份数据、双系统/虚拟机测试永远是好习惯。

1. 选定合适硬件

组件建议备注
CPUIntel 第 6 – 12 代(Skylake→Alder Lake)兼容性最好;AMD Zen 2/3 也能用,但需要额外补丁Raptor Lake(13 代)可行但补丁更多 kextcache.com
主板以 Intel 芯片组为例:H470/Z490/B660/Z690 最省心尽量选择带 Intel 网卡
显卡AMD Polaris/Vega/RDNA 1‑2 全原生;NVIDIA Kepler 在 Sonoma 之后已被彻底砍掉RDNA 3 社区已有早期补丁
无线/蓝牙Broadcom BCM94360/943602 等免驱;Intel AX2xx 需要 itlwm/airportitlwm kext

选型时「先硬件后系统」——确保每一块设备都找得到对应驱动(kext)再下单。


2. 准备工具

  1. macOS 安装镜像
    • 在真实 Mac 上通过 App Store 下载 Sequoia 15.*;
    • 或在 Windows/Linux 上用 gibMacOS / macrecovery 拉取官方恢复镜像。
  2. ≥16 GB U 盘
  3. OpenCore 1.0.1(最新稳定版 2024‑05‑09 发布)github.com
  4. 文本编辑器(ProperTree / Xcode)与 PlistHex 等辅助工具。
  5. Dortania OpenCore‑Install‑Guide:权威一步步文档(中文翻译齐全)deepwiki.com github.com

3. 制作启动 U 盘

以下命令均在 终端 中执行,磁盘号请按实际修改。

3.1 在 macOS 上

bash
sudo /Applications/Install\ macOS\ Sequoia.app/Contents/Resources/createinstallmedia \ --volume /Volumes/SequoiaUSB

完成后挂载 EFI 分区,把 EFI 文件夹替换成你准备好的 OpenCore EFI

3.2 在 Windows / Linux 上

  • gibMacOS 下载并运行 gibMacOS.commandMakeInstall.bat 制作恢复盘;
  • 或仅提取 BaseSystem.dmg,再用 macrecovery.py 写入 U 盘。

4. 配置 OpenCore

  1. 目录结构
text
EFI └── OC ├── ACPI # SSDT/DSDT 补丁 ├── Drivers # OpenRuntime.efi、OpenCanopy.efi… ├── Kexts # Lilu、VirtualSMC、WhateverGreen… ├── Tools # ResetNvram、OpenShell 等 └── config.plist
  1. 生成/编辑 config.plist

    • ProperTreeOC‑Snapshot 自动扫描并写入条目;
    • 依照 Dortania 指南启用必需的 Quirks;OpenCore 1.0 将 AllowRelocationBlock 等新 Quirk 合并,需要注意版本差异 insanelymac.com
  2. 必要 kext

    • Lilu.kext + VirtualSMC.kext + WhateverGreen.kext(显卡)
    • 声卡:AppleALC.kext;网卡:IntelMausi.kext / SmallTreeIntel82576.kext
    • USB 定制后用 USBPorts.kext
  3. SMBIOS

    • 使用 GenSMBIOS 生成与硬件相近的型号(例:Z690 + i7‑12700K → Mac14,2)。

5. 调整 BIOS/Firmware

选项状态
Above 4G DecodingEnabled
VT‑d (Intel)Disabled(或在 OC 内启用 DisableIoMapper
Secure Boot / CSM全部 关闭
SATA ModeAHCI
XHCI HandoffEnabled

6. 安装 macOS

  1. U 盘引导 → 选择 Install macOS Sequoia
  2. 进入 磁盘工具 抹盘为 APFS/GPT
  3. 完成系统安装后 首次重启 仍从 U 盘引导「Install macOS」条目;
  4. 进入桌面后把 U 盘里的 EFI 复制到系统硬盘的 EFI 分区,即可脱离 U 盘启动。

如卡在 APPLE: Attempting system restart...,多半是 USB map 或 GPIO wake 设置不当,可先临时拔除 USB 3 设备排查。


7. 后期优化与维护

  • USB 定制:用 USBToolBoxHackintool 生成 USBPorts.kext,彻底修复睡眠与唤醒。
  • 更新策略:OpenCore 本体与各 kext 通常 每 1‑2 月 发布一次;macOS 小版本更新可直接 OTA,但大版本(15→16)前务必先更新 OpenCore 与 kext。
  • OpenCore Legacy Patcher (OCLP):若你想在老旧 Mac 或不兼容 PC 上尝鲜 Sequoia,可用 OCLP 2.4.x 自动注入补丁,支持 83 款老 Mac github.com callapple.org

8. 常见问题速查

症状可能原因
卡「Apple logo 进度条  ≈  20 %」缺少 WhateverGreen.kextagdpmod=pikera 未加
HDMI/DP 无声AppleALC.kext + layout-id 未正确填写
睡眠秒醒USB Map/Power Management 未完善,检查 SSDT-EC-USBX
屏蔽独显启动设置 DeviceProperties → Add 注入 disable-gpu

9. 进一步学习与社区

  • Dortania OpenCore‑Install‑Guide(最全配置教程)dortania.blogspot.com
  • InsanelyMac 论坛 & r/Hackintosh(新驱动与问题讨论)insanelymac.com
  • YouTube 上「install macOS Sequoia with OpenCore」实操视频 youtube.com

下一步?

告诉我你的 主板 / CPU / 显卡 型号,我可以帮你快速列出对应的 ACPI 表 & kext 组合,以及一份现成的 config.plist 模板。祝 Hackintosh 顺利上桌!

Diesen Q&A teilen