Virtualbox guest additions for Centos 7 -how?

Issues related to applications and software problems
rliegh
Posts: 8
Joined: 2014/04/15 18:50:06

Virtualbox guest additions for Centos 7 -how?

Post by rliegh » 2014/07/10 08:34:02

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?

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Virtualbox guest additions for Centos 7 -how?

Post by TrevorH » 2014/07/10 09:32:19

There are reports on the VB forums about this and the response so far has been: wait for the next release.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

HenrykD
Posts: 75
Joined: 2011/01/14 06:09:52
Location: Poland

Re: Virtualbox guest additions for Centos 7 -how?

Post by HenrykD » 2014/07/10 11:13:36

Download this:
http://download.virtualbox.org/virtualb ... 14_RC1.iso
and replace with original file VBoxGuestAdditions.iso.

rliegh
Posts: 8
Joined: 2014/04/15 18:50:06

Re: Virtualbox guest additions for Centos 7 -how?

Post by rliegh » 2014/07/16 06:49:04

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. :)

mikenjenn
Posts: 1
Joined: 2014/08/25 01:21:10

Re: Virtualbox guest additions for Centos 7 -how?

Post by mikenjenn » 2014/08/25 01:31:50

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

lloydh
Posts: 17
Joined: 2013/01/05 06:50:09
Location: Near Brisbane, Australia

Re: Virtualbox guest additions for Centos 7 -how?

Post by lloydh » 2014/08/27 01:59:49

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.

HenrykD
Posts: 75
Joined: 2011/01/14 06:09:52
Location: Poland

Re: Virtualbox guest additions for Centos 7 -how?

Post by HenrykD » 2014/08/27 08:44:33

... 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

inightmare
Posts: 1
Joined: 2014/10/05 20:29:07

Re: Virtualbox guest additions for Centos 7 -how?

Post by inightmare » 2014/10/05 20:32:29

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. :)

tomav
Posts: 1
Joined: 2014/10/11 11:37:13

Re: Virtualbox guest additions for Centos 7 -how?

Post by tomav » 2014/10/11 11:41:16

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

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Virtualbox guest additions for Centos 7 -how?

Post by TrevorH » 2014/10/11 14:59:26

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.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Locked