Installing VMware 1.0.4 on Slackware 12.0

Today I had to set up a new server to use as a back up if my primary server fails. Rather than messing about with the old version (1.0.2) of VMware that is used on my primary server I decided to try out the latest version (1.0.4). Well, much to my surprise, 1.0.4 works with Slackware right out of the box. No more need to apply patches to support kernel version 2.6.21.5.

Many of the caveats that apply to the older version still apply to the new version.

  • In /etc you need to create the directories init.d, rc1.d, rc2.d, …, rc6.d and pam.d if they don’t already exist.
  • You still need to be certain that the last kernel build in /usr/linux/src matches the kernel that you are running. If it doesn’t there is a good chance that VMware will refuse to run after you install it.
  • To make VMware start when Slackware boots you need to copy /etc/init.d/vmware to /etc/rc.d/rc.vmware and make sure that it is executable. Then you must add the following code to /etc/rc.local:
    if [ -x /etc/rc.d/rc.vmware ]; then
    /etc/rc.d/rc.vmware start
    fi
  • To make VMware shut down gracefully when Slackware shuts down you must create /etc/rc.d/rc.local_shutdown and add the following to it:
    if [ -x /etc/rc.d/rc.vmware ]; then
    /etc/rc.d/rc.vmware stop
    fi

Leave a Reply