To configure a computer for debugging you must add one of the previous options to the Boot.ini. Generally, you will want to add /DEBUG and /BAUDRATE, to lower the baud rate to 9600 and put the computer in debug mode. You should use /DEBUGPORT=COMX if you cannot use the default COM port (COM2) for debugging. The following example shows how to add these options.
The following is an example of a typical Boot.ini file. Each entry in the [operating systems] section should correspond to the options listed in the boot menu during a normal system startup:
[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 NT Version 3.5"
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows NT Version 3.5"
[VGA mode] /BASEVIDEO
C:\="MS-DOS"
To enable the debugger to use COM1 and to communicate at 9600 baud, add the following or see the example following these step-by-step instructions:
1. Select the startup option that you normally use and add the /DEBUG switch at the end of the line.
2. To specify the communications port, add the switch /DEBUGPORT=COM1.
3. To specify the baud rate, add the switch /BAUDRATE=9600.
The following shows the above Boot.ini file after it has been modified by following steps 1-3 above (NOTE: Line 6 is the rest of line 5 that did not fit on the same line in this post):
[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 NT Version 3.5"
/debug /debugport=com1 /baudrate=9600
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows NT Version 3.5"
[VGA mode] /BASEVIDEO
C:\="MS-DOS"
Related Search:
How to edit the Boot.ini file in Windows Server 2003
Remote computer support
Safe-mode boot switches for Windows Boot.ini file
Microsoft Access 2016 Problems
7 years ago
No comments:
Post a Comment