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

BOOT.INI 遺失或損毀?快速重建與修復指南

編輯:XP 常見問題解答

Windows XP/2000/2003 BOOT.INI 修復完整教學

開機出現「BOOT.INI 非法」或「找不到 BOOT.INI」訊息,通常是該檔案遺失、損毀或參數錯誤。以下提供兩種修復方式:

方法一:在 Windows 介面下直接編輯(適用於仍能進入系統)

  1. 右鍵「我的電腦」→「內容」→「進階」分頁。
  2. 「啟動及修復」區塊點選「設定」→「編輯」。
  3. 記事本開啟 BOOT.INI,清空內容並貼上以下標準範本(請根據實際分區調整 partition(1) 與 \WINDOWS 路徑):
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect
  1. 存檔離開,重新開機即可。

方法二:使用修復主控台(無法進入系統時)

  1. 插入 Windows XP 安裝光碟開機,進入「歡迎安裝」畫面按 R 進入修復主控台。
  2. 選擇要修復的 Windows 安裝(通常是 1),輸入系統管理員密碼。
  3. 依序執行:
cd \
attrib -h -r -s boot.ini
del boot.ini
copy D:\i386\boot.ini c:\  (或從其他備份來源複製)
attrib +h +r +s boot.ini

注意:光碟機代號可能非 D:,請以實際狀況調整。

標準 BOOT.INI 參數說明

  • timeout:選單等待秒數,建議 30 秒。
  • default:預設啟動項,指向作業系統所在分區與目錄。
  • multi(0)disk(0)rdisk(0)partition(1):第一顆硬碟第一個分區(C:)。若系統裝在 D:,請改為 partition(2)。
  • /fastdetect:略過硬體偵測加快啟動。

修復完成後,系統應能正常顯示開機選單並正確載入 Windows。

Copyright © Windows教程網 All Rights Reserved