Windows XP SP2 開機出現藍畫面或黑底白字錯誤:
Windows could not start because the following file is missing: \system32\drivers\ntfs.sys
實際上常伴隨核心檔 ntkrnlpa.exe、ntoskrnl.exe 損壞。需進入修復主控台從 SP2.cab 擷取檔案修復。
假設:系統安裝在 C 槽,光碟機為 F 槽
1),輸入管理員密碼cd \windows\system32
ren ntkrnlpa.exe ntkrnlpa.old
ren ntoskrnl.exe ntoskrnl.old
cd "c:\windows\driver cache\i386"
expand sp2.cab -F:ntkrpamp.exe c:\windows\system32
expand sp2.cab -F:ntkrnlmp.exe c:\windows\system32
cd c:\windows\system32
ren ntkrpamp.exe ntkrnlpa.exe
ren ntkrnlmp.exe ntoskrnl.exe
exit
在執行上述 cd "c:\windows\driver cache\i386" 前,先執行:
xcopy F:\i386\SP2.cab c:\windows\driver cache\i386\
從安裝光碟複製壓縮包到快取資料夾,再繼續展開步驟。
技術背景:ntkrnlpa.exe 為實體位址擴展(PAE)核心,ntoskrnl.exe 為標準核心。SP2.cab 內含 ntkrpamp.exe(多處理器 PAE 核心)與 ntkrnlmp.exe(多處理器標準核心),需重新命名對應檔名才能被系統載入。