Microsoft KB Archive/814334

= How to enable text-mode debugging during setup in Windows Server 2003 and Windows Small Business Server 2003 =

Article ID: 814334

Article Last Modified on 12/3/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Small Business Server 2003 Standard Edition
 * Microsoft Windows Small Business Server 2003 Premium Edition

-







IN THIS TASK

 * SUMMARY
 * Enable text-mode debugging during setup
 * Debug sections that are added to setup



SUMMARY
With Windows Server 2003 you can enable text-mode debugging during setup by pressing the F8 key. This means that you do not have to edit the Txtsetup.sif file to enable text-mode debugging.

Enable text-mode debugging during setup
To enable text-mode debugging during setup, press F8 when the Setup program is loading, and then press F8 again when you are prompted to press the F6 function key to install third-party small computer system interface (SCSI) and host controller drivers.

back to the top

Debug sections that are added to setup
When you press F8 to enable text-mode debugging during Setup, the following default debug options are added to Setup:

/debug

/debugport=com2

/baudrate=19200

The computer will send debugging output to COM2 during the text mode portion of setup. If your system has only COM1, you must modify the Txtsetup.sif file for the computer to send debugging output to COM1.

To use debugging, you must have symbols. You must also have a debugger computer that has a debug cable attached.

Note To use text-mode debugging, the COM2 communications (COM) port must be available on your computer. If COM2 is not available on your computer, and you have to enable text-mode debugging during setup, copy the setup files to your hard disk, edit the Txtsetup.sif file to address COM1, and then run the Setup program from the hard disk. Make the following modifications to the Txtsetup.sif file:

[SetupData] OsLoadOptions = &quot;/noguiboot /fastdetect /debug /baudrate=57600 /debugport=com1&quot; OsLoadOptionsVar = &quot;/fastdetect /debug /baudrate=57600 /debugport=com1&quot;

Note If your computer only has COM1, you must modify the Txtsetup.sif file to connect the debugger to COM1. For additional information about how to set up a remote debug session, click the following article number to view the article in the Microsoft Knowledge Base:

151981 How to set up a remote debug session using a null modem cable

If you want to use additional debug options, you must modify the Txtsetup.sif file. For additional information about how to modify the Txtsetup.sif file, click the following article number to view the article in the Microsoft Knowledge Base:

123750 Debugging Windows NT setup STOP screens

back to the top

Keywords: kbmgmtservices kbhowtomaster KB814334

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.