/OFFBOOTDIR SFC 옵션에서 "오프라인 부팅 디렉터리"는 무엇을 의미합니까?

/OFFBOOTDIR SFC 옵션에서 "오프라인 부팅 디렉터리"는 무엇을 의미합니까?

많은 튜토리얼/지침이 있습니다.저 밖에부팅된 Windows(Vista+) 설치가 아닌 다른 Windows(Vista+) 설치를 SFC 스캔하는 방법, 예:

Sfc.exe /ScanNow /OffBootDir=E:\ /OffWindir=D:\Windows /OfflogFile=E:\OffBoot.log

내 문제는 문서가 다음의 의미에 대해 다소 명확하지 않다는 것입니다 /OffBootDir.

/OFFWINDIR     For offline repair, specify the location of the offline windows directory
/OFFBOOTDIR     For offline repair, specify the location of the offline boot directory

이해합니다만 OFFWINDIR, 그게 정확히 무엇을 OFFBOOTDIR가리키는 것인가요? BCD 매장이 있는 드라이브는요? 다른 것?

(겉보기에는관련 q는 여기OP는 DISM을 SFC와 혼동했습니다. DISM 및 SFC같은 일을하지 마십시오; DISM으로 이미지를 스캔하고 싶지 않습니다. 그렇게 했는데 괜찮아요. "완전히 추출된" 파일을 SFC로 스캔하는 것에 대해 정말로 묻고 있으니 DISM 답변은 하지 마세요.)


더 구체적으로 말하자면, 빌드는 동일하지만 파티션/문자 드라이브가 다른 두 개의 Win 10 설치가 있고 해당 BCD는 세 번째 문자/파티션에 있습니다. Win 10 설치 중 하나가 더 이상 부팅되지 않습니다. 이동 가능한 마우스 화살표가 있지만 무한히 회전하는 커서가 있는 [악명 높은] 검은 화면에 있습니다(그리고 Caps Lock은 10초마다 깜박입니다). 정상/작동 중인 Win 10 설치에서 SFC 스캔을 시도하고 있습니다.

자체적으로 실행 중인 Win 10 설치를 검사할 수 있으며 문제가 없거나 sfc /verifyonly오류나 sfc /scannow문제가 발생하지 않습니다.

그러나 OFFWINDIRBCD 드라이브 또는 "죽은" Win 10 설치 드라이브를 가리키면 (2개의) 로그(날짜를 모듈로)에서 정확히 동일한 오류가 발생했습니다.

0000129a@2020/7/1:16:02:35.036 (F) onecore\base\wcp\sil\fs_rerooted.cpp(424): Error c0000039 [Error,Facility=(system),Code=57 (0x0039)] originated in function Windows::Rtl::SystemImplementation::CRerootedFileSystemProvider::SysCreateFile expression: (null)

두 로그를 비교하여 알아냈습니다. 에 대해 불평하고 있기 때문에 마음에 들지 않는 CRerooted것으로 의심됩니다 ... (offbootdir알겠어요다른 사람도 같은 오류가 발생했지만 그 내용에 대한 실제 답변은 없습니다.) 그렇지 않으면 드라이브가 제대로 마운트되고 파일을 볼 수 있습니다.

"죽은"(계속 회전한다는 의미) 설치 드라이브의 경우 chkdsk몇 가지(주로 AppCrash) 오류만 발생하며, 의심할 여지없이 강제 전원 끄기로 인해 발생했습니다.

  62386 reparse records processed.
                                                                                Index entry Report.wer in index $I30 of file C801 is incorrect.
Index entry Report.wer in index $I30 of file C831 is incorrect.
Index entry Report.wer in index $I30 of file C8A1 is incorrect.
Index entry Report.wer in index $I30 of file C8BF is incorrect.
Index entry Report.wer in index $I30 of file C915 is incorrect.
Index entry Report.wer in index $I30 of file C9A3 is incorrect.
Index entry Report.wer in index $I30 of file C9B5 is incorrect.
Index entry Report.wer in index $I30 of file C9C3 is incorrect.
                                                                                Index entry AP1CC0~1.EXE in index $I30 of file 662D5 is incorrect.
Index entry AP1D30~1.EXE in index $I30 of file 662D5 is incorrect.
Index entry AP4032~1.EXE in index $I30 of file 662D5 is incorrect.
Index entry APA3A9~1.EXE in index $I30 of file 662D5 is incorrect.
Index entry APA768~1.EXE in index $I30 of file 662D5 is incorrect.
Index entry AppCrash_dwm.exe_602785ff1ad84b4251fd4d4d968a49205c4997_25529819_50b89d74-3097-4aa9-b867-7c9c3c5dae6a in index $I30 of file 662D5 is incorrect.
Index entry AppCrash_dwm.exe_602785ff1ad84b4251fd4d4d968a49205c4997_25529819_58d875dd-29ab-429e-ba1f-82d14fd237d5 in index $I30 of file 662D5 is incorrect.
Index entry AppCrash_dwm.exe_602785ff1ad84b4251fd4d4d968a49205c4997_25529819_e0e33150-ba5c-471f-98be-c25484e60dae in index $I30 of file 662D5 is incorrect.
Index entry AppCrash_LogonUI.exe_663467edba6d197a625e1e79c1e876af21ec6c_6f8885ad_29c4cfb1-f7d8-4751-819a-ed51573d6a5e in index $I30 of file 662D5 is incorrect.
Index entry AppCrash_LogonUI.exe_663467edba6d197a625e1e79c1e876af21ec6c_6f8885ad_37ed6e37-8e90-4d53-b676-414831b028a4 in index $I30 of file 662D5 is incorrect.
                                                                                Index entry AP29BE~1.EXE in index $I30 of file 662FC is incorrect.
Index entry AP2A31~1.EXE in index $I30 of file 662FC is incorrect.
Index entry AP4213~1.EXE in index $I30 of file 662FC is incorrect.
Index entry AP5D1D~1.EXE in index $I30 of file 662FC is incorrect.
Index entry AP6F64~1.EXE in index $I30 of file 662FC is incorrect.
Index entry AP8027~1.EXE in index $I30 of file 662FC is incorrect.
Index entry AP8B28~1.EXE in index $I30 of file 662FC is incorrect.
Index entry APB701~1.EXE in index $I30 of file 662FC is incorrect.
Index entry APD8D4~1.EXE in index $I30 of file 662FC is incorrect.
Index entry APD90D~1.EXE in index $I30 of file 662FC is incorrect.
Index entry AppCrash_dwm.exe_602785ff1ad84b4251fd4d4d968a49205c4997_25529819_3c6809aa-e39d-4112-80ed-d9c20f6429b4 in index $I30 of file 662FC is incorrect.
Index entry AppCrash_dwm.exe_602785ff1ad84b4251fd4d4d968a49205c4997_25529819_ebccbc17-b8e5-4ab9-a4f5-738a3378fdf7 in index $I30 of file 662FC is incorrect.
Index entry AppCrash_LogonUI.exe_663467edba6d197a625e1e79c1e876af21ec6c_6f8885ad_08a0074d-89ad-4ae3-a2fe-cc8d74833eb9 in index $I30 of file 662FC is incorrect.
Index entry AppCrash_LogonUI.exe_663467edba6d197a625e1e79c1e876af21ec6c_6f8885ad_195a3824-35fa-4eeb-90f5-cd80e543becf in index $I30 of file 662FC is incorrect.
Index entry AppCrash_LogonUI.exe_663467edba6d197a625e1e79c1e876af21ec6c_6f8885ad_1c50c522-08b8-460e-8f9e-e0d0d09202ac in index $I30 of file 662FC is incorrect.
Index entry AppCrash_LogonUI.exe_663467edba6d197a625e1e79c1e876af21ec6c_6f8885ad_74d589b1-3d92-49fe-bf0b-e6d62a4912b8 in index $I30 of file 662FC is incorrect.
Index entry AppCrash_LogonUI.exe_663467edba6d197a625e1e79c1e876af21ec6c_6f8885ad_8a604bac-dde8-4835-bfb4-c0006a6af03c in index $I30 of file 662FC is incorrect.
Index entry AppCrash_LogonUI.exe_663467edba6d197a625e1e79c1e876af21ec6c_6f8885ad_db10a313-935a-4127-b193-d9fa596ee322 in index $I30 of file 662FC is incorrect.
Index entry AppCrash_LogonUI.exe_663467edba6d197a625e1e79c1e876af21ec6c_6f8885ad_eccb09a4-0826-4648-a1ac-418df36f1328 in index $I30 of file 662FC is incorrect.
Index entry AppCrash_LogonUI.exe_663467edba6d197a625e1e79c1e876af21ec6c_6f8885ad_f1607dcd-f286-4ce4-abbe-a923d06cb11b in index $I30 of file 662FC is incorrect.
                                                                                                                                                                  662946 index entries processed.                                               

사용할 수 있었어요AppCrashView충돌한 OS 보고서를 로드합니다( "죽은" Win10의 적절한 디렉토리를 포함하고 이를 가리킴) /ReportsFolder. 오류 코드와 함께 앱 충돌(보고)이 발생한 /ProfilesFolder것 같습니다 . 사실, 그것은 단지 아카이브에 도달한 것이었고 다른 것들은 dwm이 주기적으로 충돌했기 때문에 전체 무리에 있었습니다.\WINDOWS\system32\sihost.exe0x80270234WER\ReportQueue

여기에 이미지 설명을 입력하세요

sfc그러나 이는 다른 도구가 괜찮아 보이는데 왜 "죽은" OS에서 실행을 거부하는지 알아내는 데 큰 도움이 되지 않습니다 .


chkdsk /f좋아, 부팅 시 몇 가지 디스크 오류를 수정했습니다 . 하지만 그것은 SFC가 그 일을 하도록 설득하지 못했습니다.

가장 재미있는 점은 이제 근본적인 문제를 해결했기 때문에 두 Win 10 인스턴스가 모두 제대로 부팅된다는 것입니다... 하지만 sfc아직100% 정상이고 부팅 가능한 후에도 오프라인 설치를 검색하는 데 작동하지 않았습니다.

작동하지 않는 설치에 잘못된 HKLM/MountedDevices가 있었는데, 하이브를 로드하고 매핑을 변경하여 "오프라인"으로 수정했습니다. (appcrash 보고서에서 자체 매핑이 C:가 아니라는 것을 깨달았습니다.) 그러나 이 작업을 수행한 후에도 "오프라인" sfc는 변경 후 설치가 정상적으로 부팅되었음에도 불구하고 여전히 작동을 거부합니다(동일한 오류 발생). sfc /scannow그 안에서 실행될 수 있습니다 . (오류가 보고되지 않았습니다.)

따라서 오프라인 SFC 스캔은 실제로 사용할 수 있는 것보다 이론적인 것 같습니다. SFC 오프라인에서 무슨 일이 일어나고 있는지 정확히 아는 사람이 있을 경우를 대비해 공개 질문으로 남겨둡니다.

관련 정보