Microsoft KB Archive/314081

= The purpose of the Boot.ini file in Windows XP =

Article ID: 314081

Article Last Modified on 8/1/2005

-

APPLIES TO


 * Microsoft Windows XP Home Edition
 * Microsoft Windows XP Professional

-



This article was previously published under Q314081





For a Microsoft Windows 2000 version of this article, see 99743.



INTRODUCTION
This article describes the purpose and contents of the Boot.ini file.



MORE INFORMATION
Windows (specifically Ntldr) uses the Boot.ini file to determine which operating system options to display when the Startup program is running. By default, Boot.ini is not flagged as a read-only system file and generally does not require any manual modification.

If you must change the contents of this file, use the System tool in Control Panel:
 * 1) Click Start button, click Control Panel, and then double-click System.
 * 2) Click the Advanced tab, and then click Settings under Startup and Recovery.

Typically, the Boot.ini file contains the following data:

[boot loader]

timeout=30

default=scsi(0)disk(0)rdisk(0)partition(1)\winnt

[operating systems]

scsi(0)disk(0)rdisk(0)partition(1)\winnt = &quot;Windows NT&quot; /NODEBUG C:\ = &quot;Previous Operating System on C:\&quot;

The following list describes the meaning of the data in the Boot.ini file:
 * The &quot;timeout&quot; variable specifies how long Windows waits before choosing the default operating system.
 * The &quot;default&quot; variable specifies the default operating system.
 * The term &quot;scsi(0)&quot; means that the primary controller (that is frequently the only controller) is responsible for the device. If there are two SCSI controllers, and the disk is associated with the second controller, the controller is named &quot;scsi(1)&quot;.

If the system uses IDE, enhanced IDE (EIDE), or Enhanced Small Device Interface (ESDI) drives, or if the system uses a SCSI adapter that does not have a built-in BIOS, replace &quot;scsi&quot; with &quot;multi&quot;.
 * The term &quot;disk(0)&quot; refers to the SCSI logical unit (LUN) to use. This may be a separate disk, but most SCSI setups have only one LUN for each SCSI ID.
 * The term &quot;rdisk(0)&quot; refers to physical disk 1.
 * The term &quot;partition(1)&quot; is the partition on the first drive in the computer. If there are two partitions, partition C is partition(1) and partition D is partition(2).
 * A multi-boot parameter calls for checking the Winnt folder to start from a specified SCSI controller's disk and partition.
 * &quot;/NODEBUG&quot; specifies that no debugging information is being monitored. Debugging information is useful only for developers.
 * You can add the /SOS option to display driver names while the drivers are being loaded. By default, the OS Loader screen only shows progress dots.
 * &quot;Previous Operating System on C:\&quot; implies that the &quot;previous operating system&quot; is MS-DOS, because &quot;C:\&quot; is an MS-DOS path.

Keywords: kbenv kbinfo kbsetup KB314081

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.