Sysprogs forums › Forums › VisualDDK/VirtualKD discussion › VirtualBox running Win7 won’t start › Re: Re: VirtualBox running Win7 won’t start
Ok, after some hours of struggling I got the COM debugging running.
Because some of the steps where unclear or wrong typed, here the correct steps, just in case someone else will find this posting:
Host:
– open VirtualBox manager, edit the VM and go to serial ports, activate port 1, port number = 1, port mode =Host pipe, check “create pipe”, pipe name: \.pipecom_1
Guest:
– create a new boot entry, for example using EasyBCD or bcdedit, make a copy of your default boot entry and enable debugging for this new entry (bcdedit /debug on)
– call “bcdedit /dbgsettings serial debugport:1” from a cmd with admin privileges
Now start the VM and select the new debug entry. The suggested VirtualKD entry did not work for me, it just waits forewer.
WinDbg:
windbg -k com:pipe,port=\.pipecom_1,resets=0,reconnect
After WinDbg has loaded it should display:
Opened \.pipecom_1
Waiting to reconnect…
Hit Ctrl+Break and you are connected.
I will now look at the dynamic patching suggestions and come back with the results.