查看單個文章
舊 2004-10-12, 03:05 AM   #2 (permalink)
psac
榮譽會員
 
psac 的頭像
榮譽勳章
UID - 3662
在線等級: 級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時
註冊日期: 2002-12-07
住址: 木柵市立動物園
文章: 17381
現金: 5253 金幣
資產: 33853 金幣
預設

/PAE
Use the /PAE switch with the corresponding entry in Boot.ini to permit a computer that supports physical address extension (PAE) mode to start normally. In Safe Mode, the computer starts by using normal kernels, even if the /PAE switch is specified.
/HAL=filename
With this switch, you can define the actual hardware abstraction layer (HAL) that is loaded at startup. For example, type /HAL=halmps.dll to load the Halmps.dll in the System32 folder. This switch is useful to try out a different HAL before you rename the file to Hal.dll. This switch is also useful when you want to try to switch between starting in multiprocessor mode and starting in single processor mode. To do this, use this switch with the /kernel switch.
/kernel=filename
With this switch, you can define the actual kernel that is loaded at startup. For example, type /kernel=ntkrnlmp.exe to load the Ntkrnlmp.exe file in the System32 folder. With this switch, you can switch between a debug-enabled kernel that is full of debugging code and a regular kernel.
/bootlog
This switch turns on boot logging to a file that is named systemroot\Ntbtlog.txt. For more information about boot logging, see Windows Help.
/burnmemory=number
This switch specifies the amount of memory, in megabytes, that Windows cannot use. Use this parameter to confirm a performance problem or other problems that are related to RAM depletion. For example, type /burnmemory=128 to reduce the physical memory that is available to Windows by 128 MB.
/3GB
This switch forces x86-based systems to allocate 3 GB of virtual address space to programs and 1 GB to the kernel and to executive components. A program must be designed to take advantage of the additional memory address space. With this switch, user mode programs can access 3 GB of memory instead of the usual 2 GB that Windows allocates to user mode programs. The switch moves the starting point of kernel memory to 3 GB. Some configurations of Microsoft Exchange Server 2003 and Microsoft Windows Server 2003 may require this switch.

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
823440 You must use the /3GB switch when you install Exchange Server 2003 on a Windows Server 2003-based system



For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
171793 Information on application use of 4GT RAM tuning

/safebootarameter
This switch causes Windows to start in Safe Mode. This switch uses the following parameters:
minimal
network
safeboot:minimal(alternateshell)
You can combine other Boot.ini parameters with /safebootarameter. The following examples illustrate the parameters that are in effect when you select a Safe Mode option from the startup recovery menu.
Safe Mode with Networking
/safeboot:minimal /sos /bootlog /noguiboot
Safe Mode with Networking
/safeboot:network /sos /bootlog /noguiboot
Safe Mode with Command Prompt
/safeboot:minimal(alternateshell) /sos /bootlog /noguiboot
Note The /sos, /bootlog, and /noguiboot switches are not required with any one of these settings, but the switches can help with troubleshooting. These switches are included if you press F8 and then select one of the modes.
/userva
Use this switch to customize the amount of memory that is allocated to processes when you use the /3GB switch. This switch permits more page table entry (PTE) kernel memory but still maintains almost 3 GB of process memory space.

For additional information about how to use the /USERVA switch, click the following article number to view the article in the Microsoft Knowledge Base:
316739 How to use the /USERVA switch in the Boot.ini file to tune /3GB configurations

For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
810371 XADM: Using the /userva switch on Windows Server 2003-based Exchange Servers

323427 HOW TO: Manually edit the Boot.ini file in a Windows Server 2003 environment

317526 HOW TO: Edit the Boot.ini file in Windows Server 2003

317521 Description of the Bootcfg command and its uses

289022 HOW TO: Edit the Boot.ini file in Windows XP

291980 A discussion about the Bootcfg command and its uses

/redirect
Use this switch to turn on Emergency Management Services (EMS) on a Windows Server 2003, Enterprise Edition-based computer. For additional information about EMS, search on "Emergency Management Services" in Windows Help and Support.

To turn on EMS by editing the Boot.ini on an x86-based computer, edit both the [boot loader] section and the [operating systems] section of the Boot.ini file. To do this, configure the following entries:
Under [boot loader], add one of the following required statements: redirect=COMx
In this statement, replace x with one of the following COM port numbers:
1
2
3
4

redirect=USEBIOSSETTINGS
This statement permits the computer BIOS to determine the COM port to use for EMS.
Under [boot loader], add the following option statement:redirectbaudrate=baudrate
Replace baudrate with one of the following values:
9600
19200
57600
115200

By default, EMS uses the 9600 Kbps baud rate setting.
Under [operating systems], add the /redirect option to the operating system entry that you want to configure to use EMS. The following example illustrates 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
Use this switch together with the /debug switch and the /debugport switch to configure Windows to send debug information over an Institute of Electrical and Electronics Engineers, Inc. (IEEE) 1394 port. To support debugging over a 1394 port, both computers must be running Microsoft Windows XP or later. The 1394 port has a maximum number of 63 independent communications channels that are numbered 0 through 62. Different hardware implementations support a different number of channels across one bus. Windows XP has a limit of four destination computers. However, this limitation is removed in Windows Server 2003. To perform debugging, select a common channel number to use on both the computer that the debugger runs on, which is also known as the host computer, and the computer that you want to debug, which is also known as the destination computer. You can use any number from 1 to 62.
To configure the destination computer
Edit the Boot.ini file to add the /CHANNEL=x option to the operating system entry that you have configured for debugging. Replace x with the channel number that you want to use. For example, configure the [operating systems] area of the Boot.ini file to look similar to the following: [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=3
Plug the 1394 cable in one of the 1394 ports.
Disable the 1394 host controller on the destination computer. To do this, start Device Manager, right-click the device, and then click Disable.
Restart the computer.
To configure the host computer
Plug the 1394 cable in one of the 1394 ports.
Install the kernel debugger binary files.
Start a command prompt. Press enter after you type each of the following commands:
set_NT_DEBUG_BUS=1394
set_NT_DEBUG_1394_CHANNEL=x
kd -k

Move to the folder where you installed the kernel debugger, and then type the following command:
kd.exe

When you first start the debugger, a 1394 virtual driver is installed. This driver permits the debugger to communicate with the destination computer. You must be logged on with administrator rights for this driver installation to complete successfully.
The information in this article applies to:
Microsoft Windows Server 2003, Enterprise Edition for the Workstation
Microsoft Windows Server 2003, Enterprise Edition
Microsoft Windows Server 2003, Standard Edition
Microsoft Windows Server 2003, Web Edition
Microsoft Windows XP Professional
Microsoft Windows XP Home Edition
Last Reviewed: 4/9/2004 (1.1)
Keywords: KB833721

M$也不公佈以下完整的列表。其實BOOT.INI裡可以加任何 /xxx,特別是系統裡有些軟參數,這些參數NTLDR不做處理,而是啟動後smss/winlogin或者其它軟體處理。現在想知道系統有多少個軟體使用了
詳見:
http://support.microsoft.com/default...b;EN-US;833721
psac 目前離線  
送花文章: 3, 收花文章: 1631 篇, 收花: 3205 次