hoảng loạn nhân macOS, màn hình đen và khôi phục: chẩn đoán và sửa chữa hệ thống¶
Số điện thoại khẩn cấp khác nhau tùy theo quốc gia. Trang này sử dụng 911, số điện thoại dành cho Hoa Kỳ và Canada. Nhiều quốc gia khác sử dụng 112, 999 hoặc số khác. Tìm số cho quốc gia của bạn.
Máy Mac tắt nguồn đột ngột, lặp qua màn hình cảnh báo khởi động lại đa ngôn ngữ, hiển thị biểu tượng cấm hoặc thư mục dấu chấm hỏi nhấp nháy hoặc từ chối khởi động từ màn hình màu đen không phản hồi đã gặp phải lỗi hạt nhân, chương trình cơ sở hoặc phần cứng nghiêm trọng. Trong macOS (được xây dựng trên nhân lai Darwin XNU kết hợp vi nhân Mach, lớp BSD Unix và khung trình điều khiển thiết bị I/O Kit), Kernel Panic xảy ra khi hệ điều hành phát hiện một ngoại lệ nội bộ không thể phục hồi, chẳng hạn như lỗi trang bộ nhớ chưa được xử lý, thời gian chờ Watchdog từ GPU bị đóng băng hoặc bộ điều khiển Thunderbolt, phần mở rộng kernel của bên thứ ba bị hỏng (.kext) hoặc phần mở rộng hệ thống hoặc bộ lưu trữ flash NAND bị lỗi và cố tình tạm dừng quá trình thực thi để ngăn chặn tình trạng hỏng dữ liệu thầm lặng trên ổ đĩa APFS được mã hóa của bạn.
Bởi vì Apple đã chuyển đổi kiến trúc Mac từ bộ xử lý Intel x86_64 cũ (với Bộ điều khiển quản lý hệ thống, cầu bảo mật NVRAM và T2) sang kiến trúc hợp nhất Kiến trúc Apple Silicon System-on-Chip (SoC) (dòng M1, M2, M3 và M4), các tổ hợp phím chính xác, bộ tải khởi động khôi phục (iBoot so với EFI) và quy trình khôi phục chương trình cơ sở hoàn toàn khác nhau tùy thuộc vào thế hệ phần cứng của bạn. Tuân theo trình tự chẩn đoán có cấu trúc, không phá hủy cho phép bạn cách ly các lỗi ngoại vi, sửa chữa bản đồ đối tượng vùng chứa APFS từ dưới lên, trích xuất các tệp cá nhân không thể thay thế qua Thunderbolt và khôi phục chương trình cơ sở Secure Enclave bị hỏng mà không xóa dữ liệu của bạn.
Làm điều này ngay bây giờ¶
- Kiểm tra khung máy tính xách tay và pin ngay lập tức xem có bị phồng, nóng hoặc tràn chất lỏng hay không trước khi cắm nguồn. Nếu vỏ dưới của MacBook bị phồng lên, bàn di chuột bằng kính không chịu ấn xuống hoặc bạn ngửi thấy mùi dung môi hóa học kim loại ngọt ngào từ túi pin lithium-ion bị thủng hoặc phồng lên, hãy rút bộ sạc ngay lập tức, di chuyển thiết bị lên bề mặt không bắt lửa và gọi đến số khẩn cấp tại địa phương của bạn (911 ở Hoa Kỳ và Canada, 112 trên khắp Liên minh Châu Âu, 999 ở Vương quốc Anh) hoặc kiểm tra số khẩn cấp nếu khói hoặc tia lửa xuất hiện.
- Rút phích cắm của mọi thiết bị ngoại vi bên ngoài, đế cắm, màn hình và trung tâm USB-C của bên thứ ba. Hơn 70% lỗi kernel đột ngột và treo màn hình đen ở chế độ ngủ là do đế cắm Thunderbolt/USB-C bị lỗi, ổ đĩa ngoài chạy bằng nguồn Bus tiêu thụ dòng điện quá mức hoặc lỗi bắt tay EDID/DisplayPort màn hình ngoài; ngắt kết nối mọi thứ ngoại trừ dây nguồn Apple MagSafe hoặc USB-C chính hãng được cắm trực tiếp vào ổ cắm trên tường.
- 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.
- 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.
- 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
Datavolume first, then yourSystemvolume, then the parent APFSContainer, and finally the top-level physical SSD. - 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/rsyncto 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{"What Appears on the Display?"}
Visual -->|"Pitch Black Screen"| CapsCheck{"Does Caps Lock LED Light Up or Trackpad Click?"}
CapsCheck -->|"Yes: Logic Board On, Screen Dark"| VideoFix["Shine flashlight on screen; test external HDMI/USB-C monitor; press Cmd+Opt+BrightUp"]
CapsCheck -->|"No: Completely Dead / DFU State"| 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 | Root Technical Cause | Immediate Corrective Procedure |
|---|---|---|---|
| Black Screen with Multi-Language Exclamation Warning ("Your computer was restarted because of a problem") | XNU Kernel hoặc 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 panic log in /Library/Logs/DiagnosticReports/ to identify the crashing process or driver |
Folder Icon Flashing with a Question Mark (?) |
iBoot (Apple Silicon) hoặc EFI (Intel) giai đoạn |
Phần sụn không thể xác định được APFS có khả năng khởi động và may mắn System khối lượng hoặc Preboot âm lượng trên bộ nhớ trong hoặc bên ngoài |
Khởi động vào macOS Recovery; mở Tiện ích đĩa > Hiển thị tất cả thiết bị; nếu ổ SSD bên trong xuất hiện, hãy chạy First Aid từ dưới lên và chọn lại Startup Disk; nếu SSD bên trong bị thiếu hoàn toàn khỏi Disk Utility, bộ điều khiển NAND đã bị lỗi |
| Vòng tròn có dấu gạch chéo (Dấu hiệu cấm) | iBoot / boot.efi chuyển giao |
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 hoặc 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 | 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.
Kiểm tra 1: Kiểm tra xúc giác trên bàn di chuột và đèn LED Caps Lock¶
- Kết nối trực tiếp bộ đổi nguồn Apple MagSafe 3 hoặc USB-C chính thức với ổ cắm trên tường đang hoạt động đã biết (bỏ qua các dải tăng áp và bộ sạc GaN nhiều cổng trong quá trình khắc phục sự cố). Lưu ý rằng đèn LED màu hổ phách hoặc màu xanh lục trên đầu nối MagSafe 3 xác nhận Bộ điều khiển quản lý hệ thống / USB-PD đang đàm phán nguồn điện 20 V hoặc 28 V, trong khi đó đèn LED màu hổ phách nhấp nháy trên MagSafe 3 cho biết có lỗi cấp điện, hãy làm sạch các chân từ tính bằng tăm bông khô và rút phích cắm trong 60 giây để đặt lại mạch bảo vệ bên trong của cục nguồn.
- Nhấn phím Caps Lock trên bàn phím tích hợp một lần và tìm đèn báo LED nhỏ màu xanh lá cây trên keycap.
- Nhấn xuống bàn di chuột bằng kính Force Touch bằng ngón tay của bạn. Bởi vì bàn di chuột của MacBook hiện đại không di chuyển một cách cơ học nên chúng mô phỏng một cú nhấp chuột bằng cách sử dụng bộ truyền động Taptic Engine điện từ chỉ hoạt động khi các đường ray nguồn 5 V / 12 V trên bảng logic đang hoạt động, một bàn di chuột nhấp chuột dưới ngón tay của bạn chứng tỏ máy Mac đã BẬT và đang chạy, ngay cả khi màn hình hoàn toàn đen.
Bài kiểm tra 2: Giải quyết "Logic Board ON, Screen Dark" (Trạng thái không có video)¶
Nếu bàn di chuột nhấp chuột hoặc Caps Lock sáng lên trong khi màn hình đen:
- Kiểm tra độ sáng và định tuyến hiển thị vỏ sò:
- Nhấn phím Tăng độ sáng (F2) liên tục (đôi khi macOS thức dậy sau chế độ ngủ với độ sáng màn hình được đặt thành 0).
- Nếu gần đây bạn đã rút phích cắm màn hình ngoài, macOS
WindowServercó thể vẫn đang chiếu màn hình đăng nhập chính của bạn lên màn hình bên ngoài "ma". Kết nối bất kỳ màn hình hoặc tivi HDMI hoặc USB-C bên ngoài nào hoặc nhấn Command + F1 (hoặc Command + Giảm độ sáng) để chuyển đổi phản chiếu video giữa màn hình bên trong và bên ngoài. - Thực hiện kiểm tra đèn pin xiên (Kiểm tra cầu chì / cáp đèn nền):
- Mở nắp MacBook lên 90 độ trong phòng thiếu sáng và nhấn phím cách để đánh thức lời nhắc đăng nhập.
- Chiếu đèn pin LED cường độ cao trực tiếp qua logo Apple mờ trên nắp cũ hoặc chiếu chặt vào giữa màn hình kính ở góc 45 độ trong khi nhìn kỹ vào giữa màn hình.
- Nếu bạn có thể nhìn thấy đường viền mờ ảo, ma quái của hình nền máy tính, thanh menu hoặc hộp mật khẩu thì ma trận pixel LCD/Mini-LED đang hoạt động nhưng đường ray đèn nền LED điện áp cao (
PPBUS_G3Hcầu chì hoặc cáp mềm màn hình) không thành công. Kết nối ngay màn hình ngoài để sao lưu tất cả các tệp trước khi mang máy Mac đi bảo trì màn hình/board. - Buộc xóa trạng thái ngủ và đặt lại chế độ hiển thị:
- Giữ Nút Nguồn trong 10 giây để tắt nguồn, đợi 15 giây, sau đó khởi động vào macOS Recovery (giữ Nguồn trên Apple Silicon; giữ Command + Option + P + R trong 20 giây trên Intel) để buộc chương trình cơ sở khởi tạo lại bảng Embedded DisplayPort (eDP) bên trong ở độ phân giải gốc.
Ma trận khởi động và phục hồi theo kiến trúc cụ thể: Apple Silicon vs Intel¶
Máy Mac Apple Silicon (M1, M2, M3, M4) đã loại bỏ tất cả các tổ hợp phím khởi động cũ (Command + R, Option, Command + S, T, Và Command + Opt + P + R). Nhấn phím tắt Intel khi khởi động trên Apple Silicon Mac không có tác dụng gì. Sử dụng bảng tham chiếu song song này để gọi môi trường chẩn đoán phù hợp cho chip cụ thể của bạn:
| Chế độ khởi động chẩn đoán | Máy Mac Apple Silicon (Dòng M1, M2, M3, M4) | Máy Mac chạy Intel (Có hoặc không có Chip bảo mật T2) |
|---|---|---|
| Phục hồi macOS (Tiêu chuẩn) | Tắt hoàn toàn. Nhấn và giữ Nút Nguồn liên tục qua logo Apple cho đến khi "Đang tải tùy chọn khởi động..." xuất hiện, sau đó chọn Tùy chọn > Tiếp tục. | Bật máy Mac và ngay lập tức nhấn và giữ Command + R cho đến khi logo Apple hoặc quả cầu quay xuất hiện. |
| Phục hồi dự phòng (Bản sao thứ hai ẩn) | Tắt đi. Nhanh chóng nhấn đúp vào Nút nguồn và tiếp tục giữ nút đó ở lần nhấn thứ hai (Nhấn -> Nhả -> Nhấn & Giữ) cho đến khi "Đang tải tùy chọn khởi động..." tải từ vùng chứa khôi phục sao lưu. | Giữ Option + Command + R (tải xuống hệ điều hành Internet Recovery tương thích mới nhất) hoặc Shift + Option + Command + R (tải xuống hệ điều hành gốc). |
| Chế độ an toàn (Vô hiệu hóa Kext của bên thứ 3 & Xóa bộ nhớ đệm) | Tắt đi. Giữ Nút nguồn cho đến khi đĩa khởi động và Tùy chọn xuất hiện. Đánh dấu âm lượng Macintosh HD của bạn, nhấn và giữ phím Shift rồi nhấp vào Tiếp tục ở Chế độ An toàn. | Bật hoặc khởi động lại máy Mac rồi nhấn và giữ ngay phím Shift cho đến khi cửa sổ đăng nhập xuất hiện (đăng nhập hai lần nếu FileVault được bật). |
| Chẩn đoán của Apple (Kiểm tra phần cứng tích hợp) | Khởi động vào màn hình Tùy chọn khởi động (giữ nút Nguồn). Khi biểu tượng ổ đĩa và Tùy chọn xuất hiện trên màn hình, hãy nhấn và giữ Command + D cho đến khi Chẩn đoán khởi chạy. | Bật máy Mac và nhấn và giữ ngay phím D (hoặc Option + D để tải Chẩn đoán qua internet) cho đến khi thanh tiến trình xuất hiện. |
| Trình quản lý khởi động (Khởi động từ ổ USB ngoài) | Tắt và giữ Nút nguồn cho đến khi Tùy chọn khởi động hiển thị tất cả các ổ đĩa có khả năng khởi động bên trong và bên ngoài. (Apple Silicon cho phép khởi động các ổ APFS bên ngoài theo mặc định mà không thay đổi chính sách bảo mật.) | Bật máy Mac và nhấn và giữ ngay phím Option (Alt). (Trên máy Mac Intel T2 2018-2020, trước tiên bạn phải bật Cho phép khởi động từ phương tiện bên ngoài bên trong Recovery > Startup Security Utility.) |
| Đĩa đích / Đĩa chia sẻ (Cứu hộ dữ liệu khẩn cấp) | Kết nối cáp Thunderbolt -> Khởi động vào macOS Recovery -> Chọn Tiện ích > Chia sẻ đĩa từ thanh menu trên cùng -> Mở khóa và chia sẻ ổ đĩa qua SMB. | Kết nối cáp Thunderbolt -> Bật Intel Mac trong khi giữ phím T cho đến khi biểu tượng Thunderbolt xuất hiện trên màn hình. |
| 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 hoặc .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¶
- 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: (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/.) - Search the most recent panic file for the three key diagnostic fields:
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 hoặc 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/ và /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 hoặc apfs_fsync / io_queue_timeout / SMART status: Failing |
The Apple NAND Controller (ANS2) or internal NVMe SSD suffered an input/output hardware timeout or flash block wear failure |
Stop writing to the drive immediately. Boot into Recovery or connect an external boot drive, copy all files off Macintosh HD - Data immediately, and arrange hardware repair |
SOCD report detected: (AP watchdog expired) hoặc BridgeOS panic (x86 CPU CATERR) |
Low-level System-on-Chip (Apple Silicon) or T2 coprocessor communication timeout, often caused by power-rail instability, liquid corrosion, or corrupt BridgeOS/iBoot firmware | 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 |
sử dụng 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:
- Boot into macOS Recovery (hold Power on Apple Silicon, or Command + R on Intel).
- Open Utilities > Terminal from the top menu bar.
- Run Apple's built-in emergency kext-disabling command:
- 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(the cryptographically sealed, read-only System volume)Macintosh HD - Data(your read-write user documents, applications, and settings, linked via firmlinks)Preboot(boot loaders and FileVault login user records)Recovery(the local recoveryOS image)VM(virtual memory swap space)
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 hoặc Object map is invalid and fails to repair the volume, do not run First Aid repeatedly, Proceed immediately to emergency data extraction before the catalog degrades further.
Step-by-step APFS First Aid procedure¶
- Boot into macOS Recovery, select Disk Utility, and click Continue.
- 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 diskXlayer, and the nested APFS volumes. - Unlock FileVault first: Select
Macintosh HD - Datain 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. - Step 1 (Volumes): Select
Macintosh HD - Data, click First Aid, and click Run. Once completed, selectMacintosh HD(the System volume) and run First Aid. - Step 2 (Container): Select
Container diskXdirectly above the volumes and run First Aid. This runsfsck_apfsacross the container superblock, space manager, and snapshot metadata across all hidden volumes (Preboot,Recovery,VM). - 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)¶
- 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. - Open Utilities > Terminal from the top menu bar and copy your personal folders to the external USB drive:
- 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
Prebootbootloaders, and stitches your existingDatavolume 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 hoặc 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¶
- 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.
- On the Target MacBook, press and hold the Power Button for 5 seconds until it is completely turned off.
- Press the Power Button once briefly, and immediately press and hold all four of these keys simultaneously:
- Left Control + Left Option + Right Shift + Power Button (Touch ID)
- 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.) - 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.
Câu hỏi thường gặp¶
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?
Khi Apple chuyển từ bộ xử lý Intel sang Apple Silicon (chip M1, M2, M3 và M4), họ đã thay thế hoàn toàn phần sụn Intel EFI cũ có chức năng nghe các hợp âm khởi động nhiều phím (`Command + R`, `Option`, `T`, and NVRAM reset chords). On every Apple Silicon Mac, all startup modes, macOS Recovery, Startup Manager for external drives, Safe Mode, and Apple Diagnostics, are accessed through a single unified method: shut down the Mac completely, then press and hold the physical Power Button (Touch ID key) continuously for about 7 to 10 seconds until the screen says "Loading startup options."
Will clicking "Reinstall macOS" inside Recovery Mode erase my personal documents, photos, and applications?
Không, việc chạy "Cài đặt lại macOS" từ menu Khôi phục macOS mà không xóa ổ đĩa trong Disk Utility trước là cách cài đặt tại chỗ, không phá hủy. macOS hiện đại lưu trữ hệ điều hành lõi trên một ổ đĩa riêng biệt, chỉ đọc (`Macintosh HD`) while keeping all of your personal files, user accounts, and installed applications on a dedicated data volume (`Macintosh HD - Data`). Reinstalling macOS simply overwrites the damaged operating system files and bootloaders while leaving your personal data volume intact.
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.
What is the difference between "Revive Device" and "Restore Device" when fixing a bricked Mac in Apple Configurator DFU mode?
In Apple Configurator, "Revive Device" is non-destructive: it reflashes the Mac's Secure Enclave firmware (`iBoot` hoặc `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` hoặc `.panic` file starting with `Kernel-` and search for the lines labeled `Panicked task` và `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.
Hướng dẫn liên quan¶
- Windows Blue Screen of Death (BSOD) and boot repair
- Lỗi khởi động hệ thống Linux và sửa chữa GRUB
- Sao lưu máy tính: Chiến lược 3-2-1 và khắc phục thảm họa
- PC tùy chỉnh quá nóng và rò rỉ bộ làm mát bằng chất lỏng
- Cháy điện và tia lửa điện
- Danh mục số khẩn cấp
Đã kiểm tra nguồn¶
- 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 (
.ipsJSON format) andkmutilKernel 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