SUMMARY
This article describes
how to view and manually
configure the Boot.ini
file in Windows XP from
within the Startup and
Recovery dialog.
In Windows XP, you can quickly and easily locate the Boot.ini to verify and/or edit the file. It is suggested to backup the Boot.ini file before editing. The first tasks will involve modifying folder option so as to view hidden files and then backing up the Boot.ini file. Save a Backup Copy of Boot.ini
Edit the Boot.ini FileTo view and edit the Boot.ini file:
Sample Boot.ini FileThis is a sample of a default Boot.ini file from a Windows XP Professional computer.
[boot loader]
This is a sample of the
above Boot.ini file with
a previous installation
of Windows 2000 on a
separate partition.
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
[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="Windows XP Professional" /fastdetect multi(0)disk(0)rdisk(0)partition(2)\WINNT="Windows 2000 Professional" /fastdetect Modifying the Boot.iniWhile you can modify the Boot.ini file using the Startup and Recovery dialog, where you can select the default operating system, change the timeout value, or manually edit the file, the following method uses the command line utility, Bootcfg.exe.Note The Bootcfg.exe utility is only available in Windows XP Professional. This utility is not available in Microsoft Windows XP Home Edition. Therefore, this section does not apply to Windows XP Home Edition.
Adding an Operating SystemAt the command prompt, type:
bootcfg /copy /d
Operating
System Description
/ID#
Where Operating
System Description
is a text description
(e.g. Windows XP Home
Edition), and where
# specifies the
boot entry ID in the
operating systems
section of the BOOT.INI
file from which the copy
has to be made.Removing an Operating SystemAt the command prompt, type:
bootcfg /delete /ID#
Where #
specifies the boot entry
ID that you want to be
deleted from the
operating systems
section of the BOOT.INI
file (e.g. 2 for the
second Operating system
that is listed.Setting the Default Operating SystemAt the command prompt, type:
bootcfg /default /ID#
Where #
specifies the boot entry
id in the operating
systems section of the
BOOT.INI file to be made
the default operating
system.Setting the Time OutAt the command prompt, type: bootcfg /timeout# Where # specifies the time in seconds after which default operating system will be loaded.Open the Boot.ini File to Verify Changes
REFERENCES
For additional
information about this
topic, click one of the
following links:
Safe-Mode Boot
Switches for Windows
2000 Boot.ini File
(http://support.microsoft.com/kb/q239780/)
How to Set Up a Remote Debug Session Using a Modem (http://support.microsoft.com/kb/q148954/) |
