Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> 關於 Windows

重裝 Windows 7 後無法啟動 CentOS 6.4?用 LiveUSB 進入救援模式重裝 GRUB

編輯:關於 Windows

雙系統 (Win7 + CentOS 6.4) 重裝 Win7 導致 GRUB 被覆蓋,無法進入 Linux。解決方法:使用 CentOS 安裝 USB 進入救援模式,chroot 重裝 GRUB 至 MBR。

修復步驟

  1. 下載 CentOS-6.4 ISO,用 UltraISO 燒錄至 USB。
  2. BIOS 設定 USB 開機,進入安裝介面選 Rescue installed system (救援模式)。
  3. 語言/鍵盤/網路設定略過,選擇「Continue」掛載系統映像至 /mnt/sysimage,進入 Shell。
  4. 執行 chroot 切換根目錄:
    chroot /mnt/sysimage
  5. 重裝 GRUB 到硬碟 (通常為 sda):
    grub-install /dev/sda
  6. 檢查/編輯 /boot/grub/grub.conf,確認 Windows 項目存在,若無手動添加:
    title Windows 7
    root (hd0,0)
    makeactive
    chainloader +1
  7. 輸入 exit 離開 chroot,reboot 重開機。

重開機後 GRUB 選單恢復,可正常選擇進入 CentOS 或 Windows 7。

Copyright © Windows教程網 All Rights Reserved