Guest Additions Install Fails without any errors

Discussions about using Linux guests in VirtualBox.
Post Reply
37vbuser19X
Posts: 2
Joined: 21. Jan 2019, 17:38

Guest Additions Install Fails without any errors

Post by 37vbuser19X »

Using CentOS7 x86_64 with kernel 3.10.0-1127.19.1el7.x86_64 with VirtualBox 6.1 with Windows 10 laptop as the guest.

I tried to install VirtualBox, there are no errors output to the screen or to the logs under /var/log, however upon rebooting Guest Additions does not work.

These are the steps that I followed:

Code: Select all

install latest kernel

mount VB Guest Additions

install the following package: yum install -y epel-release or go to home page to get the correct URL:

https://www.fedoraproject.org/wiki/EPEL

install the following packages either by repo or hand: gcc kernel-devel kernel-headers dkms make bzip2 perl

add running kernel env variable: KERN_DIR=/usr/src/kernels/`uname -r`

export KERN_DIR

- mount /dev/cdrom /media/cdrom

install Guest Additions and run the following: ./VboxLinuxAdditions.run

Reboot
If I check the loaded modules, it shows the following:

Code: Select all

vboxsf      81052     0
vboxguest   349038    0  vboxsf
Anything I find online that talks about installing Guest Additions, never talks about how to deal with it when it doesn't install correctly.

thanks
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Guest Additions Install Fails without any errors

Post by scottgus1 »

Take a look here: viewtopic.php?f=3&t=99911 try that OP's suggestion.
Post Reply