1. 程式人生 > >怎樣修復 Windows 7 的 Boot/BCD 0xc000000f Error

怎樣修復 Windows 7 的 Boot/BCD 0xc000000f Error

這篇文章是針對windows 7 系統的,但是在vista和2008/r2中也會出現同樣的錯誤。

當你重啟你的電腦後你會收到如下的錯誤資訊:

Windows Boot Manager
Windows failed to start. A recent hardware or software change might be the cause. To fix the problem:
1.insert windos cd and run a repair your computer option.
File: /boot/bcd
Status: 0xc000000f
Info: an error occurred while attempting to read the boot configuration data.

你收到的錯誤內碼表可能是0xc0000034或者是 檔案:file:\windows\system32\winload.exe missing。

當你通過bootrec或者是bootedit進行修復後你可能得到下面的更進一步的錯誤訊息:

The requested system device cannot be found.
The “Windows Boot Configuration Data File is Missing Required Information
The “Windows Boot Configuration Data File is Missing
An error occurred while attempting to read the boot configuration data

導致這種錯誤的原因和修復辦法

最可能導致這種的錯誤的原因是原來你的硬碟上有兩個作業系統而後來你刪除了一個。由於你的疏忽,你可能刪除了bcd boot store.這裡使用的修復方法是按照正確的順序執行上面的命令並將你的boot partition設定為活動分割槽。

確認你的boot partition是活動分割槽

從你的修復光碟或U盤啟動並選擇“修復計算機”,在你的控制檯(最後一個選項,是一個黑色的console)輸入 “diskpart",接著輸入"list disk"來檢視所有的硬碟,你會看到你所有的硬碟,使用 "select disk x"來選擇硬碟,x為你的硬碟編號。使用"list partition"來檢視自己的win 7 boot sector所在的分割槽,使用"select partition x"來選擇相應的分割槽。
現在輸入"detail partition"並檢視報告中是否說明其為Active(活動的).如果是活動的,就可以直接進入下一步了,不然的話使用"Active"來將其標記為活動分割槽,windows會報告說該分割槽當前已被標記為活動分割槽了,現在重啟電腦並再次進入修復模式.

修復mbr和boot sector

在修復控制檯中依次輸入以下的命令
bootrec /fixmbr
bootrec /fixboot
現在重啟你的電腦病並進入修復控制檯輸入“bcdboot path to your windows folder“.你的windows folder一般是在C:\Windows,但是在修復模式下,其可能顯示為D:\Windows,所以要確定你的Windows的正確路徑(通過使用dir即可很快的確定該路徑),在我的電腦上是使用的"bcdboot d:\windows",這條命令會建立一個新的bcd boot sector並將所以啟動需要的檔案都拷貝進去,現在最後一次重新啟動你的電腦,不出意外的話,你的電腦就能夠正常啟動了,如果還不能正常啟動,重新執行上面兩條bootrec命令。 如果在你的硬碟上還有其他的作業系統,你可以使用 bootrec /scanos來將它們加入啟動項中。