Just all of the sudden my virtual machine wouldn't load. I am getting a syntax error in line 126. I am not an expert but after doing some searches, i am guessing it could be a problem with the vmx file. The below is what came up with I opened that file in the console. I would appreciate any assistance anyone can provide. I really need to recover access to this virtual machine.
.encoding = "UTF-8"
config.version = "8"
virtualHW.version = "7"
scsi0.present = "TRUE"
memsize = "512"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "Windows XP Professional-000001.vmdk"
ide1:0.present = "TRUE"
ide1:0.fileName = "cdrom0"
ide1:0.deviceType = "cdrom-raw"
floppy0.fileType = "device"
floppy0.fileName = ""
floppy0.clientDevice = "FALSE"
ethernet0.present = "TRUE"
ethernet0.connectionType = "nat"
ethernet0.wakeOnPcktRcv = "FALSE"
ethernet0.linkStatePropagation.enable = "TRUE"
usb.present = "TRUE"
ehci.present = "TRUE"
sound.present = "TRUE"
sound.fileName = "-1"
sound.autodetect = "TRUE"
mks.enable3d = "TRUE"
serial0.present = "TRUE"
serial0.fileType = "thinprint"
pciBridge0.present = "TRUE"
pciBridge4.present = "TRUE"
pciBridge4.virtualDev = "pcieRootPort"
pciBridge4.functions = "8"
pciBridge5.present = "TRUE"
pciBridge5.virtualDev = "pcieRootPort"
pciBridge5.functions = "8"
pciBridge6.present = "TRUE"
pciBridge6.virtualDev = "pcieRootPort"
pciBridge6.functions = "8"
pciBridge7.present = "TRUE"
pciBridge7.virtualDev = "pcieRootPort"
pciBridge7.functions = "8"
vmci0.present = "TRUE"
isolation.tools.hgfs.disable = "FALSE"
buslogic.noDriver = "FALSE"
roamingVM.exitBehavior = "go"
tools.syncTime = "TRUE"
displayName = "Windows XP Professional"
guestOS = "winxppro"
nvram = "Windows XP Professional.nvram"
virtualHW.productCompatibility = "hosted"
ft.secondary0.enabled = "TRUE"
printers.enabled = "TRUE"
sharedFolder0.present = "TRUE"
sharedFolder0.enabled = "TRUE"
sharedFolder0.readAccess = "TRUE"
sharedFolder0.hostPath = "/Users/bryanmorton"
sharedFolder0.guestName = "bryanmorton On My Mac"
sharedFolder0.expiration = "never"
sharedFolder.maxNum = "1"
hgfs.mapRootShare = "TRUE"
hgfs.linkRootShare = "TRUE"
tools.upgrade.policy = "upgradeAtPowerCycle"
powerType.powerOff = "soft"
powerType.powerOn = "soft"
powerType.suspend = "soft"
powerType.reset = "soft"
extendedConfigFile = "Windows XP Professional.vmxf"
checkpoint.vmState = "Windows XP Professional.vmss"
ide1:0.startConnected = "TRUE"
ethernet0.addressType = "generated"
uuid.location = "56 4d 28 15 3e f8 dc b7-f9 5f b8 fa 72 ac 28 a0"
uuid.bios = "56 4d 28 15 3e f8 dc b7-f9 5f b8 fa 72 ac 28 a0"
skipAntivirusCheck = "TRUE"
unity.wasCapable = "TRUE"
scsi0:0.redo = ""
vmotion.checkpointFBSize = "134217728"
pciBridge0.pciSlotNumber = "17"
pciBridge4.pciSlotNumber = "21"
pciBridge5.pciSlotNumber = "22"
pciBridge6.pciSlotNumber = "23"
pciBridge7.pciSlotNumber = "24"
scsi0.pciSlotNumber = "16"
usb.pciSlotNumber = "32"
ethernet0.pciSlotNumber = "33"
sound.pciSlotNumber = "34"
ehci.pciSlotNumber = "35"
vmci0.pciSlotNumber = "36"
usb:0.present = "TRUE"
usb:1.present = "TRUE"
ethernet0.generatedAddress = "00:0c:29:ac:28:a0"
ethernet0.generatedAddressOffset = "0"
vmci0.id = "1923885216"
usb:1.deviceType = "hub"
usb:0.deviceType = "mouse"
floppy0.autodetect = "TRUE"
ide1:0.autodetect = "FALSE"
ethernet0.startConnected = "TRUE"
snapshot.numRollingTiers = "3"
rollingTier0.uid = "1"
rollingTier0.interval = "86400"
rollingTier0.maximum = "4"
rollingTier0.live = "TRUE"
rollingTier0.clientFlags = "8"
rollingTier0.displayName = "AutoProtect Snapshot"
rollingTier1.uid = "2"
rollingTier1.interval = "604800"
rollingTier1.maximum = "3"
rollingTier1.live = "TRUE"
rollingTier1.clientFlags = "8"
rollingTier1.displayName = "AutoProtect Snapshot"
rollingTier2.uid = "3"
rollingTier2.interval = "2419200"
rollingTier2.maximum = "3"
rollingTier2.live = "TRUE"
rollingTier2.clientFlags = "8"
rollingTier2.displayName = "AutoProtect Snapshot"
checkpoint.vmState.readOnly = "FALSE"
rollingTier0.timeSincelast = "59898"
rollingTier1.timeSincelast = "144718"
rollingTier2.timeSincelast = "143927"
floppy0.present = "FALSE"
usb.autoConnect.device0 = "path:13/15/4 autoclean:1
Definitely not all - I think I meant to say it's the vmss file you want to delete. Before doing this, you might want to make a backup copy of the virtual machine if you have space in case anything goes wrong.
With the Virtual Machine shutdown. not suspended and Fusion closed just delete the "usb.autoConnect.device0 = "path:13/15/4 autoclean:1" line.
Or...
You can use the vmxRecover.pl script from vmxRecover.pl.zip and the vmware.log file from within the target Virtual Machines's Package to create a new .vmx configuration file.
Thanks so much for the assistance. That got the error off of my virtual machine and it actually attempted to load. However, I got another error:
'The saved memory file "/Users/bryanmorton/Documents/Virtual Machines.localized/Windows XP Professional.vmwarevm/Windows XP Professional.vmem" is corrupt and cannot be restored. Error encountered while trying to restore the state of group memory from file "/Users/bryanmorton/Documents/Virtual Machines.localized/Windows XP Professional.vmwarevm/Windows XP Professional.vmss"."
Any thoughts on that?
Thanks again for your assitance.
Did your computer shut down uncleanly or something? That could explain your situation...
With Fusion not running, you can delete the .vmem file - note this is like pulling the plug on a physical computer; you will lose unsaved work in the virtual machine.
Thanks so much for the assistance. That got the error off of my
virtual machine and it actually attempted to load. However, I got
another error:
'The saved memory file
"/Users/bryanmorton/Documents/Virtual Machines.localized/Windows XP
Professional.vmwarevm/Windows XP Professional.vmem" is corrupt and
cannot be restored. Error encountered while trying to restore the state
of group memory from file "/Users/bryanmorton/Documents/Virtual
Machines.localized/Windows XP Professional.vmwarevm/Windows XP
Professional.vmss"."
Any thoughts on that?
Thanks again for your assitance.
I have a number of .vmem files. Additionally, I have a .vmem.lck file. Do I delete one or all?
Thanks againg for all of your assistance. I think these are the files you are looking for. I believe the last file attached is the one that was created in the "Terminal". However, it showed that it was created earlier than it actually was so I am not 100% sure. Please let me know if there is anything I am missing. I really do appreciate the help.
****Updated. I removed the wrong file and added the right one.
Message was edited by: brmorton
I tried deleting the .vmss file like you mentioned. It seems to have worked. I am in my virtual machine now and everything seems to be working well. Thanks so much for your help.