
You will be asked to enter your password, do it, and hit ENTER, after that, install the requiered software to compile the needed software. Then you need to mount the CD into Ubuntu, to do that run this command: sudo mount /dev/cdrom /mnt

The first thing you need to do, is to insert the CD with the Guest Additions, it is a virtual CD, and all you have to do is to the VirtualBox menu Devices -> Insert Guest Additions CD Image If you have VirtualBox installed, and you have a Linux Guest OS, Ubuntu for this example, you can install VirtualBox Guest additions really easy, that will help you in may ways, but maybe the most important one is that you will be able to run your Guest OS, Ubuntu in this case in full screen having it using your complete screen space. How can I install VirtualBox Guest Additions on LinuxĪ. If you installed the guest additions ISO package from inside Ubuntu: sudo mount /usr/share/virtualbox/VBoxGuestAdditions.How to install VirtualBox Guest Additions on Linux If you inserted the ISO image as a virtual CD: sudo mount /dev/cdrom /mnt I am going to assume you want to use mountpoint /mnt for that, but you can create a different mountpoint if you wish. Once you have made the ISO available by one of the above methods, you must mount it somewhere in the filesystem. Sudo apt-get install virtualbox-guest-additions-iso

On Ubuntu Server guest OSes, it does not even mount the virtual CD within the guest system.Īlternatively, you can download the ISO straight into the guest system from the repository, using sudo apt-get update

Note that does not actually install the guest addition components, it just makes the ISO available as a virtual CD. If you already downloaded a VBoxGuestAdditions.iso file to your host filesystem, you should be able to install the image from the VM's Devices menu using Insert Guest Additions CD Image.
