Wednesday, February 27, 2013

Virtual Box Additions for Fedora

When installing the vbox additions in Fedora 16, I encountered errors.

First, I had to install a kernel development kit.

The suggestion kit was not found:
yum install kernel-devel-3.6.11.4.fc16.i686

I tried command completion and was suggested to use
yum install kernel-devel.i686

It was found and installed.

I switched to the /media folder where the vbox additions .iso was mounted and switched to the vbox folder. I ran the VBoxLinuxAdditions.run. It could not find gcc.

I ran
yum install gcc

It installed.

Once again, I ran
./VBoxLinuxAdditions.run

No good.

I looked in the vbox additions /ver/log/vboxadd-install.log file and saw that my kernel needed updating.
After doing rpm -qa | grep kernel I saw that two kernels were installed. I removed the older one.

Tried guest. Failed.

Rebooted.

Tried guest. Failed.

Ran /etc/init.d/vboxadd setup

Tried guest. Failed.

Rebooted.

Tried guest. Failed.

Ran yum update -y. Lots of stuff to update. Install 29, update 409.

Tried guest. Failed.

Ran  /etc/rc.d/init.d/vboxadd setup

Tried guest. Failed.

Rebooted.

Tried guest. Failed.

Tried the recommendation from the vbox log file
make oldconfig
make prepare
I ran these in the source folder for the installed kernel. Error.
no rule to make .../syscall_32.tbl

Trying to rebuild kernel with
make xconfig

Cannot find qt
yum install qt4-devel

I still cannot install the guest additions.

I read in a bug report that getting the additions from RPM Fusion will work.

Went to this page and installed the free and nonfree versions of RPM Fusion
http://rpmfusion.org/Configuration

From the GUI add/remove program application, I searched for guest additions and then installed the Virtual Box Guest Additions. IT WORKED!!!








No comments:

Post a Comment

Followers