To install VirtualBox 2.2 Guest Additions on a Fedora 11 virtual machine, follow these steps.
- In the virtual machine’s menu, click on Devices -> Install Guest Additions .
- Click anywhere inside the VM. Click on the Fedora -> Computer. Scroll down and click on the VBOXADDITIONS CD.
- Click on the Fedora icon again. Enter konsole and press enter to bring up a terminal(konsole).
- Now you do the following steps in the terminal. Enter su and press enter. Enter root’s password to get a root prompt.
- We need two extra packages to install the guest additions. Enter the following commands.
yum -y install gcc kernel-devel
- Now change the directory to the guest additions media. The path is different, if you use a different version of VirtualBox.
cd /media/VBOXADDITIONS_2.2.4_47978/
- Run the guest additions script for 32bit machines. If you use a 64bit VM, use VBoxLinuxAdditions-amd64.run instead.
sh VBoxLinuxAdditions-x86.run
- Reboot the VM and it’s done.
If you are interested in the full guide on installing Fedora 11 on VirutalBox. Please follow this link.
This post may contain affiliated links. When you click on the link and purchase a product, we receive a small commision to keep us running. Thanks.
Hi!
I did everything like You said, and this is what I get:
[root@oF VBOXADDITIONS_2.2.4_47978]# sh VBoxLinuxAdditions-x86.run
Verifying archive integrity… All good.
Uncompressing VirtualBox 2.2.4 Guest Additions for Linux installation……………………………………………
VirtualBox 2.2.4 Guest Additions installation
Please install the build and header files for your current Linux kernel.
The current kernel version is 2.6.29.4-167.fc11.i586
This system does not seem to have support for OpenGL direct rendering.
VirtualBox requires Linux 2.6.27 or later for this. Please see the log
file /var/log/vboxadd-install.log if your guest uses Linux 2.6.27 and you still see this message.
Problems were found which would prevent the Guest Additions from installing.
Please correct these problems and try again.
This is the log file output:
Installing VirtualBox 2.2.4 Guest Additions, built Fri May 29 19:13:34 CEST 2009
Testing the setup of the guest system
Could not find the Linux kernel header files – the directories
/lib/modules/2.6.29.4-167.fc11.i586/build/include and /usr/src/linux/include
do not exist.
Giving up due to the problems mentioned above.
Would You be so kind and send me an e-mail whit step by step guide what to do to solve this.
Thank You.
The following fixed it for me:
yum install kernel-PAE-devel
Kees de Kooter,
Your comment helped me! On other versions, 10, 11, and openSuse’ 11.1, I only needed kernel-headers and maybe gcc, but with 12 Beta, I had to use the kernel-PAE-devel ! It’ll probably be simpler when v. 12 comes out in 2 weeks.
Thanks!
I had the same problem, and had to run Fedora’s update manager before I could get the Guest Additions to install (System -> Administration -> Software Update). Takes a while and needs a reboot. After this there were no problems.
Thanks for the guide.
Plese send me how to complete install kubuntu,edubuntu,mandriva,linux mint,knopix,xubuntu,boss,open solaris,xp,vista,window 7 in VirutalBox 2.2 as Guest .
thank you for ubuntu and fedora installation guide.
My ID: rokersmen@rediffmail.com
I do not have other guides. The installation process for different OS are similar. If you follow my guide to install one, you should have no problems getting other OS to install.
It looks like the command: yum install kernel-devel
installs headers for the most recent kernel increment. As of 8/1/09 this is:
kernel-2.6.29.6-213.fc11.i586.
The kernel included in your F11 release ( and mine) is :
kernel-2.6.29.4-167.fc11.i586.
So we need to update our kernels. Step 5 should be:
yum -y install gcc kernel-devel kernel. This is quicker than running a complete system update.
This worked for me:
http://www.howtoforge.com/vboxheadless-running-virtual-machines-with-virtualbox-3.0-on-a-headless-fedora-11-server
Just grab the RPM from the vbox site and install.