Unable to install Vbox Guest Additions even after installing headers

Issues related to applications and software problems and general support
isaac12345
Posts: 1
Joined: 2020/05/16 10:02:12

Unable to install Vbox Guest Additions even after installing headers

Post by isaac12345 » 2020/05/16 10:24:28

Hi all,

Just installed cent os 8 (server with gui ) on vbox 6.1.6 r137129 with windows 10 as the guest machine to learn server administration. I am trying to install vbox guest additions as I would like mouse pointer integration and a larger/higher resolution screen. When I run the ga installer, i get the following error -
vbox ga error 1.PNG
vbox ga error 1.PNG (70.45 KiB) Viewed 1088 times
the vboxadd-setup.log file contains the following -
vbox ga error 2.PNG
vbox ga error 2.PNG (94.76 KiB) Viewed 1088 times
Any idea how I can resolve this and get on with installing guest additions? THanks

Also, I'm unable to copy-paste from guest to host or host to guest.

northpoint
Posts: 107
Joined: 2016/05/23 11:57:12

Re: Unable to install Vbox Guest Additions even after installing headers

Post by northpoint » 2020/05/17 14:41:01

To me it looks like your missing some dev / devel stuff?

Did you install them and still have the issue?
Ryzen x1800 * Asus x370 Pro * CentOS 7.4 64bit / Icewarp /

yolkchicken
Posts: 1
Joined: 2020/05/17 23:17:24

Re: Unable to install Vbox Guest Additions even after installing headers

Post by yolkchicken » 2020/05/17 23:20:36

Were you able to fix this problem, because I'm having the same issue and I don't know how to fix it.

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

Re: Unable to install Vbox Guest Additions even after installing headers

Post by TrevorH » 2020/05/18 16:16:06

https://wiki.centos.org/HowTos/Virtuali ... VirtualBox

I'd also add that after installing all the relevant packages that are required (e.g kernel-devel etc) you will also need to make sure that you run yum update and then reboot into any new kernel that is installed by that. The versions of the running kernel and the kernel-devel/kernel-headers packages must match exactly and this is the simplest way to ensure that is true.
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

shady_baseely
Posts: 1
Joined: 2020/05/07 20:13:25

Re: Unable to install Vbox Guest Additions even after installing headers

Post by shady_baseely » 2020/05/18 20:14:29

TrevorH wrote:
2020/05/18 16:16:06
https://wiki.centos.org/HowTos/Virtuali ... VirtualBox

I'd also add that after installing all the relevant packages that are required (e.g kernel-devel etc) you will also need to make sure that you run yum update and then reboot into any new kernel that is installed by that. The versions of the running kernel and the kernel-devel/kernel-headers packages must match exactly and this is the simplest way to ensure that is true.
Hi,

I got the same issue, even after updating the system using

Code: Select all

yum update

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

Re: Unable to install Vbox Guest Additions even after installing headers

Post by TrevorH » 2020/05/19 08:47:58

And then you rebooted?
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

northpoint
Posts: 107
Joined: 2016/05/23 11:57:12

Re: Unable to install Vbox Guest Additions even after installing headers

Post by northpoint » 2020/05/19 14:52:44

(I did not see where I could delete this post so I am editing it )

I have edited this post to remove the packages listed as there is concern that they are not correct.

I apologize if I have ruffled feathers here.

In my experience, When I have ran into this problem its been solved by installing some missing devel packages.

Perhaps Moderators can just delete this post - Would be alright with me.
Last edited by northpoint on 2020/05/20 09:20:09, edited 1 time in total.
Ryzen x1800 * Asus x370 Pro * CentOS 7.4 64bit / Icewarp /

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

Re: Unable to install Vbox Guest Additions even after installing headers

Post by TrevorH » 2020/05/19 15:18:07

Why? None of those should be necessary and half of them are not CentOS packages so should definitely not be used.
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

northpoint
Posts: 107
Joined: 2016/05/23 11:57:12

Re: Unable to install Vbox Guest Additions even after installing headers

Post by northpoint » 2020/05/19 16:29:08

TrevorH wrote:
2020/05/19 15:18:07
Why? None of those should be necessary and half of them are not CentOS packages so should definitely not be used.
Hi,
Found them in a page discussing this topic elsewhere. Im not sure either because arch's are different. However, I tested it out and it solved it for me. All I can say is try it and see. As I remember it did install a LOT of other packages.
Ryzen x1800 * Asus x370 Pro * CentOS 7.4 64bit / Icewarp /

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

Re: Unable to install Vbox Guest Additions even after installing headers

Post by TrevorH » 2020/05/19 23:46:30

No, don't try it and see. It's the wrong thing to do, don't do 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

Post Reply