How to repair a VMWare Virtual Disk on OSX
September 9th, 2009 Posted in technology
If your having an issue with your virtual disk it is worth trying the following:
- Open a Terminal window
- /Library/Application\ Support/VMware\ Fusion/vmware-vdiskmanager -R /Users/(USERNAME_HERE or Directory where VM installed)/Virtual\ Machines.localized/Windows\ Vista.vmwarevm/Windows\ Vista.vmdk
If this fails with a message like ‘FILE: FileIO_Lock on ‘/Users/Shared/Virtual Machines.localized/Windows Vista.vmwarevm/Windows Vista.vmdk’ failed: Lock timed out’ then:
- cd /Users/(USERNAME_HERE or Directory where VM installed)/Virtual\ Machines.localized/Windows\ Vista.vmwarevm/Windows\ Vista.vmem.lck/
- rm * and files here
- cd /Users/(USERNAME_HERE or Directory where VM installed)/Virtual\ Machines.localized/Windows\ Vista.vmwarevm/Windows\ Vista.vmx.lck/
- rm * and files here
- /Library/Application\ Support/VMware\ Fusion/vmware-vdiskmanager -R /Users/(USERNAME_HERE or Directory where VM installed)/Virtual\ Machines.localized/Windows\ Vista.vmwarevm/Windows\ Vista.vmdk
now all should be fine.
