If Not True Then False

VirtualBox Guest Additions on Fedora 27/26, CentOS/RHEL 7.4/6.9/5.11 - Comment Page: 3

This is guide, howto install Oracle VirtualBox Guest Additions on Fedora, CentOS and Red Hat (RHEL). This guide should work with Fedora 27/26/25/24/23/22/21/20/19/18/17/16, CentOS 7.4/6.9/5.11, Red Hat (RHEL) 7.4/6.9/5.11. VirtualBox Guest Additions is special software that can be installed inside Linux virtual machines to improve performance and make integration much more seamless. Among the...


Leave a Comment

Your email address will not be published. Required fields are marked *

Input your comment.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Input your name.


Thank you, it almost worked for me. Just had to set
after all the installs
CentoOS 6.2

reply Reply

I just dont know what to do anymore..i have followed you instructions, installed ALL the necessary packages, updated yum, updated the whole system… I continue to get the same stupid error:

“echo ” ERROR: Kernel configuration is invalid.”; \
echo ” include/generated/autoconf.h or include/config/auto.conf are missing.”;\
echo ” Run ‘make oldconfig && make prepare’ on kernel src to fix it.”; \

What does this mean? Make oldconfig and make prepare? I tried to run these commands as root in the kernels directory and nothing happened. What am I supposed to do? Is Linux really that difficult to understand, or am I just doing things wrong?

reply Reply
Road Runner

Hi Help,

When do you get this error?
You seem to be missing something.

what does the logs say? /var/log/vboxadd-install.log

Below is a link to a similar issue and fix

Linux isnt hard.
It gives the user control of everything. So It takes patience to understand all the details.
Eventually you will feel that you can pretty much change anything on the system!

reply Reply

Hi RoadRunner: :)

Thanks for the reply. Sorry for my frustration, it was just that I really wanted to dive into Fedora and see what it had to offer. I did some research on virtualbox.org and found that the problem was caused by fedora kernel update (version 3.5) I repaired it by using the virtualbox guest editions 4.2 beta1 at http://download.virtualbox.org/virtualbox/4.2.0_BETA1/.

Since then everything is working fine, except for seamless mode.. Whenever I activate it, I only see the windows desktop but not the fedora taskbar, which should be located at the top of the screen. I find this most strange, since it works flawlessly with CentOS 6.3. Is there something in the setting that I need to activate in order to see the taskbar?

reply Reply

Sorry for my bad typing. It is very late here in Germany, and I am tired.. I meant to say that I fixed it using Virtualbox guest additions 4.2 beta1. There was a discussion over the problem here: https://forums.virtualbox.org/viewtopic.php?f=3&t=50748

I thought it best to describe the situation that I am having with seamless mode:

My guest OS is windows server 2008. When I activate seamless mode in Virtualbox the fedora desktop completely disappears, leaving only the Windows desktop and the Virtualbox taskbar on the bottom of the screen. The Fedora taskbar that should be located at the top of the screen is not visible. The only time I see anything from Fedora in seamless mode is when I have a window open. However when I close that window I am unable to use Fedora again until I switch to a different mode (fullscreen for example).

My question is if there is something in the settings that I must change, or is there anything extra that I must download in order to get Fedora fully integrated in seamless mode? Thanks for the response. :)

reply Reply
Road Runner

Sorry mate.

I have no idea whether its a settings issue. Im not running virtualbox atm so I cannot test either.

reply Reply
Branislav Zeljak

Hi. I found yur ToDo.
If i use Kernel 3.3.4-5 it is work.
If i use Kernel 3.5.1-1 i beca a error

“Building the main Guest Additions module [FAILED]

What is wrong? It is a bug??

Thanks for help.

reply Reply

Hi Branislav,

Yes, it is bug. More info about this problem from here. Should be fixed on VirtualBox Guest Additions 4.2.0_Beta1 version.

reply Reply

A million thanks.
It worked fine for an Oracle enterprise linux 2.6.39 as Guest on an Ubuntu 10.04 LTS as Host.

reply Reply

Hi JC,

You are very welcome! Nice to hear that it worked with Oracle enterprise linux! :)

reply Reply

thank you! it helpful! I thought it won’t help, but it really did!

reply Reply


First off. Thank you for all your tutorials. I wish there was a way to pay your or compensate you, maybe just recommending your site to friends. But, please, accept my many thanks!

New to linux, have used many of ur tutorials. This one made me stuck.

My problem is from the beginning.
When I input: mount -r /dev/cdrom /media/VirtualBoxGuestAdditions
Sys output: mount: no medium found on /dev/sr0

From here, I follow instructions to finish w/out visible errors until the end.
I input: ./VBoxLinuxAdditions.run
Sys output: -bash: ./VBoxLinuxAdditions.run: No such file or directory

I don’t know what I am doing wrong, all kernel updates say:
no packages marked for update or already installed and latest version

please help (at your earliest convenience of course!) :)

reply Reply

Hi Zosimo,

What happens when you click “Install Guest Additions…”?

Does it mount automatically Virtual Box guest additions on your system?

reply Reply

I have spent the better part of my night trying to install the Virtual Box Guest additions
My issue was that the install could not find any flies related to kernels under /usr/src/kernels.
The folder showed as empty.
The issue was I could not view the files in that folder when logged in to the root account…
When I logged out and logged back in as “user” then I could view the files and install Virtual Bx guest with no issues…..
I hope this save someone some time!
Can any one tell me why I could not view the files in /usr/src/kernels logged in as root?

reply Reply

Hi Net@this,

This sounds interesting, could you post output of following command as normal user and root user:

ls -la /usr/src/kernels

Could you also post output of following commmand:

rpm -qa kernel\* |sort
reply Reply