Page 1 of 1

CentOS minimal Guest Additions errors.

Posted: 3. Jun 2017, 18:55
by lucarenaud
I installed a minimal version of CentOS 6.9 as guest and have been adding absolutely necessary packages only.
I installed gcc,kernel-headers,kernel-devel,make and dependencies with yum.
Below is the final part after executing the VBoxLinux script.Because I installed a minimal system and
been adding from there...it's something certainly needed to build the additions kernel module and I
don't know what it is that should have been installed.

Code: Select all

Copying additional installer modules...
Installing additional modules...
vboxadd.sh: Starting the VirtualBox Guest Additions...
Failed to set up service vboxadd,please check the log
/var/log/VBoxGuestAdditions.log for details
---> VBoxGuestAdditions.log:

Code: Select all

vboxadd.sh: failed: Look at /var/log/vboxadd-install.log
vboxadd.sh: failed: modprobe vboxguest failed
---> vboxadd-install.log:

Code: Select all

Creating user for the Guest Additions
Creating udev rule for the Guest Additions kernel module

Re: CentOS minimal Guest Additions errors.

Posted: 3. Jun 2017, 22:38
by socratis
Do you have a graphical environment (X11) installed? See if this can help: HOWTO: Install Linux Guest Additions + Xorg config.

And you should run "./VBoxLinuxAdditions.run --nox11". See: OpenGL modules fail WITH "--nox11".

Re: CentOS minimal Guest Additions errors.

Posted: 20. Jun 2017, 16:35
by Mic12345
On RHEL 6.9 (but could ocured on other OS) Ocured error during installation:

Copying additional installer modules...
Installing additional modules...
vboxadd.sh: Starting the VirtualBox Guest Additions...
Failed to set up service vboxadd,please check the log
/var/log/VBoxGuestAdditions.log for details

---> vboxadd-install.log:
vboxadd.sh: failed: Look at /var/log/vboxadd-install.log
vboxadd.sh: failed: modprobe vboxguest failed


THE PROBLEM WAS THAT kernel-uek-devel WAS INSTALED FROM REPOSITORY WITH NEWER VERSION.
SO UNINSTALL kernel-uek-devel:
rpm -e kernel-uek-devel
and reinstal it from terminal from original dvd disk:
rpm -ivh kernel-uek-devel-4.1.12-61.1.28.el6uek.x86_64

Re: CentOS minimal Guest Additions errors.

Posted: 26. Jun 2017, 15:42
by WEDC
Hello, do this yum update or upgrade, and install gcc-c++, other thing is install kernel-firmware, and do yum search kernel | grep - i source