You are not logged in.

#1 2010-01-04 19:43:35

flintmecha
Member
Registered: 2008-07-27
Posts: 41

VirtualBox Guest Additions - kernel problems

I recently installed Arch as a guest OS in VirtualBox (XP host, at work) and I'm trying to get the Guest Additions installed so that I can at least make use of a better resolution in X.

With the disc mounted, here's what happens:

[ben@arch ~]$ sudo sh /media/cd/VBoxLinuxAdditions-x86.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 3.0.4 Guest Additions for Linux installation..............................................................................
VirtualBox 3.0.4 Guest Additions installation
Building the VirtualBox Guest Additions kernel module...
Building the shared folder support kernel module...
Unable to build the kernel module. See the log file /var/log/vboxadd-install.log for more details.

I check that log file and the only error I seem to see throughout the log is something like this:

ERROR: Kernel configuration is invalid.
include/linux/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.

So I go to where I believe the kernel source is, /usr/src/linux-2.6.32-ARCH/, and run the command.

ben@arch linux-2.6.32-ARCH]$ make oldconfig && make prepare
scripts/kconfig/conf -o arch/x86/Kconfig

*** Error during writing of the kernel configuration

make[1]: *** [oldconfig] Error 1
make: *** [oldconfig] Error 2

I'm really stuck. I have no idea what I'm supposed to do to get the Guest Additions working. Any suggestions?

Offline

#2 2010-01-04 19:45:08

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: VirtualBox Guest Additions - kernel problems

http://www.archlinux.org/news/477/

pacman -S kernel26-headers

Last edited by wonder (2010-01-04 19:45:23)


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2010-01-04 22:12:51

flintmecha
Member
Registered: 2008-07-27
Posts: 41

Re: VirtualBox Guest Additions - kernel problems

I have the correct headers installed.

As it turns out, I solved this on my own. I had to get virtualbox-ose-additions with pacman. Installing with the iso that's mounted with VB just would not work for some reaosn.

Offline

#4 2010-01-05 00:23:05

wantilles
Member
From: Athens - Greece
Registered: 2007-03-29
Posts: 327

Re: VirtualBox Guest Additions - kernel problems

flintmecha wrote:

I have the correct headers installed.

As it turns out, I solved this on my own. I had to get virtualbox-ose-additions with pacman. Installing with the iso that's mounted with VB just would not work for some reaosn.

Of course it would not work.

Installing, is the wrong Windows way.

Through the Package Management System (PMS) is the correct UNIX/Linux way.

Offline

#5 2010-01-05 13:19:35

flintmecha
Member
Registered: 2008-07-27
Posts: 41

Re: VirtualBox Guest Additions - kernel problems

Then somebody should remove the instructions from the Arch Wiki that tell you to run the script that comes with VirtualBox, and tell the people who make VirtualBox they shouldn't include a Linux script because that's "wrong".

Don't be silly, now.

Offline

Board footer

Powered by FluxBB