Professional Documents
Culture Documents
com/post/how-to-install-virtualbox-guest-additions-in-ubuntu/
From the virtual machine menu, click Devices -> “Insert Guest Additions CD Image” as
shown on the image below:
Source:https://linuxize.com/post/how-to-install-virtualbox-guest-additions-in-ubuntu/
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). Once done, reboot the virtual machine.
Open the Ubuntu guest terminal, create a new directory as the mount point for the CD drive
and mount the ISO file:
sudo mkdir -p /mnt/cdromsudo mount /dev/cdrom /mnt/cdrom
Navigate to the directory and run the VBoxLinuxAdditions.run script to install the Guest
Additions. The --nox11 option will tell the installer not to spawn an xterm window:
cd /mnt/cdromsudo sh ./VBoxLinuxAdditions.run --nox11
Once the virtual machine is booted, log into it and verify that the installation was successful and the
kernel module is loaded using the lsmod command:
lsmod | grep vboxguest
Conclusion
Installing VirtualBox Guest Additions on Ubuntu 18.04 virtual machine is an easy task. The Guest
Additions will optimize the guest operating system for better performance and enhance usability.
To find more information about the Guest Additions, visit the official VirtualBox Guest Additions
documentation page.