

There’s nothing wrong with that of course, it’s just an observation. I believe this change came with Oracle Linux (OL) 8.2 and I seem to remember OL 8.1 used the Red Hat Compatible Kernel (RHCK) by default. The VM was installed using the “minimal-environment” group and booted into UEK 6. Virtualbox 6.1.10 for Linux (my host is running Ubuntu 20.04 LTS).Maybe it’ll save you a few minutes I know it will save me a lot of time )įor this post I used the latest versions at the time of writing:

VirtualBox guest additions is a great way to enhance the performance and improve your experience using VirtualBox, there were two easy ways to install guest addition, follow what you are comfortable with.Since I can never remember how to install Virtualbox Guest Additions I thought I’d write it down.

Now reboot your virtual machine because there were some changes in the kernel. sudo mkdir /mnt/my_cdīe sure to cd into the / mnt/my_cd directory, and execute guest additions installation script using as root.

Open a terminal, create a new directory to be a mount point for the CD image we just attached, and mount /dev/cdrom in that directory. Update your apt package list and upgrade all of your software (run these commands in a terminal): sudo apt updateĪttach Guest additions CD image from the Devices menu. Install VirtualBox Guest Additions Using the Command-Line Now reboot your machine again for changes to take effect. Wait for installation to complete and hit enter. You just need to open devices menu within VirtualBox, and then select insert guest addition CD image.Īfter that Ubuntu will automatically mount the CD, and it will ask you whether you want to execute an automatic software, select run. If you installed VirtualBox the standard way, then you have an empty virtual optical drive. Sudo apt install build-essential dkms linux-headers-$(uname -r) Then install some packages that are necessary for installing guest additions. You need to update your apt package list and upgrade all the software installed on your machine: sudo apt update Open a terminal either graphically or by pressing t while holding both Ctrl and Alt keys. Install VirtualBox Guest Additions Using the GUI
