My vmrun start up script for centos vm which has been working fine until yesterday:
#!/bin/bash
"/Applications/VMware Fusion.app/Contents/Library/vmrun" -T fusion start "/Users/xxx/Documents/Virtual Machines.localized/CentOS 64-bit.vmwarevm" nogui
this results in
Error: Unknown error
- If I go to "show package contents" in the centosvm OSX VM I see the a vm lock file being created as I execute the above script. Then nothing happens just the above error.
- This was working fine and I had been using it for a few weeks to login direct from OSX to the VM via the terminal - until I tried to do fsck unmount and init 1 in the centos vm command line, resulting in a force shutdown and after that its stopped working.
- So after that I got a backup centosvm that i had before i ran the above fsck commands and tried to use it - however the vmrun problem persists
- Then I did a fresh install of centos and still the vmrun above error is appearing, so I’m kind of stuck, don't know why the vmrun error is appearing on a fresh install of centos.
- I also reinstalled VMWare Fusion
- If I open the VM from the fusion library (i.e GUI mode) it will start up fine and then the above vmrun script command will run, and i can log in to the VM from the OSX command line using vmrun.
- But trying to start up the VM via the command line without having the GUI started using the above script , results in Error Unknown error
Please advise.
Thanks