PDA

View Full Version : How in install kernel?


Fedoraderg
19th February 2010, 11:25 PM
Hi to all. This is my 1st post here. I'm a newbie to Fedora but have some Linux experience (Ubuntu).
My setup-
iMac OSX 10.6.2
Running Fedora 12 64bit on VirtualBox 3.1.4.

Got a error trying to install Guest additions in Fedora as guest.

Building the VirtualBox Guest Additions kernel modules [FAILED]
(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)

Read an earlier post in this forum that said there was a kernel mis match that caused the problem.

Typed in uname -r & rpm -qa | grep kernel | sort as suggested in the other post & it looks like I have a mismatch, too. But, as I'm new to Fedora, I'm not sure how to install or upgrade the kernel. I just finished a hugh update after the Live CD install.
BTW I did something wrong using terminal & got a warning that said I was reported. Huh? I thought Ubuntu's commands would work. Wrong about that one as they are very different! Am I going to jail?;)

I appreciate all suggestions.:)

[root@George VBOXADDITIONS_3.1.4_57640]# uname -r
2.6.31.5-127.fc12.x86_64
[root@George VBOXADDITIONS_3.1.4_57640]# rpm -qa | grep kernel | sort
abrt-addon-kerneloops-1.0.6-1.fc12.x86_64
kernel-2.6.31.12-174.2.19.fc12.x86_64
kernel-2.6.31.5-127.fc12.x86_64
kernel-devel-2.6.31.12-174.2.19.fc12.x86_64
kernel-firmware-2.6.31.12-174.2.19.fc12.noarch
kernel-headers-2.6.31.12-174.2.19.fc12.x86_64
[root@George VBOXADDITIONS_3.1.4_57640]#

forkbomb
19th February 2010, 11:51 PM
[root@George VBOXADDITIONS_3.1.4_57640]# uname -r
2.6.31.5-127.fc12.x86_64
[root@George VBOXADDITIONS_3.1.4_57640]# rpm -qa | grep kernel | sort
abrt-addon-kerneloops-1.0.6-1.fc12.x86_64
kernel-2.6.31.12-174.2.19.fc12.x86_64
kernel-2.6.31.5-127.fc12.x86_64
kernel-devel-2.6.31.12-174.2.19.fc12.x86_64
kernel-firmware-2.6.31.12-174.2.19.fc12.noarch
kernel-headers-2.6.31.12-174.2.19.fc12.x86_64
[root@George VBOXADDITIONS_3.1.4_57640]#
Did you reboot the Fedora VM after installing the new kernel?

yum will maintain the oldest two kernels (one as a fallback) but will only keep the source/headers/firmware for the most recent kernel (by default). Virtualbox's tools installer is correctly noting that your kernel is older than the installed sources.

Fedoraderg
20th February 2010, 11:06 AM

Yes, reboot & reinstall did the trick!
Thanks