從 EFI 分割區刪除 Microsoft 資料夾後如何恢復 Windows 10 啟動?

從 EFI 分割區刪除 Microsoft 資料夾後如何恢復 Windows 10 啟動?

我必須調整我的 EFI 分割區大小並對其進行格式化,它刪除了其中的 Microsoft 資料夾,我無法再在 Windows 10 上啟動。

我進入 Windows 10 磁碟中的復原模式命令列並鍵入bootrec /rebuildbcd它,發現我的 Windows 10 安裝並表示重建成功,但是我無法在它在 efi 啟動功能表中建立的條目上啟動(當我選擇它)。關於如何修復 Windows 10 啟動有什麼想法嗎?

答案1

您無法使用 修復 EFI 啟動/fixmbr。這會搞砸你的 GPT 磁碟並將其返回到 MBR 兩種不同的野獸。

若要修復 EFI 引導,請使用功能鍵載入 Windows USB 進入設定選單,然後按一下允許 EFI USB。

出現一個框想要升級,點選「否」。

然後出現 Windows 安裝窗口,按一下下一個 維修電腦>排除故障...>先進的>命令提示符

在命令提示字元處:

diskpart
list disk  /* rem with a USB and HDD you will only have two selections
sel disk 0 
list vol
sel vol    /* rem look for SYSTEM FAT32 hidden ~100 MB mine was sel vol 3 yours maybe different
format fs=fat32 quick label=(optional)
list vol   /*rem look for and remember which Volume Windows is C or D ?
exit
/* then...
bcdboot C:\Windows

現在,如果它在一分鐘後掛斷,請點擊CTRL+ c。 (我不知道為什麼有時會這樣做,但您會收到一條訊息,引導檔案已成功創建,並且它將正常引導到 Windows。)

exit

按一下關閉計算機,刪除 USB 並重新啟動。

答案2

這是關於的更新諾特烏斯很好的答案。

一個電噴必須使用適當的工具修理引導件。 (大多數傳統的 MBR-BIOS 磁碟設定將使用該fixmbr工具。)

若要修復 EFI 啟動,可以透過以下方式啟動至 Windows 復原環境:

  • 使用 UEFI 定義的功能鍵啟動 Win RE 分割區(如果您的電腦有)
  • 用一個USB 復原驅動器啟動 Win RE(希望讀者有先見之明來建立此)[此外,可能需要編輯 UEFI 設定以允許 USB 裝置啟動優先權]

當 Win RE 啟動後,透過類似以下內容進入命令提示字元:排除故障...進階選項命令提示符。從那裡:

diskpart               # disk-partition editor/formatter…
list disk
select disk [0-9]      # the EFI System partition is usually on disk 0
list partition
sel partition [0-9]    # the EFI _System_ partition is usually the first [1]
detail partition       # details if formatted, healthy, _System_ partition
  ! the next command nullifies any current data on the partition !
  I had to do this because my partition showed RAW, `chkdsk` lacked success,
  zero files were on it; though this method did work for me to restore
  Windows booting, I would recommend try to fix the boot partition first.
format fs=fat32 quick label=System
list vol               # disk label "Windows" to determine disk letter
exit

隨著系統格式化分割區並了解 Windows 目錄磁碟盤符後,下一步是將開機檔案複製到 EFI 系統分割區,我相信 NVRAM 已更新:

mountvol S: /S                       # the System partition mount to S:
bcdboot c:\windows /s s: /f UEFI /v  # `bcdboot c:\windows` may be enough
                                       /s for mountpoint, /f for firmwaretype
                                       /v for verbose
exit                                 # then rm USB is used, reboot

答案3

步驟 1:啟動時插入可啟動 WINDOWS 10 的筆式驅動器

第 2 步:現在選擇語言並按下一步

第 3 步:現在點擊“修復電腦”

步驟4:點選高級->命令提示符

第 5 步:輸入此命令

bcdboot c:\Windows /l en-us /sc: /f ALL

上面的行解決了所有問題。

步驟 6:鍵入 exit,關閉系統,刪除 USB 並重新啟動系統以解決此錯誤。

對於我在 Windows 10 上無法使用 Bootrec 命令修復的錯誤“Bootmgr Missing press crtl+alt+supr”,這對我來說是非常有用且簡單的解決方案。

答案4

您是否按照以下順序進行了rebuildbcd? (每一項後按回車鍵)

  1. 引導記錄/掃描
  2. 引導記錄/FIXMBR
  3. 引導記錄/修復引導
  4. 引導記錄/重建DBCD

如果 bootrec /rebuildbcd 結果

已成功掃描 Windows 安裝。已識別的 Windows 安裝總數:1

[1] D:\Windows 將安裝新增至啟動清單?是/否/全部:

然後它不起作用,請嘗試以下操作:

  • chkdsk /r

檢查磁碟完成後,您可以嘗試啟動電腦並檢查是否可以解決問題。如果不,

  • SFC /SCANNOW 指令重建或還原電腦上損壞的系統檔案。

重啟並檢查

相關內容