Virtualbox guest additions for Centos 7 -how?

Issues related to applications and software problems
jetrosped
Posts: 1
Joined: 2014/10/11 18:20:21

Re: Virtualbox guest additions for Centos 7 -how?

Post by jetrosped » 2014/10/11 18:22:55

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

red0ct
Posts: 1
Joined: 2014/11/03 21:14:24

Re: Virtualbox guest additions for Centos 7 -how?

Post by red0ct » 2014/11/03 21:24:46

Thank u HenrykD! Your method was very useful. It took little time)

Jared216
Posts: 1
Joined: 2014/11/10 16:30:39

Re: Virtualbox guest additions for Centos 7 -how?

Post by Jared216 » 2014/11/10 16:40:02

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.

Alphalpha
Posts: 4
Joined: 2014/11/16 06:25:27

Re: Virtualbox guest additions for Centos 7 -how?

Post by Alphalpha » 2014/11/16 07:43:11

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.
I don't come here often; generally only when a client needs help with CentOS or when I convince a client to try CentOS (which they're typically only prepared to do within a familiar/cross-platform VM system such as VMWare or VirtualBox).

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Virtualbox guest additions for Centos 7 -how?

Post by gerald_clark » 2014/11/16 17:16:49

Why not run the supported KVM ?

Alphalpha
Posts: 4
Joined: 2014/11/16 06:25:27

Re: Virtualbox guest additions for Centos 7 -how?

Post by Alphalpha » 2014/11/22 01:31:02

Insufficient cost:benefit ratio.
I don't come here often; generally only when a client needs help with CentOS or when I convince a client to try CentOS (which they're typically only prepared to do within a familiar/cross-platform VM system such as VMWare or VirtualBox).

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Virtualbox guest additions for Centos 7 -how?

Post by gerald_clark » 2014/11/22 01:42:07

The cost for KVM is zero, but if you prefer a higher cost, have it your way.

skotni
Posts: 1
Joined: 2014/11/24 20:20:50

Re: Virtualbox guest additions for Centos 7 -how?

Post by skotni » 2014/11/24 20:29:21

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

Alphalpha
Posts: 4
Joined: 2014/11/16 06:25:27

Re: Virtualbox guest additions for Centos 7 -how?

Post by Alphalpha » 2014/11/29 04:33:47

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.
I don't come here often; generally only when a client needs help with CentOS or when I convince a client to try CentOS (which they're typically only prepared to do within a familiar/cross-platform VM system such as VMWare or VirtualBox).

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Virtualbox guest additions for Centos 7 -how?

Post by gerald_clark » 2014/11/29 20:53:21

You forgot to factor in the cost of refusing to check out the only officially supported virtualization method.

Locked