Tuesday, November 08, 2005

Mounting iso images in Windows XP

Download the undocumented tool for Windows XP from Virtual CD-ROM Control Panel for Windows XP to mount .iso, .img files.

Vista installation tips:
  • You can use the above tool to install Vista Beta 1 on Virtual PC 2004 since the VPC will fail to recognize the DVD image if you try to mount it directly.
  • Create a new partition and reboot to continue installation of Vista beta1.
  • Install VPC additions to add the video driver.
Kernel debugging on one machine using Virtual PC 2004 SP1 & Windows XP

You no longer need to buy another machine or a copy of SoftIce to do full kernel debugging using two machines. This is a good setup for learning & hobby projects.

Setup target VM
  1. Go to My Computer -> Properties -> Advanced -> Settings (Startup and Recovery) -> Edit
  2. Add '/DEBUG /DEBUGPORT=COM1' to the end of the settings in the boot file.

Setup host machine.

  1. Edit settings for VM, configure COM1 to use a named pipe. Eg. "bkslash-bkslash-dot-\pipe\debug"
  2. Start KD by running "kd -y SRV*c:\websymbols*http://msdl.microsoft.com/download/symbols -k com:pipe,port=\\.\pipe\debug,resets=0,reconnect" or equivalent command.
  3. Restart target VM, you should see a message in KD saying "Connected to Windows XP..."

Reference: http://blogs.msdn.com/virtual_pc_guy/archive/2005/10/20/482413.aspx