VMware Workstation

 View Only
  • 1.  Recover Snapshots after broken vmx file was restored

    Posted May 14, 2012 08:34 AM

    I'm running a Win7x64 Machine (Host and guest) with Workstation 7 and I ran into a problem after a shutdown failed... after my host system was rebooted I couldn't boot my guest OS as the vmx file was broken.

    I created a new Virtual machine and added the original virtual disk (vmdk) and could start the vm again. It was only after the reboot when I realized that I revertet to the original state of the VM and all the changes I stored in snapshots were gone.

    So I tried to do the same steps again and instead of using the original vmdk I tried to use the one from the latest snaphot. But this wasn't possible (The parent virtual disk has been modified since the child was created)

    Is there anything I can do to fix this? the parent disk wasn't changed at all but I assume booting the system created new logs etc...



  • 2.  RE: Recover Snapshots after broken vmx file was restored

    Posted May 14, 2012 12:56 PM

    Hi
    recreating a vmx-file the way you did it is not the recommended way.
    Please stop using this VM and attach all vmware.logs



  • 3.  RE: Recover Snapshots after broken vmx file was restored

    Posted May 14, 2012 03:21 PM
      |   view attached

    Thanks for you reply,

    I've attached the log files in the zip. I haven't done anything else with the VM than booting and shutdown yet...

    Attachment(s)



  • 4.  RE: Recover Snapshots after broken vmx file was restored

    Posted May 14, 2012 03:30 PM

    good
    please download the dsfok tools from here
    http://sanbarrow.com/files/dsfok.zip
    extract it and put dsfo.exe and dsfi.exe into the directory with the vmdks

    then run this batch:


    dsfo.exe "Windows 7 x64 Edition_workstation-000004.vmdk" 512 1024    "Windows 7 x64 Edition_workstation-000004.bin"
    dsfo.exe "Windows 7 x64 Edition_workstation-000003.vmdk" 512 1024    "Windows 7 x64 Edition_workstation-000003.bin"
    dsfo.exe "Windows 7 x64 Edition_workstation-000001.vmdk" 512 1024    "Windows 7 x64 Edition_workstation-000001.bin"
    dsfo.exe "Windows 7 x64 Edition_workstation.vmdk"        512 1024    "Windows 7 x64 Edition_workstation.bin"    

    put all bin files into an archive and attach it



  • 5.  RE: Recover Snapshots after broken vmx file was restored

    Posted May 14, 2012 05:54 PM
      |   view attached

    Here they are, thanks for the help

    Attachment(s)



  • 6.  RE: Recover Snapshots after broken vmx file was restored
    Best Answer

    Posted May 14, 2012 07:47 PM

    please download the attached zip
    extract it and replace "Windows 7 x64 Edition_workstation.bin"

    then run the cmd

    dsfi.exe "Windows 7 x64 Edition_workstation.vmdk"        512 1024    "Windows 7 x64 Edition_workstation.bin"   

    please note the small change in the cmd !!!!

    when that is done assign the file "Windows 7 x64 Edition_workstation-000004.vmdk" to your VM or just use the attached vmx-file

    Attachment(s)



  • 7.  RE: Recover Snapshots after broken vmx file was restored

    Posted May 15, 2012 08:16 AM

    Great! The System is back up and running.

    Cheers!