




VirtualBox makes it easy to try Linux distros without replacing your current operating system or engaging in a game of reboot leap frog.īut things are about to get even easier. 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.VirtualBox is popular virtualization software 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 Install VirtualBox Guest Additions Using the Command-Line.Install VirtualBox Guest Additions Using the GUI.
