Thanks for swift reply!
Great having your help (all though I hope this will be easier in future since Ubuntu is becoming
a major OS releasefor users and developers).
Your script worked for me, and I run VMware workstation v6.5.2 build-156735
A minor glitch after I typed in my password (which it didn't hide) where it tried to use it as a variable in a path.
If you like, I could email you the output. Where would I find the file you're asking for?
Thanks alot, and keep it up!
A minor glitch after I typed in my password (which it didn't hide) where it tried to use it as a variable in a path. If you like, I could email you the output. Where would I find the file you're asking for?
If you would archive it and attach it here that would be fine.
Also if you would run the attached shell script in Ubuntu and it will extract the target page.c from VMware Tools and place it on the Desktop zipped up and you could attach that too.
Note: You need to click Install VMware Tools again but not to worry it doesn't install them again, just follow the prompts in the script.
Although your efforts are greatly appreciated, it would be nice to see VMware increase the automation of VMware Tools installation in Ubuntu, especially since it's such a popular Linux distribution. Providing prompt updates every six months to support each new Ubuntu version would also be welcomed.
Thanks again, and please continue to contribute to the community.
I just ran the shell script on a fresh clean install of Ubuntu 9.04 x64 and then diffed the output from mine and yours and cannot explain why your's failed and mine do not fail.
I do not know if this makes any difference but on yours in the output it shows "(Reading database ... 101421 files and directories currently installed.) and that a higher count then my clean install and from this in your output "0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded." that tell me that you probably have already run Update Manager prior to running the shell script and if you will confirm that I will try that scenario and see what happens. Aside from that and with the exception of things that should be different in the output from one user to another, like user names, computer names date/time stamps, then except for the HGFS message "Mounting HGFS shares: failed" and subsequent unmounting/mounting error all else was identical.
Other then that the only suggestion I can make at this moment is to run the shell script again which will uninstall VMware Tools, reboot, run the scrip again and see if HGFS fails again.
Yes, I had already run the Update Manager.
I did try a rerun with the Uninstall, Reboot and Install steps.
I will try running before the Update Manager.
(I carefully duplicated the VM as I stepped thru the install on the last "try",
on assumption that it would be 'trivial'.)
I just ran the scrip on a clean build with update manager run 1 time and again all worked and I can access HGFS Shares and thinking back I had already run the script both before and after and the results have been the same, on my system is always works.
Did you validate the MD5 /SHA1 checksum of the Ubuntu 9.04 ISO Image?
Also what version of VMware Fusion are using?
Backed down to preUpdate time period, still same error.
MD5 values match.
Next: Start up from scratch - New VM and build up step by step, expect the best.
Keep you posted.
Results stay the same.
Thanks for effort, time
Results stay the same.
Do you have a VMware Shared Folder defined and enabled before installing VMware Tools?
If not it is expected to fail at the point shown by the output you previously attached and sorry for the delay in that registering in my brain and then confirming it by removing my share and disabling before installing VMware Tools.
This of course has nothing to do with my shell script as this is applicable even in supported Linux Distributions.
Thanks for effort, time
Message was edited by: WoodyZ
BTW You should still be able to enable and set a share after that failed message and reboot and you should then be good to go.
When a "New" vm is created, 'Sharing' defaults to "disabled" and if the Linux VMware Tools are installed, then the scripts report
Mounting HGFS Filesystem...
Error: cannot mount filesystem: Protocol error
If 'Sharing' is enabled, HGFS mounts.
Putting together this script was a great service to those of us in the community who were unwary enough to upgrade to Ubuntu 9.04 before it was supported by VMware Fusion.
I actually upgraded to Kubuntu 9.04., which includes Ubuntu 9.04 and KDE 4.23. I then spent over a day trying to find out why I could not longer access the shared files on the host, thinking I had done something wrong or couldn't figure out the right Linux command to mount the hgfs filesystem: I'm a Linux newbie. Your script rescued me, and it is highly appreciated.
I attach a file that documents the whole process of running the script. I've got some questions about error messages, which are highlighted in red font on pages 16 and 19 -- at least, those are the page numbers when the file is opened in Microsoft Word. Should I be concerned about these error messages?:
error setting MTRR (base = 0xd0000000, size = 0x03e80000, type = 1) Invalid argument (22)
ERROR: Module pcnet32 does not exist in /proc/modules
WARNING: All config files need .conf: /etc/modprobe.d/vmware-tools, it will be ignored in a future release.
I also wonder why, in the Fusion menu bar, the Virtual Machine drop-down menu continues to show Install VMware Tools, rather than Update VMware Tools, no matter how many times I install it. This used to change to the Update message under Fusion 1.X, but doesn't seem to work any more. I have the same problem when the guest is Windows XP, rather than Ubuntu.
For Woody to become aware of your question(s), you need to 'reply' to
one of his updates, not one of mine.
==++ you need to 'login' on the site in order to 'pick' the update.
- Best of Luck
For Woody to become aware of your question(s), you need to 'reply' to one of his updates, not one of mine.
Yang Guizi's post was in direct reply to the OP not your post. Also in general I see everything posted to the forum anyway yet am notified by email specifically if its a reply to one of my posts or someone else's post in a thread I have started or posted into.
I also have not had time to reply to Yang Guizi's post.
I guess that OP means "original post". That was the post to which I replied.