You are not logged in.

#1 2011-01-17 03:33:37

breaksand30
Member
Registered: 2011-01-13
Posts: 39

Virtual box additions won't install

I'm running Arch on a virtual box right now to test it out. I'm trying to install the VBoxLinuxAdditions. I mounted /dev/cdrom to /media and typed
sudo /media/VBoxLinuxAdditions-x86.run
And this is the output I get:

erifying archive integrity... All good.
Uncompressing VirtualBox 3.2.12 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 3.2.12 of VirtualBox Guest Additions...
:: Uninstalling old VirtualBox DKMS kernel modules                                                [DONE] 
:: 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.  Once you have corrected it, you can
run

  /etc/init.d/vboxadd setup

to build them.
:: Doing non-kernel setup of the Guest Additions                                                  [DONE] 
:: Installing the Window System drivers                                                           [BUSY] 
:: Installing X.Org Server 1.9 modules                                                            [DONE] 
:: Setting up the Window System to use the Guest Additions                                        [DONE] 
You may need to restart the hal service and the Window System (or just restart
the guest system) to enable the Guest Additions.

:: Installing graphics libraries and desktop services components                                  [DONE] 

I tried running /etc/init.d/vboxadd setup but its not there.
Heres my /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.
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.

Offline

#2 2011-01-17 05:27:29

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: Virtual box additions won't install

is kernel26-headers installed?

Offline

#3 2011-01-17 05:31:44

breaksand30
Member
Registered: 2011-01-13
Posts: 39

Re: Virtual box additions won't install

skunktrader wrote:

is kernel26-headers installed?

Yup. Followed the guide on the wiki and installed it.

Offline

#4 2011-01-17 08:13:43

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: Virtual box additions won't install

-mod- please remove, I asked a stupid question.

Last edited by archman-cro (2011-01-17 08:20:01)

Offline

#5 2011-01-17 09:03:57

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: Virtual box additions won't install

Is gcc and make installed ?


Mr Green

Offline

#6 2011-01-17 19:21:44

breaksand30
Member
Registered: 2011-01-13
Posts: 39

Re: Virtual box additions won't install

Mr Green wrote:

Is gcc and make installed ?

Yep I also installed those.

Offline

#7 2011-01-17 19:27:13

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

Re: Virtual box additions won't install

just look inside this /var/log/vboxadd-install.log. all the answers are in there


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

Offline

#8 2011-01-17 20:51:19

breaksand30
Member
Registered: 2011-01-13
Posts: 39

Re: Virtual box additions won't install

wonder wrote:

just look inside this /var/log/vboxadd-install.log. all the answers are in there

Yea I did and I pasted the log contents here but it says something about KERN_DIR and I have no idea where the kernel directory is, or how to use it with VBoxLinuxAdditions-x86.run

Offline

#9 2011-01-17 20:57:29

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: Virtual box additions won't install

Your first shows that the additions are built and are installed, look in /etc/rc.local you should see vbox stuff

If you read arch wiki on virtualbox it will tell you what you need to know

MrG


Mr Green

Offline

#10 2011-01-17 21:05:35

breaksand30
Member
Registered: 2011-01-13
Posts: 39

Re: Virtual box additions won't install

Mr Green wrote:

Your first shows that the additions are built and are installed, look in /etc/rc.local you should see vbox stuff

If you read arch wiki on virtualbox it will tell you what you need to know

MrG

Then how come the additions won't work? For example when I'm in fullscreen it's not fullscreen just a small box.

Offline

#11 2011-01-17 21:56:16

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

Re: Virtual box additions won't install

i guess you didn't rebooted after updating the kernel


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

Offline

#12 2011-01-19 20:06:27

breaksand30
Member
Registered: 2011-01-13
Posts: 39

Re: Virtual box additions won't install

wonder wrote:

i guess you didn't rebooted after updating the kernel

No I did but it still doesn't work.

Offline

#13 2011-01-19 20:10:16

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

Re: Virtual box additions won't install

still wait for that log


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

Offline

#14 2011-01-19 20:16:35

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: Virtual box additions won't install

https://wiki.archlinux.org/index.php/Vi … drv_Module

Everything you need to know is in wiki, updated my Arch VM works fine....


Mr Green

Offline

Board footer

Powered by FluxBB