You are not logged in.
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
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
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
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
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