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

Boot.ini 是什麼?位置在哪?如何修改多重開機選單?

編輯:XP 系統應用技巧

Boot.ini 是 Windows XP/2000/2003 的開機載入器設定檔,儲存作業系統啟動選項、等待秒數、預設啟動項等參數。雖非啟動必要檔案(NTLDR 才是),但若遺失或設定錯誤會導致無法進入作業系統選單或直接開機失敗。

Boot.ini 位置

位於系統磁碟根目錄:C:\Boot.ini(預設為隱藏、系統、唯讀屬性)。

  • 顯示方法:資料夾選項 → 檢視 → 勾選「顯示所有檔案和資料夾」、取消勾選「隱藏受保護的作業系統檔案」。
  • 快速開啟:「執行」輸入 C:\Boot.ini 或 notepad C:\Boot.ini。

標準 Boot.ini 內容範例與參數說明

[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" /noexecute=optin /fastdetect
C:\GRLDR="Grub4Dos"

關鍵參數

  • timeout:開機選單等待秒數(預設 30 秒),設為 0 直接進入預設系統。
  • default:預設啟動的作業系統路徑(ARC 路徑格式)。
  • /fastdetect:略過序列/平行埠偵測,加快開機。
  • /noexecute=optin:啟用資料執行防護 (DEP)。
  • /SAFEBOOT:安全模式啟動參數(可在 msconfig 設定)。

修改建議

  • 編輯前請備份原檔案(複製為 Boot.ini.bak)。
  • 使用記事本編輯,存檔後需取消唯讀屬性(右鍵內容 → 取消勾選「唯讀」)。
  • 調整 timeout 可縮短/延長選單等待時間;修改 default 可變更預設啟動系統。

Vista/Win7 以降已改用 BCD (Boot Configuration Data),不再使用 Boot.ini。

Copyright © Windows教程網 All Rights Reserved