VBoxLinuxAdditions won't install properly

Discussions related to using VirtualBox on Mac OS X hosts.
imagineer
Posts: 10
Joined: 7. Jul 2010, 06:59
Primary OS: Mac OS X Leopard
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 LTS

Re: VBoxLinuxAdditions won't install properly

Post 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....
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: VBoxLinuxAdditions won't install properly

Post 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! :)
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
imagineer
Posts: 10
Joined: 7. Jul 2010, 06:59
Primary OS: Mac OS X Leopard
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 LTS

Re: VBoxLinuxAdditions won't install properly

Post 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 
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: VBoxLinuxAdditions won't install properly

Post 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).
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply