Loading...
 

Greg`s Tech blog

Slackware 12.1 & VirtualBox

Wednesday 25 of June, 2008
I am running Slack 12.1 as a virtual guest on my Vista laptop. I just spent sevarl hours over several days getting the linux additions to run. So here are some tips (thanks to T3slider over at LinuxQuestions.org for helping me get to the bottom of this.

To install this you mount the vbox additions iso and run ./VBoxLinuxAdditions.run

The first error I saw was from the install script saying something like:
Please install the build and header files for your Linux kernel


This waqs solved by loading the kernel-headers-2.6.24.5_smp-x86-2.tgz package from disk 1 of the Slackware set in the slackware/d directory. (try: installpkg kernel-headers-2.6.24.5_smp-x86-2.tgz)

After this the addditions still wouldn't compile, but the error was now hidden in a log file in /var/log/vboxadditions.log
The error made reference to:
ERROR: Kernel configuration is invalid
include/linux/autoconf.h or auto.conf are missing

or

bin/sh scripts/mod/modpost: No such file or directory


Took me awhile, but T3 mentioned off-hand that it sounded like the kernel-source was missing. I found that on disk 2 of the Slackware set in /slackware/k directory (try installpkg kernel-source-2.6.24.5_smp.tgz)

Take note that the installer adds several new scripts to /etc/rc.d and add references to the script to rc.local to load the drivers at start up.

I'm still having a problem with pointer integration. It says it is working, but while I see the mousein the window, it doesn't do anything. I'll post back when I know more.