You are not logged in.

#1 2009-08-24 09:42:07

sant527
Member
Registered: 2009-06-21
Posts: 273

Virtualbox - install build and header files for your current kernel

I have initially installed virtualbox before upgrading the Arch
Also took backup of the kernle before upgrading since kernel26 2.6.30 is having problem with virtualbox

After upgrading I have configure the grub to use the previous kernel i.e 2.6.28

Later  installed xorg and want to install the video drivers from VBox additions

but running

sh VBoxLinuxAdditions_x86.run

i get the following

install build and header files for your current kernel
The current kernel version is 2.6.28 Arch

What are the build and header files I have to install or search with pacman

And since i have upgraded the system will I able to look up the header and build files needed for kernel 2.6.28

Offline

#2 2009-08-24 09:44:04

arkham
Member
From: Stockholm
Registered: 2008-10-26
Posts: 516
Website

Re: Virtualbox - install build and header files for your current kernel

Virtualbox runs perfectly fine with 2.6.30 now.


"I'm Winston Wolfe. I solve problems."

~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~

Offline

#3 2009-08-24 11:44:02

dmartins
Member
Registered: 2006-09-23
Posts: 360

Re: Virtualbox - install build and header files for your current kernel

There is a kernel-headers package that should already be installed. glibc depends on a certain version of it so, to install a version that matches your kernel, you'd also need to downgrade glibc (and who knows what else!).

Offline

#4 2009-08-24 13:16:05

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Virtualbox - install build and header files for your current kernel

dmartins - he's talking about his kernel's headers, not the kernel-headers package - they are two very differnet things.

sant527 - when you backed up the 2.6.28 kernel, did you remember the files in /usr/src/linux-2.6.28-ARCH/ ? They're what VBox is looking for.

Offline

#5 2009-08-24 14:40:59

sant527
Member
Registered: 2009-06-21
Posts: 273

Re: Virtualbox - install build and header files for your current kernel

sant527 - when you backed up the 2.6.28 kernel, did you remember the files in /usr/src/linux-2.6.28-ARCH/ ? They're what VBox is looking for.

I have that directory still saved, So what are the files I should look for

Offline

#6 2009-08-24 14:56:45

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Virtualbox - install build and header files for your current kernel

If you're running the 2.6.28 kernel, you should restore all those files to /usr/src/linux-2.6.28-ARCH.

Offline

Board footer

Powered by FluxBB