Page 2 of 3

Re: Virtualbox guest additions for Centos 7 -how?

Posted: 2014/10/11 18:22:55
by jetrosped
there is a video on how to install guest additions in cent os7. I had to update virtualbox in order to install it successfully.

https://www.youtube.com/watch?v=WuJjzCyc6Ss

Re: Virtualbox guest additions for Centos 7 -how?

Posted: 2014/11/03 21:24:46
by red0ct
Thank u HenrykD! Your method was very useful. It took little time)

Re: Virtualbox guest additions for Centos 7 -how?

Posted: 2014/11/10 16:40:02
by Jared216
Thank you HenrykD! :D
Your solution worked for me!
A 1000 thanks! New destro requires latest version guest addons, ah yes, we have met before.

Re: Virtualbox guest additions for Centos 7 -how?

Posted: 2014/11/16 07:43:11
by Alphalpha
I also have VirtualBox v4.3.14 and encountered a few snags setting up CentOS 7 in virtualbox so incase anyone else visits this thread as research for setting up their CentOS VM, this is what I had to do:

First I had to change the network adapter to Paravirtualised Network.
I set up a "DropZone" shared folder and had it automount, so that it would be recognised once Guest Additions were installed.

Then from within "Konsole" commandline environment:

Code: Select all

su -
yum -y groupinstall "Development Tools"
yum -y install gcc-c++
yum -y install kernel-devel

yum -y install yum-plugin-priorities
yum -y install epel-release
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
yum -y install rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm

yum -y update

yum --enablerepo epel install dkms
yum --enablerepo rpmforge install flash-plugin
This "DKMS" stops you needing to reinstall Guest Additions every time you "yum update" in the future.
Flash is for enabling advertisements and you-tube animations in web browsers.
The rest is dependencies.

Reboot.
Insert Guest Additions ISO.
Using Dolphin file manager click around until the ISO is mounted.

Code: Select all

su -
mount | grep VBOX
cd /run/media/root/VBOX (press Tab to autocomplete)
./VBoxLinuxAdditions.run
Now everything except shared folders will work.

Reboot.

Code: Select all

su -
usermod -aG vboxsf InsertUsernameHere
(Replace "InsertUsernameHere" with your user that needs access to shared folders.)

Log completely out of the Windowing system and back in.

Code: Select all

mount | grep sf_
ln -s /media/sf_DropZone ~/_DropZone
Now I had a symbolic link in a convenient location to my out-of-VM data.

Re: Virtualbox guest additions for Centos 7 -how?

Posted: 2014/11/16 17:16:49
by gerald_clark
Why not run the supported KVM ?

Re: Virtualbox guest additions for Centos 7 -how?

Posted: 2014/11/22 01:31:02
by Alphalpha
Insufficient cost:benefit ratio.

Re: Virtualbox guest additions for Centos 7 -how?

Posted: 2014/11/22 01:42:07
by gerald_clark
The cost for KVM is zero, but if you prefer a higher cost, have it your way.

Re: Virtualbox guest additions for Centos 7 -how?

Posted: 2014/11/24 20:29:21
by skotni
Hi TrevorH,

Thanks for post on CentOS 7 guest additions. I tried the command you have given
yum install epel-release
also tried
yum install epel-release --enablerepo=extras

still Virtualbox guest additions is not working specifically mouse over/copy paste.
Do you have any other suggestiions.
Thanks,
--Sriram

Re: Virtualbox guest additions for Centos 7 -how?

Posted: 2014/11/29 04:33:47
by Alphalpha
gerald_clark wrote:The cost for KVM is zero,
Nonsense! The cost is time. That's valuable to anyone. Maybe you have already paid that cost; maybe others haven't. But a non-zero time investment for no known benefit was insufficient to motivate me.

Puerile snark about wanting to pay even more for something already too costly is no substitute for just getting on with it and making some sort of point. If you do have a constructive contribution to make advocating this KVM thing you deem relevant to CentOS on VirtualBox, just go ahead and promote it with links / examples / advantages so that your input is beneficial to people reading this thread.

Re: Virtualbox guest additions for Centos 7 -how?

Posted: 2014/11/29 20:53:21
by gerald_clark
You forgot to factor in the cost of refusing to check out the only officially supported virtualization method.