BOOT.INI: Difference between revisions

From BetaArchive Wiki
mNo edit summary
No edit summary
Line 12: Line 12:


If the boot loader timeout option in boot.ini is set to 0, the NTLDR boot menu does not appear, and insted defaults to the first OS listed.
If the boot loader timeout option in boot.ini is set to 0, the NTLDR boot menu does not appear, and insted defaults to the first OS listed.
===Switches===
'''/BOOTLOG'''<br>
Causes Windows to write a log of the boot to the file %SystemRoot%\Ntbtlog.txt.
<br>
'''/DEBUG''' <br>
Enables kernel-mode debugging.
<br>
'''/DEBUGPORT='''<br>
Enables kernel-mode debugging and specifies an override for the default serial port

Revision as of 17:30, 19 March 2010

Boot.ini is the Windows Boot Configuration file, called by NTLDR (NT Loader). It is surpassed by the Windows Boot Configuration Data Store in Windows Vista and later. The boot.ini file can be edited using MSConfig (System Configuration), which contains options such as timout, safe mode and No GUI Boot.

Example

An example of a boot.ini file:

[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

If the boot loader timeout option in boot.ini is set to 0, the NTLDR boot menu does not appear, and insted defaults to the first OS listed.

Switches

/BOOTLOG
Causes Windows to write a log of the boot to the file %SystemRoot%\Ntbtlog.txt.
/DEBUG
Enables kernel-mode debugging.
/DEBUGPORT=
Enables kernel-mode debugging and specifies an override for the default serial port