
Then, open the Ubuntu terminal and mount the guest additions CD image by running the following command: sudo mount /dev/cdrom /mnt Execute nĪfter mounting the image, cd into the /mnt directory, and run the n script: cd /mnt/Īfter the installation is complete, reboot your Ubuntu Virtual Machine before the Guest Additions software takes effect. Sudo apt install build-essential dkms linux-headers-$(uname -r) Mount Guest Additions CD Imageįrom the Devices menu of your virtual machine’s window, select Devices | Insert guest additions CD image.Ĭlick on Cancel when asked, Would you like to run it? Lets create an interactive container named test from the ubuntu image using.

Login to your VM and Install the dependency packages before starting with the Guest Additions installation by running the following in a Terminal window: sudo apt update Now we have the latest ubuntu docker image in our host. We are providing you virtual images for latest version of Ubuntu 20.04 LTS Focal Fossa and Ubuntu Server 20.04 Focal for VirtualBox and VMware. How to Install VirtualBox Guest Additions on Ubuntu 20.04 LinuxĪfter installing Ubuntu 20.04 on VirtualBox, we need to install VirtualBox Guest Additions to enable additional features that VirtualBox provides for the Guest Operating system.įollowing are the steps to install VirtualBox Guest Additions on a Ubuntu 20.04 Virtual Machine:
