Page 2 of 2

Re: VBoxLinuxAdditions won't install properly

Posted: 9. Jul 2010, 04:47
by imagineer
Sasquatch - Success!! Typing this in Fullscreen mode.
-removed Ubuntu, VirtualBox, cleaned out libraries.
-new download of VirtualBox, reinstall
-new Install Ubuntu-10.04-desktop-i386.iso
-installed Guest Additions, kernel built correctly!
It works! Thanks a bundle!, if there's anything I can do....

Re: VBoxLinuxAdditions won't install properly

Posted: 9. Jul 2010, 20:25
by Sasquatch
imagineer wrote:if there's anything I can do....
Learn lots about Linux and it's advantages and ditch corporate/enterprise OSes :P. OpenSource all the way, take back your system! :)

Re: VBoxLinuxAdditions won't install properly

Posted: 11. Jul 2010, 12:50
by imagineer
Chockie's back. Salome wouldn't run properly on Ubuntu, have installed Debian (it's ported for Etch 4.0, not Lenny). Darn same problem again with GuestAdditions!

Code: Select all

Building the VirtualBox Guest Additions kernel modules ...fail! 
Your system does not seem to be set up to build kernel modules. 
Look at /var/log/vboxadd-install.log to find out what went wrong
var/log:-

Code: Select all

Debian:/# cat /var/log/vboxadd-install.log 
Makefile:23: *** Error: unable to find the sources of your current Linux kernel. Specify 
KERN_DIR=<directory> and run Make again..  Stop.
- My problem- Don't understand "Specify KERN_DIR" or know syntax for terminal commands.
Your recommendation from last time, ran :-

Code: Select all

Debian:/# dpkg -l linux-headers* linux-image* 
No packages found matching linux-headers*. 
Desired=Unknown/Install/Remove/Purge/Hold 
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed 
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) 
||/ Name                  Version               Description 
+++-=====================-=====================- 
====================================================== 
==== 
un  linux-image           <none>                (no description available) 
un  linux-image-2.6       <none>                (no description available) 
ii  linux-image-2.6-686   2.6.18+6etch3         Linux kernel 2.6 image on 
PPro/Celeron/PII/PIII/P4 
ii  linux-image-2.6.18-6- 2.6.18.dfsg.1-24      Linux 2.6.18 image on PPro/Celeron/PII/PIII/P4 
Debian:/# uname -r 
2.6.18-6-686 

Re: VBoxLinuxAdditions won't install properly

Posted: 11. Jul 2010, 13:26
by Sasquatch
I don't see the linux-headers package listed there, do you? Verify it. Use aptitude (no parameters) as root to get a clear view of the packages that are available, then install the proper build tools and headers. Debian Etch doesn't have dkms, so you have to remember to rebuild the GA manually every time the kernel gets an update (if that still happens for Etch).