1)boot.ini该成如下所示:
- [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" /noexecute=optout /fastdetect
- multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows Server 2003, Enterprise" /noexecute=optout /fastdetect /debug /debugport=com1 /baudrate=115200
2)在VMWare虚拟机中添加串口要选择:
Output to named pipe
This end is server
The other end is an application
3) Windbg.exe -b -k com:port=\\.\pipe\com_1,baud=115200,pipe
4) 启动到调试模式下的Windows,运行Windbg,刚刚连接上时,虚拟机里的Windows系统会被中断,貌似死机,这时在WinDbg的命令提示符"kd>"后面输入"g"并按回车键
阅读(1861) | 评论(0) | 转发(0) |