You’re probably noticing a theme in the last couple of posts. There are weeks where tech is my friend. This week is not such a week. Today’s problem involves losing critical functionality on my home PC’s VMWare install.
I love VMWare. I’ve been a user of their server products for a few years, and with the recent purchase of a beefy i7-based PC, I started looking into VMWare Workstation and Player. One of the features of these desktop versions of VMWare is that you can share folders from the host operating system on the guests. In my specific case, the host operating system is Windows 7, and the guest OS is Fedora 11. In order to backup my Fedora installation, I use the shared folders feature to copy from Fedora onto the Windows 7 host, where it’s backed up onto an external USB drive using Acronis Home.
This system worked for a few days, but suddenly stopped working one day. It occurred after doing a software update on the Fedora guest. I checked the usual suspects for when things go wrong on Linux: firewall settings on both the host and guest, selinux, disk space issues, but no problem was found. I deleted the shared folder settings and restored them, and I still couldn’t access the shared folders. I even went so far as to reboot both the guest and the host, and the shared folders still wouldn’t work.
It was as that point I realized the significance of shared folders disappearing after doing a Fedora system update. Among the updates was a security update to the Linux kernel. It was then I realized what had gone wrong.
Shared folders will work with a guest OS only if VMWare Tools are installed on the guest. On a Fedora guest, that involves recompiling the kernel, and when the kernel was overwritten by the system update, the VMWare changes to the kernel were lost, and thus no more shared folders.
To resolve the issue, I just reinstalled VMWare tools. Since they were previously installed, all I needed to do was to go to where I had expanded the VMWare Tools tar file and run the vmware-install.pl script again. I used all the default selections for the prompts during the re-install, and when it finished, shared folders reappeared as quickly as they had disappeared.