Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

Win7 + XP 雙系統啟動選單修復實戰:BCD + bootmgr + NTLDR + EasyBCD,從原理到操作手把手教你救回雙啟動

編輯:XP 系統應用技巧

先裝 XP (C:),再裝 Win7 (D:),雙啟動正常。後用一鍵還原還原 C: 分區,Win7 啟動項消失,僅剩 XP 與一鍵還原選單,無法進入 Win7。主因:還原 C: 導致 bootmgr、C:\Boot\BCD 遺失/損毀,Win7 啟動鏈斷裂。本文從啟動原理切入,實戰修復全流程:備份檔案準備、EasyBCD 重建 BCD 項目、bootsect 修復啟動磁區,手把手教你救回雙啟動。

雙系統啟動原理速懂

  • BIOS/UEFI 讀取作用中分區 (通常 C:) → 載入 bootmgr (Win7/8/10/11 啟動管理程式)。
  • bootmgr 讀取 C:\Boot\BCD (啟動配置資料) 與 C:\boot.ini (XP 啟動配置)。
  • 啟動選單顯示:「Windows 7」與「舊版 Windows」(XP)。
  • 選 Win7 → bootmgr 移交控制權給 C:\Windows\System32\winload.exe 載入 Win7。
  • 選 XP → bootmgr 移交控制權給 NTLDR → 讀取 C:\boot.ini 載入 XP。
  • 故障點:bootmgr 遺失、BCD 配置錯誤、winload.exe 遺失、NTLDR 遺失。

修復前準備(關鍵檔案與工具)

  • 備份檔案: bootmgr、NTLDR (C: 通常有)、BCD、bootsect.exe — 從 Win7 安裝光碟/ISO \boot\ 目錄提取,或同版本正常電腦複製。
  • 工具: EasyBCD (免費版) — XP 下需安裝 .NET Framework 2.0+。
  • 環境: 全程在 XP 系統下操作(因 Win7 進不去)。資料夾選項 →「檢視」→ 顯示隱藏/系統檔案。

實戰修復步驟

  1. 複製核心檔案:
    bootmgr、NTLDR → 複製到 C: 根目錄。
    BCD、bootsect.exe → 複製到 C:\Boot\ 目錄 (不存在請建立)。
  2. 執行 EasyBCD 重建啟動項:
    切換「Add/Remove Entries」→ 刪除無效項 →「Add an Entry」:
    • XP:Type Windows NT/2000/XP、Drive C:\、Name Windows XP → Add Entry。
    • Win7:Type Windows Vista/Longhorn、Drive D:\ (Win7 所在分區)、Name Windows 7 → Add Entry。
    完成後點「Save Settings」。
  3. 修復啟動磁區 (關鍵):
    Win+R → cmd → 進入 C:\Boot\ → 執行:
    bootsect /nt60 C: (將 C: 啟動磁區更新為 Win7/8/10/11 格式,原為 nt52 XP 格式)。
  4. 重開機驗證: 應出現 Win7 與 XP 雙選單,雙方均可正常進入。

常見坑點與對策

問題原因對策
EasyBCD 無法啟動缺 .NET Framework 2.0+安裝 .NET 2.0 SP2 / 3.5 SP1 (XP 內建 2.0 可能損壞)
Win7 選單項點擊後藍屏/重開機Drive 設錯 / winload.exe 路徑錯 / BCD device/osdevice 錯EasyBCD「View Settings」核對 Device/OsDevice 指向正確分區;必要時手動 bcdedit /set {guid} device partition=D:
XP 選單項無法進入NTLDR/boot.ini 遺失 / C: 非作用分區確認 C: 有 NTLDR、NTDETECT.COM、boot.ini;diskpart 確認 C: active
bootsect 報錯「無法鎖定磁碟」其他程式佔用 / 權限不足以系統管理員 cmd 執行;安全模式下執行

進階:手動 bcdedit 重建 (不依賴 EasyBCD)

bcdedit /create {bootmgr} /d "Windows Boot Manager"
bcdedit /set {bootmgr} device partition=C:
bcdedit /create /d "Windows 7" /application osloader
:: 記下產生的 GUID {guid7}
bcdedit /set {guid7} device partition=D:
bcdedit /set {guid7} osdevice partition=D:
bcdedit /set {guid7} path \Windows\system32\winload.exe
bcdedit /set {guid7} locale zh-CN
bcdedit /create /d "Windows XP" /application osloader
:: 記下產生的 GUID {guidXP}
bcdedit /set {guidXP} device partition=C:
bcdedit /set {guidXP} osdevice partition=C:
bcdedit /set {guidXP} path \ntldr
bcdedit /displayorder {guid7} {guidXP}
bcdedit /default {guid7}
bcdedit /timeout 10

雙系統啟動修復看似複雜,實則邏輯清晰:備份核心檔 → EasyBCD 重建 BCD 選單 → bootsect 修復啟動磁區。掌握原理,下次無論是還原、分區調整、病毒破壞導致啟動項消失,你都能從容修復,不再重裝系統!

Copyright © Windows教程網 All Rights Reserved