I am debugging windows kernel with windbg, but the problem is that when windows goes to repair mode when it detect an error during booting, and goes to repair mode, i don't attach to kernel at all to begin with.
But obviously the kernel has already loaded, and it already has detected a problem, so why am i not getting attach to it before the error is getting detected? how can i attach to it?
Note that the error is not a major one, i caused it myself for testing purposes, its because of an self signed driver in the boot driver list, and i need to attach to kernel before it detect this problem, how can i do this? I need to find which function/module is detecting this problem.
Currently i am attaching via COM pipe, the connection is between two VMs in VMware.