RE: Removing operative system at startup
From: Pakistani experts, for a better world (anonymous_at_discussions.microsoft.com)
Date: 05/08/04
- Next message: peter: "Re: Removing operative system at startup"
- Previous message: ExScout: "Trouble with internet"
- In reply to: DiscoStue: "Removing operative system at startup"
- Next in thread: peter: "Re: Removing operative system at startup"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 7 May 2004 23:31:03 -0700
Save a Backup Copy of Boot.ini
Edit the Boot.ini
Sample Boot.ini File
Modifying the Boot.ini
Adding an Operating System
Removing an Operating System
Setting the Default Operating System
Setting the Time Out
Open the Boot.ini File to Verify Changes
REFERENCES
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.
back to the top
Save a Backup Copy of Boot.ini
Right-click My Computer, and then click Properties.
-or-
In Control Panel, start the Performance and Maintenance tool, and then click System.
On the Advanced tab, click Settings under Startup and Recovery.
Under System Startup, click Edit. This opens the file in Notepad ready for editing.
In Notepad, click File on the Menu bar, and then click Save As.
Right click in an empty area of the Save As dialog box, point to New in the Context menu, and then click Folder.
Type a name for the new folder, for example temp, and then press the ENTER key to create the folder named temp.
Double-click the new folder named temp, and then click the Save button to save a backup copy of the Boot.ini file.
back to the top
Edit the Boot.ini File
To view and edit the Boot.ini file:
Right-click My Computer, and then click Properties.
-or-
In Control Panel, start the Performance and Maintenance tool, and then click System.
On the Advanced tab, click Settings under Startup and Recovery.
Under System Startup, click Edit.
back to the top
Sample Boot.ini File
This is a sample of a default Boot.ini file from a Windows XP Professional computer.
[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
This is a sample of the above Boot.ini file after adding another partition running Windows 2000 Professional.
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(1)rdisk(0)partition(1)\WINDOWS="Windows XP Professional" /fastdetect
multi(0)disk(0)rdisk(0)partition(2)\WINNT="Windows 2000 Professional" /fastdetect
back to the top
Modifying the Boot.ini
While 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.
Click Start, and then click Run.
In the Open text box, type cmd.
At the command prompt, type bootcfg /?.
The help and parameters for BOOTCFG.exe will display.
back to the top
Adding an Operating System
At 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.
back to the top
Removing an Operating System
At 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.
back to the top
Setting the Default Operating System
At 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.
back to the top
Setting the Time Out
At the command prompt, type: bootcfg /timeout# Where # specifies the time in seconds after which default operating system will be loaded.
back to the top
Open the Boot.ini File to Verify Changes
Right-click My Computer, and then click Properties.
-or-
In Control Panel, start the Performance and Maintenance tool, and then click System.
On the Advanced tab, click Settings under Startup and Recovery.
Under System Startup, click Edit.
back to the top
REFERENCES
For additional information about this topic, click one of the following links:
Safe-Mode Boot Switches for Windows 2000 Boot.ini File
How to Set Up a Remote Debug Session Using a Modem
- Next message: peter: "Re: Removing operative system at startup"
- Previous message: ExScout: "Trouble with internet"
- In reply to: DiscoStue: "Removing operative system at startup"
- Next in thread: peter: "Re: Removing operative system at startup"
- Messages sorted by: [ date ] [ thread ]