Interpret the multi-boot boot file - BOOT.INI

  
; Windows NT class * system, that is, Windows NT /2000 /XP, there is a special file, which is the "BOOT.INI" file, this file will be very easy to follow Our needs set up multiple boot systems.
"BOOT.INI" file will be installed in the partition of the system where Windows NT/2000/XP is installed. Generally, the default is C:. But it has hidden and system properties by default, so you have to set your folder options to display the "BOOT.INI" file. We can open it with any kind of text editor. In general, its contents are as follows:
[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
In Windows 2000 or XP, we can easily set "BOOT" .INI" file. That is to right click on "My Computer", select "Properties" to open the "System Properties" dialog box, then click the "Advanced" tab, click "Settings" button in "Startup and Troubleshooting", you can open " Startup and Troubleshooting" dialog, where we can set it up in detail.
If you have a Windows XP* system, you can use the "System Configuration Utility" to edit the "BOOT.INI" file more conveniently. To do this, open the "Start" menu, click the "Run" command, and then type "msconfig" in the pop-up text box. Click "OK" and the "System Configuration Utility" will pop up, then click the "BOOT.INI" option. The card will appear as shown in the figure. Here we can easily set up the file.
Closer to home, now, to explain the meaning of the contents of this file.
1. System loading part ([boot loader])
This part is very simple, only two settings. That is "timeout=" and "default=".
"timeout=" is the time to set the system boot menu when booting. If the set value is exceeded, the system specified by "default=" will be loaded automatically. The default is 30 in seconds. We can set the length of the waiting time here. If it is set to "0" then the system boot menu is not displayed.
"default=" is the default system for setting the default. The * system behind the equal sign must already exist in "[operating systems]". If you want to load another * system by default, we can refer to * in "[operating systems]" as the system list, and then write the *system to be loaded into the format of "default=" after the system is loaded.
2.*[operating systems]
Here, all the systems installed on the machine are listed. For example, if there is only one system on the machine, then there is only one message, that is, "multi(0)disk(0)rdisk(0)partition(1)Windows="Microsoft Windows XP Professional" /fastdetect"
is here It should be noted that the text in the English quotation marks is the prompt text that is displayed when the system is displayed as a system menu. Let us choose the system as the prompt text. We can change it at will. The "multi(0)disk(0)rdisk(0)partition(1) Windows" sentence requires some explanation. Because it involves ARC (Advanced RISC Computer) naming, it is a dynamic method for identifying devices in x86 or RISC computers. The first part of the ARC naming is used to identify the hardware adapter/disk controller. It has two options: SCSI and Multi.
Multi means a non-SCSI hard disk or a SCSI hard disk accessed by the SCSI BIOS, while SCSI means a SCSI hard disk that is prohibited by the SCSI BIOS. (x) is the hardware adapter card serial number. Disk (x) represents the SCSI bus number. If the hardware adapter card is Multi, its correct representation method is disk(0), rdisk(x) indicates the serial number of the hard disk, and if the hardware adapter card is SCSI, this value is ignored;
partition(x) indicates the hard disk The partition number. Knowing this, we can explain the meaning of the previous message, that is, "multi(0)disk(0)rdisk(0)partition(1) Windows" is on the 0th disk on the 0th non-SCSI device. In the "Windows" directory of the first partition, you can find the system that can be started.
The content after the equal sign has been said before, that is the prompt text displayed by the guide menu for us to choose. And what is the use of "/fastdetect" in the back? This is a switch character that is used to control the specific options when starting the system. The following is a detailed description of the meaning of the various switches:
/3GB: This is a new introduction to Win2000 SP3. This allows the user area and system to be divided into a ratio of 3G to 1G. This option only works if the user is using NT Enterprise Edition and the application also supports the 3GB option.
/BASEVIDEO: Boot using standard VGA mode. This method is mainly used when the display driver fails.
/BAUDRATE: Indicates the baud rate used for scheduling. If the user does not set, the default 9600 is used, and for the cable modem, 19200 is used.
/BOOTLOG: Causes Win2000 to write logs to %SystemRoot%NTBTLOG.TXT.
/BURNMEMORY=: Make NT use less than the specified amount on known memory. If /burnmemory=64, then 64M memory NT is not used.
/CRASHDEBUG: The scheduler starts when NT starts, and is useful only when the kernel is wrong. This option is useful if the system often fails for no reason.
/DEBUG: Load the scheduler when starting NT, it can be activated at any time, it is appropriate to use it when the error can reappear.
/DEBUGPORT= comx : Specifies the port to be used for scheduling. The other X refers to the port number.
/FASTDETECT: For Win2000 startup, it makes the system not check the serial port and parallel port.
/HAL=: Allows the user not to use the default HAL.
/INTAFFINITY: Sets the multiprocessor HAL (HALMPS.DLL) to enable the highest numbered processor to receive interrupt requests. If you do not set this option, Win2000 will cause all processors to receive interrupt requests.
/KERNEL=: Same as above, but for the kernel in SMP.
/MAXMEM:n: Specifies the maximum amount of memory NT can use. This switch is useful if a memory chip is damaged.
/NODEBUG: Do not use debugging information.
/NOGUIBOOT: Specifying this option will cause Win2000 not to load the VGA driver, and will not display the blue screen information during the boot process and failure.
/NOSERIALMICE=[COMx |  COMx, y, z...]: The detection of the serial mouse is prohibited on a specific COM. This option is useful if the user has a non-mouse device attached to the COM port. If this switch has no parameters, the system will disable all COM ports.
/NUMPROC=n: Only the first N system processors are allowed to work.
/ONECPU: Use only one processor in a multiprocessor.
/PCILOCK: Do not let NT allocate IO/IRQ resources for PCI settings, but enable BIOS settings.
/SAFEBOOT: Secure boot, this must be very familiar to everyone, Win2000 only starts the driver and service in HKLMSystemCurrentControlSetControlSafeBoot, followed by one of the three parameters MINIMAL, NETWORK or DSREPAIR. MINIMAL and NETWORK start the system under the allowed network. DSREPAIR requires the system to load the Active Directory settings from the backup device. Another option is "(ALTERNATESHELL)", which allows the system to load the SHELL program specified by HKLMSystemCurrentControlSetSafeBootAlternateShell instead of the default Explorer.
/SOS: Display the name of the driver when it is loaded. It is better to use it when it cannot be started due to a driver problem.
/WIN95: On NT system with three systems DOS, Win9x and Windows NT, let NTLDR directly call Win9x. Start the file BOOTSECT.W40.
/WIN95DOS: On a system with three systems DOS, Win9x and Windows NT, let NTLDR directly call the DOS startup file BOOTSECT.DOS
/YEAR=: use the specified year, if set to /YEAR=2005 The current time is 2005. This option only works for NT4+SP4 and Win2000.
Understand the above, we can more easily control the startup of our system.
Copyright © Windows knowledge All Rights Reserved