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 Install VirtualBox Guest Additions Using the Command-Line.Install VirtualBox Guest Additions Using the GUI.