locked
repair a damaged VHD that wont boot RRS feed

  • Question

  • Hi

    Is there a way to get Windows Virtual PC to boot a VHD off a cd/dvd?   We have a windows XP VHD that wont boot.   It hangs at an Agp driver.  if this were a bare metal OS I know how to fix , but I cant get the VHD to boot to a DVD for an OS repair.  ANy way to do this??

    Many Thanks

    Craig

     


    Craig
    Thursday, August 18, 2011 11:00 PM

Answers

  • You can boot off a CD/DVD just like a real computer. 

    You need to go into the BIOS and set the VM to boot from CD first.

    To change the boot order in the BIOS of the VM.
    1. Shut down the VM
    2. Start the VM, and press SHIFT+ESC immediately
    3. As soon as you see the black startup screen, press DEL to enter the BIOS
    4. Change the boot order to set the CD to boot first.

    You can also edit the .vmc (not the .vmcx) to boot from CD first.

    See here:

    http://blogs.msdn.com/b/virtual_pc_guy/archive/2005/07/14/438482.aspx

     

    • Proposed as answer by Leo Huang Friday, August 19, 2011 1:34 AM
    • Marked as answer by CraigMilw Friday, August 19, 2011 2:36 AM
    Thursday, August 18, 2011 11:49 PM

All replies

  • You can boot off a CD/DVD just like a real computer. 

    You need to go into the BIOS and set the VM to boot from CD first.

    To change the boot order in the BIOS of the VM.
    1. Shut down the VM
    2. Start the VM, and press SHIFT+ESC immediately
    3. As soon as you see the black startup screen, press DEL to enter the BIOS
    4. Change the boot order to set the CD to boot first.

    You can also edit the .vmc (not the .vmcx) to boot from CD first.

    See here:

    http://blogs.msdn.com/b/virtual_pc_guy/archive/2005/07/14/438482.aspx

     

    • Proposed as answer by Leo Huang Friday, August 19, 2011 1:34 AM
    • Marked as answer by CraigMilw Friday, August 19, 2011 2:36 AM
    Thursday, August 18, 2011 11:49 PM
  • One follow-up, Thanks for the tips to help us get into the boot screen selection.  we are unable to access the disk for repair.   I have tried ERD, knoppix,XP repair disk, and even attempted an upgrade to win 7. none of them can see the disk.  Could it be locked with syskey or something?   I have also tried same routine with VMware player(made a copy and converted).

    about to abort this unless another approach is found

     

    thanks

    craig


    Craig
    Sunday, August 21, 2011 4:01 PM
  • If there is data on it, you can try mounting it in the host OS via disk manager. 
    Sunday, August 21, 2011 8:11 PM
  • Kernel for VHD Recovery tool is what you need to repair your corrupted or damaged VHD file. It supports VHD files created with Windows 7, Windows Server 2008 R2 and Hyper- V server.
    Monday, February 4, 2013 10:22 AM