Page 1 of 3

Virtualbox guest additions for Centos 7 -how?

Posted: 2014/07/10 08:34:02
by rliegh
Hi, I want to run Centos inside of Virtualbox, but the guest additions won't build. Has anyone managed to get Centos to work with additions yet?

Re: Virtualbox guest additions for Centos 7 -how?

Posted: 2014/07/10 09:32:19
by TrevorH
There are reports on the VB forums about this and the response so far has been: wait for the next release.

Re: Virtualbox guest additions for Centos 7 -how?

Posted: 2014/07/10 11:13:36
by HenrykD
Download this:
http://download.virtualbox.org/virtualb ... 14_RC1.iso
and replace with original file VBoxGuestAdditions.iso.

Re: Virtualbox guest additions for Centos 7 -how?

Posted: 2014/07/16 06:49:04
by rliegh
Thanks, HenrykD -I found that on their forum but didn't think it was a good idea to mention it here (because it was beta).
However, it's hit release now and is available from the VirtualBox downloads page and works just fine for running CentOS. :)

Re: Virtualbox guest additions for Centos 7 -how?

Posted: 2014/08/25 01:31:50
by mikenjenn
Just wanted to add that this fix worked perfectly for me. It's a royal pain to install CentOS on virtualbox and not have Guest Additions working.

Just installed CentOS 7 today and could not get Guest Additions to build. After reading this post and downloading from the link in HenrykD's comments everything was good to go. Thanks so much for the fix.

:P

Re: Virtualbox guest additions for Centos 7 -how?

Posted: 2014/08/27 01:59:49
by lloydh
I'm running Centos 7 in a Virtualbox, I had a few issues getting guest addons working but all is working now. I'm running Virtualbox 4.3.14_95030_el6-1 on Centos 6.5 with Oracle_VM_VirtualBox_Extension_Pack-4.3.14-95030.

I had to do the following in Centos 7 before I could install the guest addons

Code: Select all

yum install kernel-devel
yum install gcc*
Hope this helps.

Re: Virtualbox guest additions for Centos 7 -how?

Posted: 2014/08/27 08:44:33
by HenrykD
... and:

Code: Select all

wget http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm
yum install epel-release-7-0.2.noarch.rpm
yum install dkms

Re: Virtualbox guest additions for Centos 7 -how?

Posted: 2014/10/05 20:32:29
by inightmare
Thanks HenrykD. Your tutorial help me a lot. I really Appreciate the hard work you put into taking time to post and help newbies like me. :)

Re: Virtualbox guest additions for Centos 7 -how?

Posted: 2014/10/11 11:41:16
by tomav
The link to the package has changed (no more beta):

Code: Select all

wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm
yum install epel-release-7-2.noarch.rpm
yum install dkms

Re: Virtualbox guest additions for Centos 7 -how?

Posted: 2014/10/11 14:59:26
by TrevorH
Actually it's now far far easier than that since the epel-release package is now included in the CentOS extras repo which is enabled by default so you can now do yum install epel-release and it should just work. If it doesn't work then perhaps just adding --enablerepo=extras to the command will fix it.