How to debug a VM with a serial port

  1. Get your VM in Vmware workstation or Vmware server (with windows running as the host)
  2. Add a serial port to the vm
  3. Configure the serial port as

    clip_image001

  4. Configure Msconfig

    clip_image002

  5. Reboot
  6. Configure BIOS (may not be needed) change serial port A and B

    clip_image003

  7. Install Debugging Tools for Windows
  8. Open Windbg
  9. Configure Symbol path (srv*c:\windows\symbols*http://msdl.microsoft.com/download/symbols)
  10. save workspace

    clip_image004

  11. Configure Kernel Debug

    clip_image005

  12. Save workspace
  13. Go to debug>break
  14. And it should connect
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: