Skip to content

macOS 内核崩溃、黑屏和恢复:诊断和系统修复

紧急电话号码因国家/地区而异. 此页面使用 911,这是美国和加拿大的号码。许多其他国家/地区使用 112、999 或其他号码。 查找您所在国家/地区的电话号码.

如果 Mac 突然断电、循环显示多语言重新启动警告屏幕、显示禁止符号或闪烁的问号文件夹,或者拒绝从无响应的黑色显示屏中唤醒,则表示它遇到了严重的内核、固件或硬件故障。在 macOS(基于 Darwin XNU 混合内核构建,结合了 Mach 微内核、BSD Unix 层和 I/O Kit 设备驱动程序框架)中,当操作系统检测到不可恢复的内部异常(例如未处理的内存页面错误、冻结 GPU 或 Thunderbolt 控制器的看门狗超时、损坏的第三方内核扩展)时,会发生 内核恐慌(.kext)或系统扩展,或 NAND 闪存存储出现故障,并故意停止执行以防止加密 APFS 卷上的静默数据损坏。

由于 Apple 将 Mac 架构从传统 Intel x86_64 处理器(带有系统管理控制器、NVRAM 和 T2 安全桥)过渡到统一的 Apple Silicon 片上系统 (SoC) 架构(M1、M2、M3 和 M4 系列),因此确切的组合键、恢复引导加载程序 (iBoot 与 EFI),并且固件恢复工作流程完全取决于您的硬件代数。遵循结构化、非破坏性的诊断顺序,您可以隔离外围设备故障,自下而上修复 APFS 容器对象映射,通过 Thunderbolt 提取不可替换的个人文件,并恢复损坏的 Secure Enclave 固件,而无需擦除数据。

现在就这样做

  1. 在接通电源之前,立即检查笔记本电脑机箱和电池是否有物理膨胀、发热或液体溢出。 如果 MacBook 底壳鼓起、玻璃触控板无法压下,或者您从刺穿或膨胀的锂离子电池袋中闻到甜甜的金属化学溶剂气味,请立即拔掉充电器,将设备移至非易燃表面上,然后拨打当地的紧急电话号码(美国和加拿大拨打 911,在加拿大拨打 112)欧盟境内请拨打 999)或查看 紧急号码 if smoke or sparks appear.
  2. 拔下所有外围设备、扩展坞、显示器和第三方 USB-C 集线器。 超过 70% 的突发内核崩溃和黑屏睡眠挂起是由有故障的 Thunderbolt/USB-C 扩展坞、总线供电的外部驱动器消耗过多电流或外部显示器 EDID/DisplayPort 握手错误引起的;断开所有设备,除了正品 Apple MagSafe 或直接插入墙壁插座的 USB-C 电源线。
  3. 强制完全关闭 10 秒硬件电源并执行手电筒背光测试。 连续按住物理电源按钮(Touch ID 键)整整 10 秒,直到键盘背光和触控板触觉点击完全关闭,等待 15 秒,然后按一次电源;如果 Mac 发出铃声或 Caps Lock 绿色 LED 在屏幕保持漆黑状态时打开和关闭,请用明亮的智能手机手电筒照射显示屏玻璃,检查是否因显示屏背光电路故障而导致桌面图像模糊。
  4. 启动进入安全模式以绕过第三方内核扩展、登录守护程序和损坏的字体/GPU 缓存。 在 Apple Silicon (M1/M2/M3/M4) 上,关闭电源,按住电源按钮直至出现启动选项,按住 Shift 键,然后单击 以安全模式继续;在 Intel Mac 上,打开 Mac 并立即按住 Shift 键,直到出现登录窗口。
  5. Enter macOS Recovery and run Disk Utility First Aid using the strict Bottom-Up APFS repair sequence. Boot into Recovery (hold Power on Apple Silicon; hold Command + R or Option + Command + R on Intel), open Disk Utility, click View > Show All Devices, and run First Aid on your Data volume first, then your System volume, then the parent APFS Container,最后是顶级物理SSD。
  6. Extract critical personal data via Share Disk or Target Disk Mode before reinstalling macOS or restoring DFU firmware. Never click Erase in Disk Utility or Restore in Apple Configurator if you lack a current backup; use Recovery Mode's built-in Share Disk utility (or Terminal cp/rsync to an external USB drive) to rescue your user folder first, then perform a non-destructive in-place Reinstall macOS or a non-destructive DFU Revive.
flowchart TD
    Start["Mac Exhibits Black Screen, Boot Loop, or Kernel Panic"] --> Safety["1. Check for Swollen Battery or Liquid; Unplug All Docks, Drives, and Displays"]
    Safety --> HardOff["2. Hold Power Button 10 Seconds for Hard Shutdown; Wait 15 Seconds and Press Power Once"]
    HardOff --> Visual{"显示屏上显示什么?"}
    Visual -->|"漆黑的屏幕"| CapsCheck{"Caps Lock LED 是否亮起或触控板发出喀哒声?"}
    CapsCheck -->|"是:逻辑板打开,屏幕变暗"| VideoFix["用手电筒照射屏幕;测试外部 HDMI/USB-C 显示器;按 Cmd+Opt+BrightUp"]
    CapsCheck -->|"否:完全死亡/DFU 状态"| DFUFlow["Connect to second Mac via DFU USB-C port and run non-destructive Apple Configurator REVIVE"]
    Visual -->|"Multi-Language Panic Restart Loop"| SafeBoot["Boot into SAFE MODE to disable 3rd-party kexts; inspect /Library/Logs/DiagnosticReports"]
    Visual -->|"Flashing Question Mark Folder"| DiskRepair["Boot macOS Recovery > Disk Utility > Show All Devices > Run First Aid Bottom-Up"]
    Visual -->|"Prohibitory Circle-Slash or Stuck Apple Logo"| ReinstallFlow["Boot Recovery > Extract Data if needed > Run Non-Destructive In-Place Reinstall macOS"]

Visual and acoustic boot failure triage matrix

Before changing system settings, observe the exact symbol on the internal display (or the LED blink pattern on desktop Macs like the Mac mini, Mac Studio, or Mac Pro) to pinpoint which stage of the macOS boot chain (BootROM -> iBoot / EFI -> XNU Kernel -> launchd -> WindowServer) is failing.

Visual Symbol or Symptom Boot Stage Where Failure Occurs 根本技术原因 Immediate Corrective Procedure
Black Screen with Multi-Language Exclamation Warning ("Your computer was restarted because of a problem") XNU Kernel 或 Watchdog daemon Unhandled kernel trap, third-party kernel extension (.kext), GPU/WindowServer hang exceeding 120 seconds, faulty Thunderbolt peripheral, or bad RAM/SoC memory 断开所有外部设备;启动进入安全模式;阅读 .ips 恐慌登录 /Library/Logs/DiagnosticReports/ 识别崩溃的进程或驱动程序
文件夹图标闪烁并带有问号 (?) iBoot (苹果芯片)或 EFI (英特尔)阶段 Firmware cannot locate a blessed, bootable APFS System volume or Preboot volume on internal or external storage Boot into macOS Recovery; open Disk Utility > Show All Devices; if the internal SSD appears, run First Aid bottom-up and reselect Startup Disk; if internal SSD is completely missing from Disk Utility, the NAND controller has failed
Circle with a Diagonal Slash (Prohibitory Sign) iBoot / boot.efi handoff A valid drive is present, but the macOS version or broken System snapshot on the volume is incompatible with this Mac's Board-ID or lacks required signed boot files Boot into macOS Recovery (or Option + Command + R Internet Recovery on Intel) and execute a non-destructive Reinstall macOS over the existing volume
Apple 徽标,进度条停留在 50% 或 100% launchd user-space initialization or fsck_apfs check Corrupted APFS snapshot tree, stuck FileVault decryption, incompatible /Library/LaunchDaemons plist, or hung Directory Services / network mount Force shutdown; boot in Verbose Mode (Command + V on Intel) or Safe Mode to watch the text console or clear caches; delete offending files from /Library/LaunchDaemons via Recovery Terminal
Exclamation Mark Inside a Circle with support.apple.com/mac/restore Low-level iBoot / recoveryOS firmware partition 两者都是初级 iBoot 固件和配对的本地 recoveryOS 容器损坏或不匹配(通常在操作系统更新中断后) 需要第二台 Mac 连接到指定的 DFU USB-C 端口,运行 Apple Configurator 才能执行非破坏性 Revive Device
旋转地球仪出现网络错误(-1005F, -1008F, -2002F, -2003F, -2100F) Intel T2 / EFI Internet Recovery download DNS resolution failure, hotel/campus captive Wi-Fi portal blocking Apple CDN servers, or Activation Lock (-1008F) blocking legacy recovery image Connect via wired Ethernet adapter, switch router DNS to 1.1.1.1 或 8.8.8.8, or remove the Mac from iCloud Find My temporarily for -1008F, then retry Option + Command + R
Amber Status LED Blinking SOS Pattern (Mac mini, Mac Studio, Mac Pro) Pre-boot BootROM / Secure Enclave Corrupted system firmware or uninitialized unified memory controller 断开电源30秒;连接到第二台 Mac 并通过 Apple Configurator 执行 DFU 模式 Revive

逐步黑屏诊断(电源轨与显示屏背光)

当您按下 MacBook Air、MacBook Pro、iMac 或 Mac mini 上的电源按钮并且屏幕保持全黑时,您必须立即确定是否处于无电源(逻辑板/固件)状态或无视频(显示/背光/睡眠唤醒)状态。

测试 1:Caps Lock LED 和触控板触觉测试

  1. 将官方 Apple MagSafe 3 或 USB-C 电源适配器直接连接到已知工作的墙壁插座(在故障排除期间绕过浪涌带和多端口 GaN 充电器)。请注意,MagSafe 3 连接器上的稳定琥珀色或绿色 LED 确认系统管理/USB-PD 控制器正在协商 20 V 或 28 V 电源,而 MagSafe 3 上的闪烁琥珀色 LED 表示供电故障,请用干棉签清洁磁针,然后拔下插头 60 秒以重置电源块的内部保护电路。
  2. 按一下内置键盘上的 Caps Lock 键,然后查看键帽上是否有绿色的小 LED 指示灯。
  3. 用手指按下 Force Touch 玻璃触控板。由于现代 MacBook 触控板不会机械移动,因此它们使用电磁 Taptic Engine 执行器模拟点击,该执行器仅在逻辑板 5 V / 12 V 电源轨处于活动状态时才起作用,在手指下点击的触控板证明 Mac 已打开并正在运行,即使屏幕完全黑。

测试 2:解决“逻辑板打开,屏幕变暗”(无视频状态)

如果屏幕黑屏时触控板发出咔哒声或 Caps Lock 指示灯亮起:

  1. 检查亮度和翻盖式显示路由:
  2. 重复按 亮度调高 (F2) 键(有时 macOS 从睡眠状态唤醒,屏幕亮度设置为零)。
  3. 如果您最近拔掉了外接显示器,macOS WindowServer 可能仍在将您的主登录屏幕投影到“幽灵”外部显示器。连接任何外部 HDMI 或 USB-C 显示器或电视,或按 Command + F1(或 Command + 亮度降低)在内部和外部显示器之间切换视频镜像。
  4. Perform the oblique flashlight test (Backlight fuse / cable check):
  5. Open the MacBook lid to 90 degrees in a dimly lit room and press the spacebar to wake the login prompt.
  6. Shine a high-intensity LED flashlight either directly through the translucent Apple logo on older lids or tightly against the center of the glass screen at a 45-degree angle while looking closely at the center of the screen.
  7. If you can see a faint, ghostly outline of your desktop wallpaper, menu bar, or password box, the LCD/Mini-LED pixel matrix is working, but the high-voltage LED backlight rail (PPBUS_G3H fuse or display flex cable) has failed. Connect an external monitor immediately to back up all files before taking the Mac in for display/board service.
  8. Force a sleep-state purge and display mode reset:
  9. Hold the Power Button for 10 full seconds to force power off, wait 15 seconds, then boot into macOS Recovery (hold Power on Apple Silicon; hold Command + Option + P + R for 20 seconds on Intel) to force the firmware to re-initialize the internal Embedded DisplayPort (eDP) panel at native resolution.

特定于架构的启动和恢复矩阵:Apple Silicon 与 Intel

Apple Silicon Macs (M1, M2, M3, M4) retired all legacy startup key combinations (Command + R, Option, Command + S, T, 和 Command + Opt + P + R). Pressing Intel key shortcuts at startup on an Apple Silicon Mac does nothing. Use this side-by-side reference table to invoke the right diagnostic environment for your specific chip:

Diagnostic Boot Mode Apple Silicon Macs (M1, M2, M3, M4 Series) Intel-Based Macs (With or Without T2 Security Chip)
macOS Recovery (Standard) Shut down completely. Press and hold the Power Button continuously past the Apple logo until "Loading startup options..." appears, then select Options > Continue. Turn on the Mac and immediately press and hold Command + R until the Apple logo or spinning globe appears.
Fallback recoveryOS (Hidden Second Copy) 关闭。快速双击电源按钮并在第二次按下时保持按住(点击 -> 释放 -> 按住)直到 “正在加载启动选项...” 从备份恢复容器加载。 Hold Option + Command + R (downloads latest compatible Internet Recovery OS) or Shift + Option + Command + R (downloads factory-original OS).
Safe Mode (Disables 3rd-Party Kexts & Clears Caches) Shut down. Hold Power Button until startup disks and Options appear. Highlight your Macintosh HD volume, press and hold the Shift key, and click Continue in Safe Mode. Turn on or restart the Mac and immediately press and hold the Shift key until the login window appears (log in twice if FileVault is enabled).
Apple Diagnostics (Built-in Hardware Test) Boot to the Startup Options screen (hold Power Button). Once the disk and Options icons appear on screen, press and hold Command + D until Diagnostics launches. Turn on the Mac and immediately press and hold the D key (or Option + D to load Diagnostics over the internet) until the progress bar appears.
Startup Manager (Boot from External USB Drive) Shut down and hold the Power Button until Startup Options displays all internal and external bootable volumes. (Apple Silicon allows booting external APFS drives by default without changing security policy.) 打开 Mac 并立即按住 Option (Alt) 键。 (在 2018-2020 Intel T2 Mac 上,您必须首先在“恢复”>“启动安全实用程序”中启用“允许从外部媒体启动”。)
目标磁盘/共享磁盘(紧急数据救援) 连接 Thunderbolt 电缆 -> 启动进入 macOS 恢复 -> 从顶部菜单栏中选择 实用程序 > 共享磁盘 -> 通过 SMB 解锁并共享驱动器。 连接 Thunderbolt 电缆 -> 打开 Intel Mac,同时按住 T 键,直到屏幕上出现 Thunderbolt 图标。
NVRAM / PRAM 重置 冷启动期间自动: 完全关闭,等待 30 秒,然后重新打开(或运行 nvram -c 在恢复终端内)。 打开 Mac 并立即按住 Command + Option + P + R 整整 20 秒,直到出现第二个提示音或第二个 Apple 徽标。
系统管理控制器 (SMC) 重置 不存在单独的 SMC 芯片(集成到 Apple Silicon PMU 中):关闭 Mac,拔下所有电缆,等待 30 秒,然后重新打开。 T2 Intel MacBook (2018-2020): 按住 Left Control + Left Option + Right Shift 7 秒,然后添加 电源按钮 再保持 7 秒。 台式英特尔 Mac: 拔下交流电源线 15 秒,重新插入,等待 5 秒,然后按电源键。

阅读内核恐慌日志以找到确切的罪魁祸首

When macOS recovers from a kernel panic or boots into Safe Mode, the system writes a human-readable JSON/text crash dump to /Library/Logs/DiagnosticReports/ 文件名结尾为 .ips 或 .panic (such as Kernel-2026-10-31-081522.ips). Knowing how to read three lines in that file tells you immediately whether you have a bad piece of software you can delete in two minutes or a failing logic board.

How to inspect your panic log in Safe Mode or Recovery Terminal

  1. If you can log into Safe Mode, open the Console app (in /Applications/Utilities/Console.app) and click Crash Reports or Log Reports in the left sidebar, or open Terminal and run:
    ls -lt /Library/Logs/DiagnosticReports/*panic* /Library/Logs/DiagnosticReports/Kernel* | head -n 5
    
    (If you cannot boot into Safe Mode, boot into macOS Recovery, choose Utilities > Terminal from the top menu bar, and inspect the mounted data volume at /Volumes/Macintosh\ HD\ -\ Data/Library/Logs/DiagnosticReports/.)
  2. Search the most recent panic file for the three key diagnostic fields:
    grep -E "panicString|Panicked task|Kernel Extensions in backtrace|last loaded kext" /Library/Logs/DiagnosticReports/Kernel* | tail -n 25
    

Decoding the four most common macOS panic signatures

Panic Log String in .ips / .panic File What Actually Crashed Step-by-Step Fix
Third-party bundle ID under Kernel Extensions in backtrace 或 Panicked task (e.g., com.crowdstrike.*, at.obdev.nke.*, org.virtualbox.kext.*, com.paragon-software.filesystems.ntfs, com.focusrite.*) A third-party kernel extension (.kext), endpoint security agent, VPN tunnel driver, NTFS driver, or audio driver triggered a privileged memory violation Boot into Safe Mode; run the vendor's uninstaller or move the offending .kext out of /Library/Extensions/ and its daemon out of /Library/LaunchDaemons/ 和 /Library/LaunchAgents/; reboot in Recovery and run kmutil trigger-panic-medic if needed
userspace watchdog timeout: no successful checkins from WindowServer in 120 seconds The macOS graphical display server (WindowServer) froze for 2 minutes, usually due to an external monitor USB-C/DisplayPort adapter bug, corrupt display plist, or hardware GPU hang Disconnect external hubs/monitors; delete corrupt display preferences at /Library/Preferences/com.apple.windowserver.displays.plist in Safe Mode; install pending macOS point updates
ANS2 panic: ... nvme 或 apfs_fsync / io_queue_timeout / SMART status: Failing Apple NAND 控制器(ANS2)或内部 NVMe SSD 遭遇输入/输出硬件超时或闪存块磨损故障 立即停止写入驱动器。 启动进入恢复模式或连接外部启动驱动器,复制所有文件 Macintosh HD - Data 立即安排硬件维修
SOCD report detected: (AP watchdog expired) 或 BridgeOS panic (x86 CPU CATERR) 低级片上系统 (Apple Silicon) 或 T2 协处理器通信超时,通常由电源轨不稳定、液体腐蚀或损坏的 BridgeOS/iBoot 固件引起 断开所有设备;使用第二台 Mac 上的 Apple Configurator 执行非破坏性 DFU 模式恢复;如果全新安装后仍然出现恐慌,则需要维修逻辑板

使用 kmutil trigger-panic-medic 在恢复终端中

如果第三方内核扩展导致 macOS Big Sur、Monterey、Ventura、Sonoma 或 Sequoia 上立即启动循环,并且您甚至无法进入安全模式:

  1. 启动至 macOS 恢复(在 Apple Silicon 上按住 Power,或在 Intel 上按住 Command + R)。
  2. 从顶部菜单栏打开 实用程序 > 终端。
  3. 运行 Apple 内置的紧急 kext 禁用命令:
    kmutil trigger-panic-medic --volume-root "/Volumes/Macintosh HD"
    
  4. 此命令会自动从启动集合中删除所有第三方内核扩展并取消授权,使您的 Mac 能够干净启动到桌面,您可以在其中永久删除或更新有问题的第三方驱动程序。

Disk Utility First Aid: the bottom-up APFS repair protocol

现代 Mac 使用多卷 容器 内的 Apple 文件系统 (APFS) 格式化内部存储。在该单个 APFS 容器内有五个或六个动态共享卷:

  • Macintosh HD (加密密封的只读系统卷)
  • Macintosh HD - Data (您的读写用户文档、应用程序和设置,通过固定链接链接)
  • Preboot (boot loaders and FileVault login user records)
  • Recovery (the local recoveryOS image)
  • VM (虚拟内存交换空间)

Warning

When running Disk Utility First Aid in macOS Recovery, always click View > Show All Devices first and repair the storage hierarchy strictly from the Bottom Up (Volumes first -> Container second -> Physical SSD last), or on macOS Monterey and newer, select the last volume (Macintosh HD - Data), run First Aid, and work your way up to the physical disk. If First Aid reports error: Cross-check : extentref 或 Object map is invalid 并且无法修复卷,不要重复运行急救,在目录进一步降级之前立即进行紧急数据提取。

分步 APFS 急救程序

  1. Boot into macOS Recovery, select Disk Utility, and click Continue.
  2. In the top-left corner of the Disk Utility window, click the View button (or press Command + 2) and select Show All Devices so the left sidebar displays the physical SSD hardware, the Container diskX layer, and the nested APFS volumes.
  3. Unlock FileVault first: Select Macintosh HD - Data in the sidebar. If it is dimmed (unmounted), click the Mount button in the top-right toolbar and enter your macOS login password (or FileVault Recovery Key) so Disk Utility can inspect the encrypted filesystem structure.
  4. Step 1 (Volumes): Select Macintosh HD - Data,单击“急救”,然后单击“运行”。完成后,选择 Macintosh HD (the System volume) and run First Aid.
  5. Step 2 (Container): Select Container diskX directly above the volumes and run First Aid. This runs fsck_apfs across the container superblock, space manager, and snapshot metadata across all hidden volumes (Preboot, Recovery, VM)。
  6. Step 3 (Physical Disk): Select the top-level hardware item (e.g., APPLE SSD AP0512Z Media) and run First Aid to validate the GUID Partition Table (GPT) header and protective MBR.

Emergency data extraction before wiping or repairing

If your Mac refuses to boot to the desktop, even in Safe Mode, your top priority before reinstalling or erasing anything is rescuing your unbacked-up personal files from /Volumes/Macintosh HD - Data/Users/<your-username>/. You have three reliable extraction methods right inside macOS Recovery:

方法 1:使用恢复终端将文件复制到外部 USB 驱动器 (1 Mac)

  1. Boot into macOS Recovery, open Disk Utility, select Macintosh HD - Data, and click Mount (enter your login password to unlock FileVault). Plug in an external USB drive formatted in APFS or ExFAT (e.g., BackupDrive) and quit Disk Utility.
  2. Open Utilities > Terminal from the top menu bar and copy your personal folders to the external USB drive:
    cp -Rv "/Volumes/Macintosh HD - Data/Users/yourname/Desktop" "/Volumes/BackupDrive/"
    cp -Rv "/Volumes/Macintosh HD - Data/Users/yourname/Documents" "/Volumes/BackupDrive/"
    
  3. When finished, run diskutil unmountDisk "/Volumes/BackupDrive" before unplugging the USB drive.

Method 2: Apple Silicon "Share Disk" or Intel Target Disk Mode (2 Macs)

  • Apple Silicon Macs (Share Disk): Connect the broken Mac to a second working Mac with a Thunderbolt/USB-C cable, boot the broken Mac into macOS Recovery, choose Utilities > Share Disk, unlock Macintosh HD, and click Start Sharing. On the working Mac, open Finder > Network, connect as a Registered User, and copy your files out.
  • Intel Macs (Target Disk Mode): Connect both Macs via Thunderbolt, turn on the broken Intel Mac while holding the T key until the Thunderbolt icon appears, and copy your files off the mounted external disk icon on the second Mac.

Non-destructive macOS reinstallation vs DFU firmware Revive

1. Performing a non-destructive in-place Reinstall of macOS

Since macOS Catalina (10.15) and Big Sur (11), macOS separates the operating system onto a cryptographically signed, read-only Sealed System Volume (Macintosh HD) while keeping all of your personal files, user accounts, and installed apps on a separate Macintosh HD - Data volume.

  • Because of this dual-volume architecture, clicking Reinstall macOS inside the main macOS Recovery window (without erasing the disk first) does NOT delete your personal files, photos, or documents.
  • It simply downloads a fresh, verified copy of the operating system from Apple's servers, rebuilds the Sealed System Volume and Preboot bootloaders, and stitches your existing Data volume back into place.

2. Reviving a "bricked" Mac using DFU Mode and Apple Configurator

If an Apple Silicon Mac or a 2018-2020 Intel T2 Mac suffers a power outage during a macOS update, displays the circled exclamation mark (support.apple.com/mac/restore), or is completely unresponsive with a black screen and no Caps Lock light, the low-level iBoot 或 BridgeOS firmware in the Secure Enclave needs to be reflashed using Device Firmware Update (DFU) Mode from a second working Mac.

Danger

Inside Apple Configurator on the host Mac, understand the critical difference between Revive Device and Restore Device: - Revive Device (Non-Destructive , Always try first): Reflashes only the iBoot / BridgeOS firmware and recoveryOS partition while leaving your internal SSD and all personal data completely untouched. - Restore Device (100% Destructive Wipe): Reflashes the firmware AND permanently erases and cryptographic-wipes the entire internal SSD, destroying all unbacked-up data. Never click Restore unless Revive has failed and you have already backed up or written off the drive contents.

Exact DFU USB-C port locations by Mac model

DFU communication works only on one specific designated USB-C port on the target Mac (and requires a USB-C data cable connected to a working host Mac running Apple Configurator from the Mac App Store, never use a MagSafe charging cable for DFU data):

Target Mac Model Exact Designated DFU USB-C Port
MacBook Air (M1, M2, M3, M4) & 13-inch MacBook Pro (M1, M2) On the left side of the laptop: the USB-C port closest to the back (hinge/MagSafe) on M2/M3/M4 models, or the front-left port on M1 models without MagSafe (check Apple's port diagram if padlock does not appear).
14-inch & 16-inch MacBook Pro (M1 Pro/Max, M2, M3, M4) On the left side of the laptop: the back-most Thunderbolt/USB-C port (the USB-C port directly next to the MagSafe 3 charging port).
Mac mini (M1, M2, M4) & Mac Studio On the back panel: the Thunderbolt/USB-C port closest to the Ethernet port (or closest to the HDMI/power cord on M4 Mac mini).
24-inch iMac (M1, M3, M4) 显示器背面:USB-C 端口最靠近中心支架(查看 iMac 背面时位于最右侧)。
配备 T2 芯片的英特尔 MacBook(2018 至 2020 年) 在笔记本电脑的左侧:最前面的 USB-C 端口(最靠近触控板角)。

在 MacBook 上进入 DFU 模式的分步 DFU 键和弦

  1. 在工作的 主机 Mac 上启动 Apple Configurator,并将 USB-C 数据线插入主机 Mac 上的任何 USB-C 端口以及 目标 MacBook 上的 指定的 DFU USB-C 端口。
  2. 在目标 MacBook 上,按住 电源按钮 5 秒钟,直至完全关闭。
  3. 短按一次电源按钮,然后立即同时按住所有四个键:
  4. 左控制 + 左选项 + 右 Shift + 电源按钮(触摸 ID)
  5. 对于 Apple Silicon MacBook: 将所有四个键同时按住 10 整秒,然后松开三个键盘键(Control, Option, Shift),同时继续按住电源按钮最多 8 到 10 秒,直到主机 Mac 上的 Apple Configurator 窗口中出现一个大的 DFU 线框图标。 (注意:在 DFU 模式下,目标 MacBook 的屏幕将保持全黑,这是正常现象。)
  6. 右键单击(按住 Control 键并单击)主机 Mac 上 Apple Configurator 中的 DFU 图标,选择 高级 > 恢复设备,然后单击 恢复,等待 5 到 15 分钟以完成固件下载和安装并重新启动 Mac。

常见问题

为什么当我在 M1、M2、M3 或 M4 Mac 上按住 Command + R、Option 或 Command + Option + P + R 时它们不起作用?

When Apple transitioned from Intel processors to Apple Silicon (M1, M2, M3, and M4 chips), they completely replaced the legacy Intel EFI firmware that listened for multi-key startup chords (`Command + R`, `Option`, `T`,以及 NVRAM 重置和弦)。在每台 Apple Silicon Mac 上,所有启动模式、macOS 恢复、外部驱动器的启动管理器、安全模式和 Apple 诊断都可以通过单一统一方法访问:完全关闭 Mac,然后连续按住物理电源按钮(触摸 ID 键)约 7 到 10 秒,直到屏幕显示“正在加载启动选项”。

在恢复模式中单击“重新安装 macOS”会删除我的个人文档、照片和应用程序吗?

不需要,从 macOS 恢复菜单运行“重新安装 macOS”而不首先在“磁盘工具”中擦除驱动器是非破坏性的就地安装。现代 macOS 将核心操作系统存储在单独的只读卷上(`Macintosh HD`),同时将您的所有个人文件、用户帐户和已安装的应用程序保存在专用数据卷上(`Macintosh HD - Data`)。重新安装 macOS 只会覆盖损坏的操作系统文件和引导加载程序,同时保持您的个人数据卷完好无损。

How can I tell if my MacBook's black screen is a software sleep crash or a broken display hardware failure?

First, press the Caps Lock key and click the Force Touch trackpad. Because the MacBook trackpad uses an electronic Taptic Engine to simulate a click, if the trackpad clicks under your finger or the Caps Lock green light toggles on, the computer's motherboard is powered on and running, meaning only the video output is missing. Next, shine a bright smartphone flashlight closely against the center of the dark screen at an angle; if you can faintly see your login window or wallpaper, the display's LED backlight circuit has failed. You can also plug the Mac into an external HDMI or USB-C monitor/TV to immediately see your desktop and back up your files.

在 Apple Configurator DFU 模式下修复变砖的 Mac 时,“恢复设备”和“恢复设备”有什么区别?

在 Apple Configurator 中,“Revive Device”是非破坏性的:它会重新刷新 Mac 的 Secure Enclave 固件(`iBoot` 或 `BridgeOS`) and the hidden `recoveryOS` partition without touching your internal SSD volumes, preserving all of your personal files and user accounts. "Restore Device" is completely destructive: it reflashes the firmware and cryptographically erases the entire internal SSD back to factory-blank settings, permanently destroying all data on the Mac. Always run "Revive Device" first.

How do I read a macOS kernel panic report to see if a third-party app is crashing my Mac?

Boot your Mac into Safe Mode (which blocks third-party kernel extensions from loading) and open the `/Library/Logs/DiagnosticReports/` folder in Finder or Terminal. Open the newest `.ips` 或 `.panic` file starting with `Kernel-` and search for the lines labeled `Panicked task` 和 `Kernel Extensions in backtrace`. If you see a non-Apple reverse-DNS bundle identifier, such as a third-party antivirus agent, VPN client, virtual machine hypervisor, NTFS disk driver, or USB audio interface driver, uninstalling or updating that specific software in Safe Mode will stop the kernel panics.

What should I do if Disk Utility First Aid says "The volume Macintosh HD - Data could not be verified completely" or fails to repair?

If Disk Utility First Aid cannot repair the APFS object map or extent references on `Macintosh HD - Data`, stop running First Aid and do not attempt to boot the drive normally, as additional write operations can overwrite recoverable file blocks. Immediately connect an external USB drive in Recovery Mode and copy your `/Volumes/Macintosh HD - Data/Users/` folders out using Recovery Terminal (`cp -Rv`), or connect a second Mac via Thunderbolt and use **Utilities > Share Disk** to extract your files before erasing the top-level APFS container and performing a clean macOS installation.

相关指南

来源已检查

  • Apple Platform Security Guide (Apple Inc., United States): Boot Process for a Mac with Apple Silicon, Secure Enclave, Signed System Volume (SSV), and Local Boot Policy Architecture
  • Apple Support Technical Documentation (Apple Inc., United States): If your Mac doesn't turn on, If your Mac starts up to a question mark or circle with a line through it, How to repair a Mac disk with Disk Utility, and Revive or restore a Mac with Apple Configurator
  • Apple Developer Documentation (Apple Inc., United States): Diagnosing Issues Using Crash Reports and Device Logs , Interpreting Kernel Panics (.ips JSON format) and kmutil Kernel Management Utility
  • National Institute of Standards and Technology (NIST, United States): Special Publication 800-86 , Guide to Integrating Forensic Techniques into Incident Response and Non-Destructive Data Preservation
  • Consumer Product Safety Commission (CPSC, United States) and National Fire Protection Association (NFPA, United States): Lithium-Ion Battery Thermal Runaway and Swollen Battery Handling Safety