



Reboot the Ubuntu guest for changes to take effect: sudo shutdown -r now Uncompressing VirtualBox 5.2.32 Guest Additions for Linux. The output will look like below: Verifying archive integrity. The -nox11 option will tell the installer not to spawn an xterm window: cd /mnt/cdrom sudo sh. Open the Ubuntu guest terminal, create a new directoryĪs the mount point for the CD drive and mount the ISO file: sudo mkdir -p /mnt/cdrom sudo mount /dev/cdrom /mnt/cdromĪnd run the n script to install the Guest Additions. If you get an error saying the guest system has no CD-ROM, stop the virtual machine, open the virtual machine settings and from the “Storage” tab, add a new CD-ROM device to the machine by clicking on the plus sign (Adds optical device). These steps will work on both Ubuntu Desktop and Server guest installations.Īnd install the packages required for building external kernel modules: sudo apt update sudo apt install build-essential dkms linux-headers-$(uname -r)įrom the virtual machine menu, click Devices -> “Insert Guest Additions CD Image” as shown on the image below: Once mounted, the guest additions installer can be used to install the guest additions on the guest system.īelow are the step-by-step instructions to install VirtualBox guest additions on Ubuntu guests. On the guest system using the VirtualBox GUI manager. This file is located on the host machine and can be mounted VirtualBox ships with an image ISO file called “VBoxGuestAdditions.iso” containing Guest Additions installers for all supported guest operating systems. Installing Guest Additions on Ubuntu Guest # The same instructions apply for Ubuntu 16.04 and any Ubuntu-based distribution, including Linux Mint and Elementary OS. In this tutorial, we will show you how to install VirtualBox Guest Additions on Ubuntu 18.04 guests. The Guest Additions offer several useful functionalities for guest machines such as shared folders, shared clipboard, mouse pointer integration, better video support, and more.

VirtualBox provides a set of drivers and applications (VirtualBox Guest Additions) which can be installed in the guest operating system. Is an open-source, cross-platform virtualization software that allows you to run multiple guest operating systems (virtual machines) simultaneously.
