Mac 使用久了難免出現各種故障,掌握核心排除邏輯能快速定位問題並修復,避免盲目重裝系統。

mach_kernel, /System, /Library, /Applications, /Users 等)。嘗試從安裝媒體修復,或重裝系統。若確定僅 mach_kernel 損壞且有備份,可在單用戶模式下替換 (版本必須完全一致)。通常為 字體快取/損壞字體 導致 atsserver 掃描卡死。解決:從其他系統/安裝碟進入,將 /Library/Fonts、~/Library/Fonts 移出或重命名;或使用字體管理工具 (Font Book/FontExplorer) 驗證/移除問題字體;或刪除 ~/Library/Preferences/com.apple.loginwindow.plist 重開機。
Finder 為登入後首個啟動程序,崩潰導致桌面/Dock 消失。
/sbin/mount -uw /defaults write com.apple.loginwindow Finder /Applications/Utilities/Terminal.app/System/Library/CoreServices/Finder.app。mv ~/Library/Preferences/com.apple.finder.plist ~/Library/Preferences/com.apple.finder.plist.oldmv ~/Library/Preferences/com.apple.dock.plist ~/Library/Preferences/com.apple.dock.plist.oldexit 登出重試。~/Library/Preferences/loginwindow.plist 重置自動啟動項目。>console 進入純文字模式排除圖形介面問題。核心原則:優先修復偏好設定/快取,次之修復檔案系統,最後才重裝系統。備份習慣 (Time Machine) 是最終保障。