To edit the fi le, open it with a text editor such as Notepad. Following is a typical boot.ini fi le for a
PC that has two operating systems installed on it—Windows XP Home Edition and Windows 2000
Professional:
[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 Home Edition" /fastdetect
multi(0)disk(0)rdisk(0)partition(2)\WINNT="Windows 2000 Professional" /fastdetect
As you can see, there are two sections in the fi le: [bootloader] and [operating systems].
[boot loader]
This section controls how the boot process works; it specifi es the default operating system and
how long a user has to make a selection from a boot menu, if a boot menu has been enabled.If you want a delay of 15 seconds, for example, enter 15 forthe value. Use a value of 0 if you want the default operating system to boot immediately. If you want
the menu to be displayed indefi nitely and stay onscreen until a selection is made, use a value of -1.
To change the default operating system, edit the setting: in the preceding
example, to default=multi(0)disk(0)rdisk(0)partition(2)\WINNT
EX:
[boot loader]
timeout=10
default=multi(0)disk(0)rdisk(0)partition(2)\WINNT
[operating systems]
This section specifi es which operating systems are present on the computer, and detailed options
for each one. XP uses the Advanced RISC Computing (ARC) path to specify the location of the boot
partition. In the preceding example, the ARC path is:
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
The fi rst parameter, which identifi es the disk controller, should be 0. The second parameter, the
disk parameter, should also be 0. The rdisk parameter specifi es the disk number on the controller
that has the boot partition. The numbers start at 0. So, if you have two or more hard disks installed
and the second hard disk has the boot partition, the setting is rdisk(1).
When you’ve fi nished editing the boot.ini fi le, save it. The next time you start your computer, its
settings will go into effect.
In this example, if we want the menu to appear for 45 seconds, the default operating system to be
Windows 2000, and the XP splash screen to be turned off when we choose to load XP, the boot.ini
fi le should look like this:
[boot loader]
timeout=45
default=multi(0)disk(0)rdisk(0)partition(2)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home" /fastdetect /noguiboot
multi(0)disk(0)rdisk(0)partition(2)\WINNT="Windows 2000 Professional" /fastdetect