I concur with Jan. I have tried the same (and now probably join the ranks
of Don, Jan, and Calvin along with many others) and have discovered that
those flags get applied to the boot line that starts after guisetup but not
for the boot line that starts the system after txtsetup. The
SetupDebugOptions appear to effect the actual txtsetup ‘boot’ but not the
boot line that starts the system to run guisetup. Aarrrgh.
As all have frustratingly pointed out. It would seem that only booting an
alternate OS and whacking boot.ini directly after txtsetup completes can get
/Debug enabled *during* guisetup.
I found the Vista recovery CD worked well enough and let me use notepad. A
custom .ISO built with the WAIK / WinPE would probably be simpler than
wading through the Vista setup panels to get to the recovery console.
Sometimes the dragon wins.
Thanks for replies.
-dave
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jan Bottorff
Sent: Monday, January 05, 2009 4:09 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Specifying boot option to enable kd in unattended
install mode
Seems like I have that document and it did not work when I tried it (about a
dozen times).
It does occur to me that a driver could do something like process a shutdown
irp and modify boot.ini from kernel mode. This development only code could
save a ton of time during development/testing.
Jan
The osloadoptions of the [SetupData]-section in
unattended.txt might do the trick.
According to
http://www.microsoft.com/whdc/devtools/tools/DrvTest_BestPrac.mspx,
it appears as if the osloadoptions would be parsed during
textmode (and applied to boot.ini), so that the boot-option
will be effective during the GUI mode setup (in contrast to
txtsetup.dif).
>> From DrvText_BestPrac
Unattend.txt. A default Unattend.txt can be found in the
SKU-specific directory (I386, IA64, AMD64) on the CD. If you
edit Unattend.txt, you should add a section like this one.
(This will enable the debugger only when the Setup program
enters GUI mode setup):
[SetupData]
Osloadoptions=“”/debug /debugport=comx /baudrate=115200
For information about the Unattend.txt file, see the related
Windows Resource Kit or the OEM Pre-Installation Kit for the
version of Windows you are using for testing.
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer