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

XP 引導 Vista 雙系統:用 NTLDR/BOOT.INI 管理 BCD 的另類方案

編輯:Windows XP 系統介紹

常規雙系統由高版本引導程序管理低版本(Win7 BCD 管 XP)。本文反其道行之:用 XP 的 NTLDR + BOOT.INI 引導 Vista,簡化引導鏈,避免 BCD 複雜性。

核心邏輯

BIOS → MBR → NTLDR → BOOT.INI 選單 → 選 XP 直接啟動 / 選 Vista 鏈載 Vista 引導扇區 → Vista 繼續啟動

硬盤分區規劃

  • 主分區 1 (C:) → 安裝 XP,標記為活動分區
  • 主分區 2 (D:) → 安裝 Vista
  • XP 必須在主分區且為活動分區,NTLDR 才能被 MBR 加載

安裝步驟(先 XP 後 Vista)

  1. 激活分區 1,安裝 XP
  2. 備份 MBR:dd if=/dev/sda of=mbr.xp bs=512 count=1 (Linux) 或 WinHex 讀取前 512 字節
  3. 激活分區 2,安裝 Vista(Vista 會覆蓋 MBR 寫入自己的引導代碼)
  4. 恢復 XP MBR:將備份的 mbr.xp 寫回磁盤前 512 字節
  5. 在 XP 下編輯 C:\BOOT.INI 添加 Vista 項:
    multi(0)disk(0)rdisk(0)partition(2)\WINVISTA="Windows Vista" /fastdetect
    (需 Vista 安裝分區為第 2 主分區,且已運行 bcdboot D:\Windows 生成引導文件)

工具箱

  • MBR 備份/恢復:WinHex、dd (Linux)、MBRWizard
  • 分區活動標記:磁盤管理 (diskmgmt.msc) → 右鍵分區 → 「標記分區為活動」
  • Vista 引導修復:bcdboot D:\Windows /s C: (在 XP 下運行,需 Vista 安裝介質提供 bcdboot.exe)

優缺點

  • ✅ 引導鏈簡單,NTLDR 成熟穩定,易於手工修復
  • ✅ 避免 BCD 複雜性與 EasyBCD 等第三方工具依賴
  • ❌ Vista 休眠/快速啟動可能受影響(需測試)
  • ❌ 需手動維護 BOOT.INI,不適合頻繁增減系統場景

極客折騰黨的另類選擇,深度理解引導流程的最佳實踐。

Copyright © Windows教程網 All Rights Reserved