

After startup, check the version of the new operating kernel again. # yum update kernelįor the new kernel to become the current one, simply reboot the virtual machine.Īt the startup stage you’ll see the new kernel, and the previous one but the new one will be used by default. Now we are going to build the new kernel, using the update command. # yum install gcc make perl # yum install elfutils-libelf-devel.x86_64 In addition, there are several packages required for the compiler to build the new kernel. # yum install kernel-headers.x86_64 # yum install kernel-devel.x86_64

Login to the root account, and install the following packages which are required to build the new kernel. We will simply build the new guest system kernel to the latest version available in the Oracle Yum Repository. In addition, the official VirtualBox documentation points out the following about the system kernel.Īlso ensure that all system updates have been installed and that your system is running the most up-to-date kernel for the distribution.Ĭonsequently we are going to build a new guest system kernel, then use it for the new guest kernel.Īlso the Guest Addition modules are going to be part of the guest system kernel, and the versions need to match. The following instructions are specifically for an OEL8 guest operating system, but other Linux distributions will be similar.Īs a point of reference you can identify the current operating kernel for the OEL8 guest operating system. The differences between Linux distributions means the installation instructions can vary.

However, due to the significant differences between Linux distributions, installation may be slightly more complex when compared to Windows. Moreover, the official documentation does suggest there is some complexity required to install Guest Additions into a Linux guest operating system. This works as described in chapter 2.3.2, The Oracle VM VirtualBox Driver Modules, page 33, except that this step must be performed in your Linux guest instead of on a Linux host system.

Before installing the Guest Additions, you prepare your guest system for building external kernel modules. Installation generally involves the following steps:ġ. However there are some prerequisites before starting the install. The official documentation of VirtualBox does provide some basic steps required to install Guest Additions into an Linux guest operating system.
