共用方式為


Boot.ini檔案中的開機選項

重要

本主題描述 Windows XP 和 Windows Server 2003 中支援的開機選項。 如果您要變更 Windows 8、Windows Server 2012、Windows 7、Windows Server 2008 或 Windows Vista 的開機選項,請參閱Windows Vista 和更新版本中的開機選項。]

Boot.ini是位於系統分割區根目錄的文字檔,通常c:\Boot.ini。 Boot.ini儲存 BIOS 韌體電腦開機選項,傳統上是具有 IA-32 型和 x64 型處理器的電腦。 在 Windows Server 2003 和舊版的Windows NT系列作業系統上,當電腦啟動時,Windows 開機載入器稱為 「ntldr」,會讀取Boot.ini檔案,並在開機功能表中顯示每個作業系統的專案。 然後,ntldr 會根據Boot.ini檔案中的設定載入選取的作業系統。

根據預設,在 NTFS 磁片磁碟機上, 系統隱藏封存唯讀 屬性會設定為保護Boot.ini;不過,Administrators 群組的成員可以變更這些屬性。 檔案屬性不會影響開機載入器的作業。

下列各節簡短描述Boot.ini,並說明個人電腦進階技術 (電腦/AT) 類型 BIOS 韌體之電腦特有的開機選項層面。

本節包括:

本檔說明驅動程式開發人員和測試人員特別感興趣的Boot.ini層面。 如需Boot.ini參數的完整清單,請參閱 Microsoft 支援服務 網站上的Windows XP 的可用切換選項和 Windows Server 2003 Boot.ini 檔案主題。

將Boot.ini選項對應至 BCDEdit 選項和元素

下表提供從 Windows Vista (Boot.ini) 中作業系統中使用的開機選項,到 WINDOWS 中使用的 BCDEdit 選項和 BCD 元素的對應。 如需具有 WMI 內容之 BCD 開機專案的資訊,請參閱 BCD WMI 提供者參考

Boot.ini BCDEdit 選項 BCD 元素類型

/3GB

increaseuserva

BcdOSLoaderInteger_IncreaseUserVa

/BASEVIDEO

Vga

BcdOSLoaderBoolean_UseVgaDriver

/BOOTLOG

bootlog

BcdOSLoaderBoolean_BootLogInitialization

/打破

halbreakpoint

BcdOSLoaderBoolean_DebuggerHalBreakpoint

/CRASHDEBUG

/dbgsettings /start

/DEBUG,BOOTDEBUG

/debug

/bootdebug

BcdLibraryBoolean_DebuggerEnabled

/DEBUG

/debug

BcdOSLoaderBoolean_KernelDebuggerEnabled

/DEBUG、 /DEBUGPORT=

/dbgsettings

BcdLibraryInteger_DebuggerType

/DEBUGPORT=

/dbgsettings

BcdLibraryInteger_SerialDebuggerPort

BcdLibraryInteger_SerialDebuggerBaudRate

BcdLibraryInteger_1394DebuggerChannel

BcdLibraryString_UsbDebuggerTargetName

BcdLibraryInteger_DebuggerNetHostIP

BcdLibraryInteger_DebuggerNetPort

BcdLibraryBoolean_DebuggerNetDhcp

BcdLibraryString_DebuggerNetKey

/執行

Nx

BcdOSLoaderInteger_NxPolicy

/FASTDETECT

/HAL=

哈爾

BcdOSLoaderString_HalPath

/KERNEL=

核心 (kernel)

BcdOSLoaderString_KernelPath

/MAXMEM=

truncatememory

BcdLibraryInteger_TruncatePhysicalMemory

/NODEBUG

/debug

/NOEXECUTE

nx {

BcdOSLoaderInteger_NxPolicy

/NOGUIBOOT

quietboot

BcdOSLoaderBoolean_DisableBootDisplay

/NOLOWMEM

nolowmem

BcdOSLoaderBoolean_NoLowMemory

/NOPAE

Pae

BcdOSLoaderInteger_PAEPolicy

/ONECPU

onecpu

BcdOSLoaderBoolean_UseBootProcessorOnly

/Pae

Pae

BcdOSLoaderInteger_PAEPolicy

/PCILOCK

usefirmwarepcisettings

BcdOSLoaderInteger_UseFirmwarePciSettings

/重 定向

/Ems

/emssettings [ BIOS ] |

[ EMSPORT:{port} |[EMSBAUDRATE: {badrate}] ]

BcdOSLoaderBoolean_EmsEnabled

/Sos

Sos