I'm using Manjaro Linux, and I have CentOS 7 installed in VirtualBox. When I try to install VirtualBox Guest Additions, I get the following error.

CentOS 7 Guest Additions Error

The the content of /var/log/VBoxGuestAdditions.log follows.

The content of /var/log/vboxadd-install.log follows.

enter image description here

Any help, please?

  • 3
    Please, don't post images of text. – Kusalananda Oct 19 '17 at 19:51
  • i can't copy the text from the virtualbox. – mohamed maher Oct 19 '17 at 19:57
  • Insert Guest Addition CD Image. Open a terminal> CD into: /media/youruser/ following the ISO directory. Type sudo ./VBoxLinuxAdditions.run – nicoX Oct 19 '17 at 20:32

Besides installing the host module in manjaro, and adding the manjaro user which is running the vbox to the groups both explained here

It seems that you need to install the development tools in the VM's CentOS. According to your screenshot - you don't have gcc installed. To do that run

sudo yum groupinstall 'Development Tools'

Now you should be able to compile the guest addons in CentOS.

  • I have tried This solution but it doesn't work. – mohamed maher Oct 23 '17 at 8:59

Thank's guys, my problem was solved by running sudo yum update then

sudo yum install -y gcc kernel-devel

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.