Skip to content

macOS kernel panic, black screen, and recovery: diagnostics and system repair

Os números de emerxencia varían segundo o país. Esta páxina usa 911, o número dos Estados Unidos e Canadá. Moitos outros países usan 112, 999 ou outro número. Busca o número do teu país.

A Mac that abruptly powers down, loops through a multi-language restart warning screen, displays a prohibitory symbol or flashing question-mark folder, or refuses to wake from an unresponsive black display has encountered a critical kernel, firmware, or hardware fault. In macOS (built on the Darwin XNU hybrid kernel combining the Mach microkernel, BSD Unix layer, and I/O Kit device driver framework), a Kernel Panic occurs when the operating system detects an unrecoverable internal exception, such as an unhandled memory page fault, a Watchdog timeout from a frozen GPU or Thunderbolt controller, a corrupted third-party kernel extension (.kext) or system extension, or failing NAND flash storage, and deliberately halts execution to prevent silent data corruption on your encrypted APFS volume.

Because Apple transitioned Mac architecture from legacy Intel x86_64 processors (with System Management Controllers, NVRAM, and T2 security bridges) to unified Apple Silicon System-on-Chip (SoC) architecture (M1, M2, M3, and M4 series), the exact key combinations, recovery bootloaders (iBoot vs EFI), and firmware restoration workflows differ completely depending on your hardware generation. Following a structured, non-destructive diagnostic sequence allows you to isolate peripheral faults, repair APFS container object maps from the bottom up, extract irreplaceable personal files over Thunderbolt, and revive corrupted Secure Enclave firmware without erasing your data.

Fai isto agora

  1. Inspect the laptop chassis and battery immediately for physical swelling, heat, or liquid spills before plugging in power. If the MacBook bottom case is bulging, the glass trackpad refuses to depress, or you smell a sweet, metallic chemical solvent odor from a punctured or swollen lithium-ion battery pouch, unplug the charger immediately, move the device onto a non-combustible surface, and call your local emergency number (911 in the United States and Canada, 112 across the European Union, 999 in the United Kingdom) or check números de emerxencia if smoke or sparks appear.
  2. Unplug every external peripheral, dock, display, and third-party USB-C hub. Over 70 percent of sudden kernel panics and black-screen sleep hangs are caused by faulty Thunderbolt/USB-C docks, Bus-powered external drives drawing excessive current, or external monitor EDID/DisplayPort handshake bugs; disconnect everything except the genuine Apple MagSafe or USB-C power cord plugged directly into a wall outlet.
  3. Force a full 10-second hardware power cutoff and perform the flashlight backlight test. Press and hold the physical Power Button (Touch ID key) continuously for 10 full seconds until the keyboard backlight and trackpad haptic click turn completely off, wait 15 seconds, and press Power once; if the Mac chimes or the Caps Lock green LED toggles on and off while the screen stays pitch black, shine a bright smartphone flashlight against the display glass to check for a faint desktop image caused by a failed display backlight circuit.
  4. Boot into Safe Mode to bypass third-party kernel extensions, login daemons, and corrupt font/GPU caches. On Apple Silicon (M1/M2/M3/M4), shut down, press and hold the Power Button until startup options appear, hold the Shift key, and click Continue in Safe Mode; on Intel Macs, turn on the Mac and immediately hold the Shift key until the login window appears.
  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, and finally the top-level physical 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{"Que aparece na pantalla?"}
    Visual -->|"Pitch Black Screen"| CapsCheck{"Acende o LED de bloqueo de maiúsculas ou fai clic no trackpad?"}
    CapsCheck -->|"Si: placa lóxica activada, pantalla escura"| VideoFix["Brillar a lanterna na pantalla; proba monitor externo HDMI/USB-C; prema Cmd+Opt+BrightUp"]
    CapsCheck -->|"Non: Estado completamente morto / DFU"| DFUFlow["Conéctate a un segundo Mac a través do porto USB-C DFU e executa o Apple Configurator REVIVE non destrutivo"]
    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 Root Technical Cause Immediate Corrective Procedure
Black Screen with Multi-Language Exclamation Warning ("Your computer was restarted because of a problem") XNU Kernel ou Watchdog daemon Unhandled kernel trap, third-party kernel extension (.kext), GPU/WindowServer hang exceeding 120 seconds, faulty Thunderbolt peripheral, or bad RAM/SoC memory Disconnect all external devices; boot into Safe Mode; read the .ips pánico iniciar sesión /Library/Logs/DiagnosticReports/ para identificar o proceso de falla ou o controlador
A icona do cartafol parpadea cun signo de interrogación (?) iBoot (Apple Silicon) ou EFI Etapa (Intel). O firmware non pode localizar un APFS de arranque bendito 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 Logo with Progress Bar Stuck at 50% or 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 Both the primary iBoot firmware and the paired local recoveryOS container are corrupted or mismatched (frequently after an interrupted OS update) Requires a second Mac connected to the designated DFU USB-C port running Apple Configurator to perform a non-destructive Revive Device
Spinning Globe with Network Error (-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 ou 8.8.8.8, or remove the Mac from iCloud Find My temporarily for -1008F, then retry Option + Command + R
Patrón SOS intermitente LED de estado ámbar (Mac mini, Mac Studio, Mac Pro) Pre-boot BootROM / Enclave seguro Firmware do sistema dañado ou controlador de memoria unificada non inicializado Disconnect power for 30 seconds; connect to a second Mac and execute DFU Mode Revive via Apple Configurator

Step-by-step black screen diagnostics (Power rail vs Display backlight)

When you press the Power Button on a MacBook Air, MacBook Pro, iMac, or Mac mini and the screen stays completely black, you must immediately determine whether you have a No-Power (Logic Board / Firmware) state or a No-Video (Display / Backlight / Sleep-Wake) state.

Test 1: The Caps Lock LED and Trackpad Haptic Test

  1. Connect the official Apple MagSafe 3 or USB-C power adapter directly to a known-working wall outlet (bypassing surge strips and multi-port GaN chargers during troubleshooting). Note that a solid amber or green LED on a MagSafe 3 connector confirms the System Management / USB-PD controller is negotiating 20 V or 28 V power, whereas a flashing amber LED on MagSafe 3 indicates a power-delivery fault, clean the magnetic pins with a dry cotton swab and unplug for 60 seconds to reset the power brick's internal protection circuit.
  2. Press the Caps Lock key on the built-in keyboard once and look for the small green LED indicator on the keycap.
  3. Press down on the Force Touch glass trackpad with your finger. Because modern MacBook trackpads do not move mechanically, they simulate a click using an electromagnetic Taptic Engine actuator that only functions when the logic board 5 V / 12 V power rails are active, a trackpad that clicks under your finger proves the Mac is turned ON and running, even if the screen is completely black.

Test 2: Resolving "Logic Board ON, Screen Dark" (No-Video State)

If the trackpad clicks or Caps Lock lights up while the screen is black:

  1. Check brightness and Clamshell display routing:
  2. Press the Brightness Up (F2) key repeatedly (sometimes macOS wakes from sleep with screen brightness set to zero).
  3. If you recently unplugged an external monitor, macOS WindowServer may still be projecting your primary login screen to a "ghost" external display. Connect any external HDMI or USB-C monitor or television, or press Command + F1 (or Command + Brightness Down) to toggle video mirroring between internal and external displays.
  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.

Architecture-specific boot and recovery matrix: Apple Silicon vs Intel

Apple Silicon Macs (M1, M2, M3, M4) retired all legacy startup key combinations (Command + R, Option, Command + S, T, e 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) Shut down. Quickly double-press the Power Button and keep holding it down on the second press (Tap -> Release -> Press & Hold) until "Loading startup options..." loads from the backup recovery container. 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.) Turn on the Mac and immediately press and hold the Option (Alt) key. (On 2018-2020 Intel T2 Macs, you must first enable Allow booting from external media inside Recovery > Startup Security Utility.)
Target Disk / Share Disk (Emergency Data Rescue) Connect Thunderbolt cable -> Boot into macOS Recovery -> Select Utilities > Share Disk from top menu bar -> Unlock and share drive over SMB. Connect Thunderbolt cable -> Turn on Intel Mac while holding the T key until the Thunderbolt icon appears on screen.
NVRAM / PRAM Reset Automatic during cold boot: Shut down completely, wait 30 seconds, and turn back on (or run nvram -c inside Recovery Terminal). Turn on the Mac and immediately press and hold Command + Option + P + R for 20 full seconds until the second chime or second Apple logo appears.
System Management Controller (SMC) Reset No separate SMC chip exists (integrated into Apple Silicon PMU): Shut down the Mac, unplug all cables, wait 30 full seconds, and turn back on. T2 Intel MacBooks (2018-2020): Hold Left Control + Left Option + Right Shift for 7 seconds, then add Power Button for 7 more seconds. Desktop Intel Macs: Unplug AC wall cord for 15 seconds, plug back in, wait 5 seconds, press Power.

Reading kernel panic logs to find the exact culprit

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/ with a filename ending in .ips ou .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 ou 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/ e /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 ou apfs_fsync / io_queue_timeout / SMART status: Failing Controlador NAND de Apple (ANS2) ou a SSD NVMe interna sufriron un tempo de espera do hardware de entrada/saída ou un fallo de desgaste do bloque flash Deixa de escribir na unidade inmediatamente. Inicie a recuperación ou conecte unha unidade de arranque externa, copie todos os ficheiros Macintosh HD - Data inmediatamente e organizar a reparación do hardware
SOCD report detected: (AP watchdog expired) ou BridgeOS panic (x86 CPU CATERR) Tempo de espera de comunicación do coprocesador T2 ou System-on-Chip (Apple Silicon) de baixo nivel, a miúdo causado pola inestabilidade do carril de alimentación, a corrosión líquida ou o firmware BridgeOS/iBoot corrupto Disconnect all devices; perform a non-destructive DFU Mode Revive using Apple Configurator from a second Mac; if panics persist on a clean install, logic board repair is required

Usando kmutil trigger-panic-medic in Recovery Terminal

If a third-party kernel extension is causing an immediate boot loop on macOS Big Sur, Monterey, Ventura, Sonoma, or Sequoia and you cannot even reach Safe Mode:

  1. Boot into macOS Recovery (hold Power on Apple Silicon, or Command + R on Intel).
  2. Open Utilities > Terminal from the top menu bar.
  3. Run Apple's built-in emergency kext-disabling command:
    kmutil trigger-panic-medic --volume-root "/Volumes/Macintosh HD"
    
  4. This command automatically strips and de-authorizes all third-party kernel extensions from the boot collection, allowing your Mac to boot cleanly to the desktop where you can permanently delete or update the problematic third-party driver.

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

Modern Macs format internal storage using Apple File System (APFS) inside a multi-volume Container. Within that single APFS container sit five or six dynamically shared volumes:

  • Macintosh HD (o volume do sistema de só lectura selado criptográficamente)
  • Macintosh HD - Data (os seus documentos de usuario de lectura e escritura, aplicacións e configuracións, ligados mediante ligazóns firmes)
  • Preboot (cargadores de arranque e rexistros de usuarios de inicio de sesión de FileVault)
  • Recovery (a imaxe local de recoveryOS)
  • VM (espazo de intercambio de memoria virtual)

Warning

Ao executar Disk Utility First Aid en macOS Recovery, sempre faga clic en Ver > Mostrar todos os dispositivos primeiro e repara a xerarquía de almacenamento estrictamente desde Abaixo arriba (primeiro volumes -> Contedor segundo -> SSD físico por último), ou en macOS Monterey e máis recentes, selecciona o último volume (Macintosh HD - Data), executa Primeiros Auxilios e avanza ata o disco físico. Se os primeiros auxilios informan error: Cross-check : extentref ou Object map is invalid e non pode reparar o volume, non executar primeiros auxilios repetidamente, proceder inmediatamente á extracción de datos de emerxencia antes de que o catálogo se degrade aínda máis.

Procedemento de primeiros auxilios APFS paso a paso

  1. Inicie macOS Recovery, seleccione Utilidade de disco e prema en Continuar.
  2. Na esquina superior esquerda da xanela da Utilidade de discos, faga clic no botón Ver (ou prema Comando + 2) e seleccione Mostrar todos os dispositivos para que a barra lateral esquerda mostre o hardware SSD físico, o Container diskX capa e os volumes APFS anidados.
  3. Desbloquear FileVault primeiro: Selecciona Macintosh HD - Data na barra lateral. Se está atenuado (desmontado), fai clic no botón Montar na barra de ferramentas superior dereita e introduce o teu contrasinal de inicio de sesión en macOS (ou a clave de recuperación de FileVault) para que a Utilidade de Discos poida inspeccionar a estrutura do sistema de ficheiros cifrado.
  4. Paso 1 (Volumes): Selecciona Macintosh HD - Data, fai clic en Primeiros auxilios e en Executar. Unha vez rematado, seleccione Macintosh HD (o volume do sistema) e executa Primeiros auxilios.
  5. Step 2 (Container): Select Container diskX directly above the volumes and run First Aid. This runs fsck_apfs no superbloque de contedores, o xestor de espazo e os metadatos de instantáneas en todos os volumes ocultos (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:

Method 1: Copy files to an external USB drive using Recovery Terminal (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.
  • Simplemente descarga unha copia nova e verificada do sistema operativo dos servidores de Apple, reconstruí o volume do sistema selado e 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 ou 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) On the back of the display: the USB-C port closest to the center stand (farthest right when viewing the back of the iMac).
Intel MacBooks with T2 Chip (2018 to 2020) On the left side of the laptop: the front-most USB-C port (closest to the trackpad corner).

Step-by-step DFU key chord to enter DFU Mode on MacBooks

  1. Launch Apple Configurator on the working Host Mac and plug the USB-C data cable into any USB-C port on the Host Mac and the designated DFU USB-C port on the Target MacBook.
  2. On the Target MacBook, press and hold the Power Button for 5 seconds until it is completely turned off.
  3. Press the Power Button once briefly, and immediately press and hold all four of these keys simultaneously:
  4. Left Control + Left Option + Right Shift + Power Button (Touch ID)
  5. For Apple Silicon MacBooks: Hold all four keys together for 10 full seconds, then release the three keyboard keys (Control, Option, Shift) while continuing to hold down just the Power Button for up to 8 to 10 more seconds until a large DFU wireframe icon appears inside the Apple Configurator window on the Host Mac. (Note: The Target MacBook's screen will stay completely black during DFU mode, that is normal.)
  6. Right-click (Control-click) the DFU icon in Apple Configurator on the Host Mac and choose Advanced > Revive Device, then click Revive and wait 5 to 15 minutes for the firmware download and installation to complete and reboot your Mac.

Preguntas frecuentes

Why don't Command + R, Option, or Command + Option + P + R work when I hold them down on my M1, M2, M3, or M4 Mac?

Cando Apple pasou dos procesadores Intel a Apple Silicon (chips M1, M2, M3 e M4), substituíron completamente o firmware Intel EFI heredado que escoitaba acordes de inicio de varias teclas (`Command + R`, `Option`, `T`, e acordes de reinicio de NVRAM). En todos os Apple Silicon Mac, accédese a todos os modos de inicio, macOS Recovery, Xestor de inicio para unidades externas, Modo seguro e Apple Diagnostics a través dun único método unificado: apague completamente o Mac e, a continuación, manteña premido o Botón de acendido físico (tecla Touch ID) continuamente durante uns 7 a 10 segundos ata que na pantalla apareza "Cargando opcións de inicio".

Se fai clic en "Reinstalar macOS" dentro do modo de recuperación, borrarase os meus documentos persoais, fotos e aplicacións?

Non, executar "Reinstalar macOS" desde o menú Recuperación de macOS sen borrar primeiro a unidade na Utilidade de discos é unha instalación non destrutiva no lugar. MacOS moderno almacena o sistema operativo principal nun volume separado de só lectura (`Macintosh HD`) mantendo todos os seus ficheiros persoais, contas de usuario e aplicacións instaladas nun volume de datos dedicado (`Macintosh HD - Data`). A reinstalación de macOS simplemente sobrescribe os ficheiros e cargadores de arranque danados do sistema operativo mentres deixa intacto o seu volume de datos persoais.

Como podo saber se a pantalla negra do meu MacBook é un fallo de suspensión do software ou un fallo do hardware da pantalla?

Primeiro, preme a tecla Bloq maiúsculas e fai clic no panel táctil Force Touch. Debido a que o panel táctil do MacBook usa un motor electrónico Taptic para simular un clic, se o panel táctil fai clic debaixo do teu dedo ou se acende a luz verde de bloqueo de maiúsculas, a placa base do ordenador está acendida e funcionando, o que significa que só falta a saída de vídeo. A continuación, fai brillar unha lanterna brillante do teléfono intelixente contra o centro da pantalla escura nun ángulo; se pode ver débilmente a súa xanela de inicio de sesión ou fondo de pantalla, o circuíto de retroiluminación LED da pantalla fallou. Tamén podes conectar o Mac a un monitor/TV externo HDMI ou USB-C para ver inmediatamente o teu escritorio e facer unha copia de seguranza dos teus ficheiros.

Cal é a diferenza entre "Revivir dispositivo" e "Restaurar dispositivo" ao arranxar un Mac bloqueado no modo DFU de Apple Configurator?

En Apple Configurator, "Revive Device" non é destrutivo: actualiza o firmware Secure Enclave da Mac (`iBoot` ou `BridgeOS`) e o oculto `recoveryOS` partición sen tocar os seus volumes SSD internos, preservando todos os seus ficheiros persoais e contas de usuario. "Restaurar dispositivo" é completamente destrutivo: actualiza o firmware e borra criptográficamente todo o SSD interno á configuración en branco de fábrica, destruíndo permanentemente todos os datos do Mac. Executa sempre "Reanimar dispositivo" primeiro.

Como leo un informe de pánico do kernel de macOS para ver se unha aplicación de terceiros está a bloquear o meu Mac?

Inicia o teu Mac en modo seguro (que bloquea a carga de extensións do núcleo de terceiros) e abre o `/Library/Logs/DiagnosticReports/` cartafol no Finder ou no Terminal. Abre o máis novo `.ips` ou `.panic` ficheiro que comeza por `Kernel-` e busca as liñas etiquetadas `Panicked task` e `Kernel Extensions in backtrace`. Se ves un identificador de paquete de DNS inverso que non é de Apple, como un axente antivirus de terceiros, un cliente VPN, un hipervisor de máquina virtual, un controlador de disco NTFS ou un controlador de interface de audio USB, desinstalar ou actualizar ese software específico en Modo seguro parará os pánicos do núcleo.

Que debo facer se Disk Utility First Aid indica "O volume Macintosh HD - Non se puido verificar completamente os datos" ou non se repara?

Se Disk Utility First Aid non pode reparar o mapa de obxectos APFS ou as referencias de extensión `Macintosh HD - Data`, deixe de executar Primeiros auxilios e non intente iniciar a unidade normalmente, xa que as operacións de escritura adicionais poden sobrescribir os bloques de ficheiros recuperables. Conecte inmediatamente unha unidade USB externa no modo de recuperación e copie o seu `/Volumes/Macintosh HD - Data/Users/` cartafoles usando o terminal de recuperación (`cp -Rv`), ou conecte un segundo Mac mediante Thunderbolt e use **Utilidades > Compartir disco** para extraer os seus ficheiros antes de borrar o contedor APFS de nivel superior e realizar unha instalación limpa de macOS.

Guías relacionadas

Fontes comprobadas

  • Guía de seguranza da plataforma de Apple (Apple Inc., Estados Unidos): proceso de inicio para un Mac con Apple Silicon, Secure Enclave, Signed System Volume (SSV) e arquitectura de política de arranque local
  • Documentación técnica de asistencia técnica de Apple (Apple Inc., Estados Unidos): Se a túa Mac non se acende, Se a túa Mac se inicia ata un signo de interrogación ou un círculo cunha liña a través dela, Como reparar un disco de Mac con Disk Utility, e Reanimar ou restaurar unha Mac con Apple Configurator
  • Documentación para programadores de Apple (Apple Inc., Estados Unidos): diagnóstico de problemas mediante informes de fallos e rexistros de dispositivos, interpretación de pánicos do núcleo (.ips formato JSON) e kmutil Utilidade de xestión do núcleo
  • Instituto Nacional de Estándares e Tecnoloxía (NIST, Estados Unidos): Publicación especial 800-86, Guía para integrar técnicas forenses na resposta a incidentes e na conservación de datos non destrutivos.
  • Comisión de Seguridade de Produtos de Consumo (CPSC, Estados Unidos) e Asociación Nacional de Protección contra Incendios (NFPA, Estados Unidos): Seguridade na manipulación da batería de ión-litio térmica e fuga de batería inchada