CentOS minimal Guest Additions errors.

Discussions related to using VirtualBox on Linux hosts.
Post Reply
lucarenaud
Posts: 1
Joined: 3. Jun 2017, 18:45

CentOS minimal Guest Additions errors.

Post 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
Last edited by socratis on 3. Jun 2017, 22:32, edited 1 time in total.
Reason: Enclosed the information in [code] tag for better readability
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: CentOS minimal Guest Additions errors.

Post 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".
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Mic12345
Posts: 1
Joined: 20. Jun 2017, 16:34

Re: CentOS minimal Guest Additions errors.

Post 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
WEDC
Posts: 3
Joined: 26. Jun 2017, 15:40

Re: CentOS minimal Guest Additions errors.

Post 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
Post Reply