Any trick to installing guest additions on FC14?

Discussions about using Linux guests in VirtualBox.
Post Reply
ToddAndMargo
Posts: 306
Joined: 6. Aug 2007, 02:24

Any trick to installing guest additions on FC14?

Post by ToddAndMargo »

Host: CentOS 5.5, 32 bit
Guest: Fedora Code 14, 64 bit
VM: 3.2.10

Hi All,

Is there any trick in getting Fedora Core 14 to install the guest additions? I have done the following prep work:

Code: Select all

#yum install switchdesk switchdesk-gui dkms binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel
OT: switchdesk does not work in FC14

Many thanks,
-T

Code: Select all

# ./VBoxLinuxAdditions-amd64.run
# Verifying archive integrity... All good.
# Uncompressing VirtualBox 3.2.10 Guest Additions for Linux........
# VirtualBox Guest Additions installer
# Removing installed version 3.2.10 of VirtualBox Guest Additions...
# Uninstalling old VirtualBox DKMS kernel modules            [  OK  ]
# 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.  Once you have corrected it, you can
# run
#
#   /etc/init.d/vboxadd setup
#
#   to build them.
#   Doing non-kernel setup of the Guest Additions              [  OK  ]
#   Installing the Window System drivers
#   Installing X.Org Server 1.9 modules                        [  OK  ]
#   Setting up the Window System to use the Guest Additions    [  OK  ]
#   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 componen[  OK  ]
#


# more /var/log/vboxadd-install.log
Uninstalling modules from DKMS
Makefile:23: *** Error: unable to find the sources of your current Linux kernel.
 Specify KERN_DIR=<directory> and run Make again..  Stop.
Attempting to install using DKMS

Creating symlink /var/lib/dkms/vboxguest/3.2.10/source ->
                 /usr/src/vboxguest-3.2.10

DKMS: add Completed.

Error! Your kernel source for kernel 2.6.35.6-45.fc14.x86_64 cannot be found at
/lib/modules/2.6.35.6-45.fc14.x86_64/build or /lib/modules/2.6.35.6-45.fc14.x86_
64/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
[root@fc14 VBOXADDITIONS_3.2.10_66523]# exit
exit

fixedwheel
Volunteer
Posts: 1699
Joined: 13. Sep 2008, 02:18

Re: Any trick to installing guest additions on FC14?

Post by fixedwheel »

Hi,

Code: Select all

Error! Your kernel source for kernel 2.6.35.6-45.fc14.x86_64 cannot be found at
please post the output of

Code: Select all

rpm -qa|grep kernel

i bet there is a version mismatch that probably can be solved by

Code: Select all

yum clean all
yum check-update
yum update
followed by booting into the updated kernel ...
ToddAndMargo
Posts: 306
Joined: 6. Aug 2007, 02:24

[Solved]Re: Any trick to installing guest additions on FC14?

Post by ToddAndMargo »

[quote="fixedwheel"]please post the output of

Code: Select all

rpm -qa|grep kernel
You are correct. All three of the different kernel things are different revisions.

I can not tell if it now works, as the "update" corrupted my file system and I have to start over. (Best time to corrupt when I do not have squat installed on it yet.)

Many thanks,
-T
ToddAndMargo
Posts: 306
Joined: 6. Aug 2007, 02:24

Re: Any trick to installing guest additions on FC14?

Post by ToddAndMargo »

Hi All,

Got it all erased and reinstalled. Works perfectly. The trick is to do "yum upgrade" and rebooting before trying to install the guest additions.

Thank you all for the help,
-T
Post Reply