如果我不小心刪除了啟動分割區,如何重新安裝 Windows 7 啟動管理員? (啟用 BitLocker)

如果我不小心刪除了啟動分割區,如何重新安裝 Windows 7 啟動管理員? (啟用 BitLocker)

(與我今天關於安裝 Windows 10 的另一篇文章無關,它發生在另一台電腦上)。

在裝有 Windows 7 的 Lenovo T520 上,我有 4 個分割區:

  • 100MB分區
  • 150 GB 分割區 (C:\Windows),使用 BitLocker
  • 700 GB 分割區(資料),使用 BitLocker
  • 300MB分區

我認為這兩個小分割區沒有使用,所以我刪除了它們diskmgmt.msc並將 150 GB 系統分割區設定為「活動」。現在系統不再啟動:

取出磁碟或其他媒體。按任意鍵重新啟動。

我在 Windows 7 安裝 USB 隨身碟上啟動,在命令列中輸入並執行以下操作:

manage-bde -unlock c: -recoverypassword PASSWORDHERE

所以C:現在已透過 Bitlocker 解鎖。然後我做了:

bootrec /fixmbr
bootrec /fixboot
bootrec /ScanOs
bootrec /rebuildBcd

並且:

c:\windows\system32\bcdboot c:\windows /s c:

所有的消息基本上都說「成功」。

重啟後問題依舊:Remove disks or other media. Press any key to restart.

如何讓我的 C: 與 Windows 7(在受 Bitlocker 保護的分割區上)再次可啟動?

答案1

我不知道是否有更好的解決方案,但我最終這樣做了:

  • 在 Windows 7 安裝 USB 隨身碟上啟動

  • 完全停用 C: 上的 BitLocker

    manage-bde -unlock c: -recoverypassword PASSWORDHERE
    manage-bde -off c:
    # then wait 1 hour and check it's done with:
    manage-bde -status
    
  • 然後

    bootrec /fixmbr
    bootrec /fixboot
    bootrec /ScanOs
    bootrec /rebuildBcd
    

    c:\windows\system32\bcdboot c:\windows /s c:
    

    diskpart
    select disk 0
    select partition NUMBERHERE
    active
    exit
    
  • 重啟,就可以了!

評論:

  • 這不是一個很好的解決方案,因為它需要停用 C: 上的 BitLocker,但至少我的系統不會永遠鎖定,而且我的檔案又回來了。既然引導系統再次運作,我必須重新啟用 BitLocker。

  • 此後,當嘗試Turn on auto-unlock D:\啟動時,我收到以下訊息:資料錯誤(循環冗餘校驗)。幸運的是這個帖子給出了解決方案:

    manage-bde -autounlock -clearallkeys C:
    

    並重新啟動,然後「啟動時自動解鎖 Bitlocker」功能將再次運作。

  • 我不知道為什麼,但完成所有這些步驟後,自動建立了一個新的 300 MB 分割區,現在是活動分割區!可能是引導分割區?

答案2

第二個答案更好/更快,因為它確實如此不是需要解密整個磁碟(但我保留其他答案以供將來參考):

  • 在 Windows 7 安裝 USB 隨身碟上啟動

  • 暫時暫停 C: 上的 BitLocker

     manage-bde -unlock c: -recoverypassword PASSWORDHERE
     manage-bde –Protectors –Disable C:
    
  • 重新建立一個 300MB 的啟動分區不是BitLocker 加密:

    diskpart
    select disk 0
    create partition # for me a 300 MB did the job
    format
    active # make it bootable
    list volume
    select volume VOLUMENUMBER  # select the new partition
    assign letter=z
    exit
    
  • 然後做:

    bootrec /fixmbr
    bootrec /fixboot
    bootrec /nt60 sys /force /mbr    # i maybe tried  bootrec /nt60 c: /force /mbr and bootrec /nt60 z: /force /mbr as well
    

    bcdboot c:\windows /s z:    # or was it bcdboot z: /s c: ? I don't remember
    
  • 重啟一下,應該可以了!

相關內容