138 Managing partitions using GDisk
Modifying the Windows NT/2000/XP boot menu
Modifying the Windows NT/2000/XP boot menu
The /bootini switch lets you make a modification to a Windows NT/2000/XP
boot menu. The following modifications are supported:
■ Displaying a list of current boot entries
■ Adding an entry to Boot.ini
■ Removing an entry from Boot.ini
■ Setting the default boot option and timeout
This switch functions with GDisk32 only.
When GDisk32 changes the state of Boot.ini, a copy of the current Boot.ini is
created. The copy is named either C:\boot_gdisk32_copy.ini or
C:\boot.ini_gdisk32_copy.
Specifying the boot.ini path and file name
The /inifile switch is common to all operations performed with the /bootini
switch.
/inifile lets you specify the full path and file name of the current Windows NT/
2000/XP Boot.ini file. This lets you locate Boot.ini if it is not on the C drive.
The default value for this switch is C:\boot.ini.
Displaying the list of current boot entries
Use the /bootini switch to display the existing boot menu for the current
Windows NT/2000/XP operating system.
The syntax for this command is as follows:
gdisk32 /bootini [/inifile:filename]
Adding an entry to Boot.ini
There are two types of functions that you can add to a Boot.ini file:
■ Start another installation of Windows NT/2000/XP that resides on a different
partition.
■ Start a non-Windows NT/2000/XP operating system that resides on a
different partition.