Windows XP and Windows Server 2003's Boot.ini file available switch options

xiaoxiao2021-03-06  84

/ Basevideo

/ basevideo switches enforce the system into standard 640x480 16-color VGA mode by using a video driver compatible with all video adapters. This switch allows you to load the system when you select an error or refresh frequency. Please put the switch with

The / SOS switch is used together. If a new video driver is installed, the driver is not working properly, and this parameter can be used to start the operating system. Then you can delete, update, or roll back to a problematic video driver.

/ Baudrate = Number This switch sets the baud rate for debug ports for kernel debugging. For example, you can enter

/ baudrate = 9600. When a modem is connected, the default baud rate is 9,600 kilobits per second (Kbps). When using a non-modulated demodulator cable, the default baud rate is 115,200 kbps. 9,600 is the normal rate of remote debugging through the modem. If the switch exists in the boot.ini file, automatically enable

/ Debug switch.

For additional information about the modem configuration, click the article number below to see the article in the Microsoft Knowledge Base:

148954 How to use a modem to set a remote debugging session

For additional information about non-modem connection configuration, click the article number below to see the article in the Microsoft Knowledge Base:

151981 How to establish a remote debugging session using a non-modulated demodulator cable

/ CrashDebug This switch loads the kernel debugger when the operating system is started. The switch will remain inactive until a STOP message error occurs.

/ CrashdeBug Switch is very useful for processing random core errors. Use this switch to use a COM port as usual in Windows. When Windows fails, the switch will convert the port to the debug port. (This action will start remote debugging.)

For additional information, click the article number below to see the article in the Microsoft Knowledge Base:

151981 How to establish a remote debugging session using a non-modulated demodulator cable

/ debug This switch opens the kernel debugger when Windows is started. If you want to open a Windows system real-time remote debugging function via the COM port, the switch can be activated at any time by the host debugger connected to the computer. versus

/ Crashdebug switches are different,

/ debug will use a COM port regardless of whether it is debugging. This switch can be used when you debug regularly.

For additional information about remote debugging, click the following article number to see the article in the Microsoft Knowledge Base:

121543 Setting Remote Debugging

/ debugport = COMNUMBER This switch specifies the communication port used as the debug port, of which

Number is a communication port that wants to use, such as COM1. By default, such as the COM2 port exists,

/ Debugport will use the COM2 port. Otherwise, the switch will use COM1. If the switch is included in the boot.ini file,

The / debug switch will be activated.

For additional information, click the article number below to see the article in the Microsoft Knowledge Base:

151981 How to establish a remote debugging session using a non-modulated demodulator cable

/ maxmem = Number This switch specifies the maximum RAM that Windows can use. Do not set this parameter below 12. This parameter can be used to verify that the memory chip has failed. For example, you have a 128 MB system with two 64 MB RAM modules. If you appear related to the STOP message, you can enter

/ MAXMEM = 64. If the computer is able to start Windows and operate normally, you can replace the first module to see if this problem can be solved.

For additional information, click the article number below to see the article in the Microsoft Knowledge Base:

108393 MAXMEM option in Windows NT Boot.ini file

/ NOGUIBOOT This switch displays a bitmap of the progress bar when Windows starts. (The progress bar appears before the login prompt.)

/ Nodebug This switch off debug function. If there is a hardware debug break point in a program code, the program may cause a STOP error.

/ NumProc = Number This switch sets the number of processors used when Windows starts. With this switch, you can force a multiprocessor system to use only the specified quantity (

Number's processor. This switch can help you solve performance issues and problems with defective CPUs.

/ PCILock For X86-based systems, the switch prevents the operating system from dynamically assigning hardware input, hardware output, and interrupt request resources for the Peripheral Connect Interface (PCI) device. These devices will be configured by BIOS after using this switch.

/ FASTDETECT: COMNUMBER This switch will turn off the NTDetect.com file to the detection function of serial mouse and bus mouse on the specified port. This switch can be used if you connect components other than the mouse on the serial port during the startup process. For example, enter

/ FASTDETECT: COMNUMBER, where

Number is a serial port number. A comma can be separated by multiple port numbers to close more than one port. If used

/ FASTDETECT but does not specify a communication port, the serial mouse detection function on all communication port will be turned off.

Note: In the early versions of Windows NT 4.0, the switch is named

/ NOSERIALMICE.

For additional information, click the article number below to see the article in the Microsoft Knowledge Base:

131976 How to disable device detection on serial port

/ SOS

The / SOS switch displays its name when the device driver is loaded. By default, the Windows Loader screen shows only the progress point. You can use the switch to

The / basevideo switch is used with a driver that causes a fault.

For additional information, click the article number below to see the article in the Microsoft Knowledge Base:

99743 Function of Boot.ini files in Windows 2000 or Windows NT

/ PAE Use the / PAE switch in Boot.ini and the corresponding entry to allow the computer that supports the physical address extension (PAE) mode to start normally. Under "Security Mode", even if the / PAE switch is specified, the computer is also started using the normal kernel.

/ HAL = filename uses this switch to define the hardware abstraction layer (HAL) actually loaded during the startup process. For example, enter

/Hal=halmps.dll Loads the halmps.dll in the System32 folder. This switch can be used to test a different HAL before renameting the file as HAL.DLL. In addition, the switch is also useful when you try to switch between multiproof mode starts and single processor mode startup. To this end, please turn the switch with

The / kernel switch is used together.

/ kernel = filename Using this switch, you can define the kernel actually loaded during the startup process. For example, enter

/kernel=ntkrnlmp.exe loads NTKRNLMP.EXE in the System32 folder. With this switch, you can switch between the kernel of the full load debug code that has enabled the debug function and the normal kernel.

/ bootLog This switch opens the launch logging function, start the log being recorded

SystemRoot / ntbtlog.txt file. For more information on starting logs, see Windows Help.

/ BurnMemory = Number This switch specifies the number of memory (in megabytes) that Windows cannot be used. This parameter can be used to determine performance issues or other issues related to RAM consumption. For example, enter

/ BurnMemory = 128 Reduces the physical memory available for Windows by 128 MB.

/ 3GB In the X86-based system, the switch enforces the user program to assign 3 GB of virtual address space to assign 1 GB virtual address space for the kernel and executable components. The user program must be able to take advantage of additional memory address spaces. With this switch, the user mode program can access 3 GB of memory instead of usually the 2 GB of memory that is typically allocated to the user mode program. The switch moves the lax position of the kernel to 3 GB. Some Microsoft Exchange Server 2003 and Microsoft Windows Server 2003 configuration may require the switch.

For additional information, click the article number below to see the article in the Microsoft Knowledge Base:

823440 must use / 3GB parameters when installing Exchange Server 2003 in a Windows Server 2003-based system

For additional information, click the article number below to see the article in the Microsoft Knowledge Base:

171793 Information about 4GT RAM Tuning

/ SafeBoot: Parameter This switch enables Windows to start under "safe mode". This switch uses the following parameters:

• Minimal • Network • Safeboot: minimal (Alternateshell)

/ SafeBoot: Parameter parameter can be used in conjunction with other Boot.ini parameters. The following example gives the parameters actually used when selecting a different "Security Mode" option from the startup recovery menu.

• Safety mode with network connections / SafeBoot: Minimal / Sos / BootLog / NOGUIBOOT • Safety mode with network connections / Safeboot: Network / Sos / bootlog / NOGUIBOOT • Safety mode with command line prompts / SafeBoot: minimal (alternateshell) / SOS / Bootlog / NOGUIBOOT

note:

/ SOS,

/ bootlog and

The / NOGUIBOOT switch is not required in these settings, but plus these switches will help to troubleshoot. These switches will be adopted when you press the F8 key and select a mode.

/ Userva can use this switch to customize the amount of memory assigned to the process when using the / 3GB switch. This switch allows more page table entries (PTE) kernel memory while still retaining nearly 3 GB of process memory space.

For additional information on how to use the / userva switch, click the article number below to see the article in the Microsoft Knowledge Base:

316739 How to use the / userva switch in the Boot.ini file / 3GB configuration

For additional information, click the article number below to see the article in the Microsoft Knowledge Base:

810371 XADM: Used / Userva parameters on Exchange Servers based on Windows 2003 Server

323427 How to manually edit the boot.ini file in the Windows Server 2003 environment

317526 How to edit boot.ini files in Windows Server 2003

317521 bootcfg command and its usage

289022 How to edit boot.ini files in Windows XP

291980 bootcfg command and its use discussion

/ Redirect can use this switch to start emergency management services (EMS) on a computer based on Windows Server 2003 Enterprise Edition. For additional information about EMS, search for "Emergency Management Services" in Windows Help and Support. To enable EMS by editing Boot.ini in x86-based computers, you need to edit the "[Boot Loader]" and "[Operating Systems]" section of the Boot.ini file. To do this, configure the following entry:

• In the [Boot Loader] section, add one of the following statements: redirect = COMX In this statement, use one of the following COM port numbers to replace x:

1

2

3

4

Redirect = UsebiSsettings This statement allows the BIOS of the computer to determine the COM port used by the EMS. • In the [Boot Loader] section, add the following optional statement: redirectbaudrate = BaudRate replaces the baudrate with one of the following values:

9600

19200

57600

115200

By default, EMS uses 9600 kbps baud rate settings. • In the [Operating Systems] section, add / redirect options in the operating system entry you want to configure using the EMS. The following example demonstrates the use of these switches: [Boot Loader]

TIMEOUT = 30

DEFAULT = MULTI (0) Disk (0) RDisk (0) Partition (1) / Windows

Redirect = COM1

RedirectBaudrate = 19200

[Operating Systems]

Multi (0) Disk (0) Rdisk (0) Partition (1) / Windows = "Windows Server 2003, Enterprise" / FastDetect

Multi (0) Disk (0) RDisk (0) Partition (1) / Windows = "Windows Server 2003, EMS" / FastDetect / Redirect

/ channel with

/ Debug switch and

The / debugport switch uses this switch to configure Windows to send debug information through Institute of Electrical and Electronics Engineers, Inc. (IEEE) 1394 port. To support debugging through 1394, the participating computers must run Microsoft Windows XP or higher. The 1394 port has a maximum of 63 independent communication channel numbers from 0 to 62. Different hardware implementation supports different number channels in a bus. There is still up to 4 target computers on Windows XP. But this limit has been canceled in Windows Server 2003. To perform a debugging, select a common channel number to use on a computer (ie, a host) that runs the debugger and the computer you need to debug (ie, the target computer). Any number from 1 to 62 can be used.

Configuring target computers

1. Edit the boot.ini file, add / channel = x option to the operating system entry of the configured debug function. Replace X with the channel number you want to use. For example, configure the "[Operating Systems]" section of the Boot.ini file into the following settings: [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 Server 2003, Enterprise" / fastdetect / debug / debugport = 1394 / channel = 32. Plug 1394 cable into any 1394 Port in the port. 3. Disable 1394 main controllers on the target computer. To do this, open "Device Manager" and right-click the device and click Disable. 4. Restart your computer.

Configure the host

1. Insert the 1394 cable into any 1394 port. 2. Install the kernel debugger binary file. 3. Open a command prompt window. Enter each of the following command to press Enter.

SET_NT_DEBUG_BUS = 1394

SET_NT_DEBUG_1394_Channel = X

KD -K

4. Move to a folder installed with a kernel debugger, enter the following command:

Kd.exe

A 1394 virtual driver will be installed when the debugger is started for the first time. The driver allows the debugger to communicate with the target computer. To successfully install this driver, you must log in with administrator privileges.

转载请注明原文地址:https://www.9cbs.com/read-104810.html

New Post(0)