Install Virtualbox Guest Additions on Ubuntu virtual machines

ubuntu guest additions

If you follow these pages you will have already seen more than one mention of VirtualBox, one of the alternatives of virtualization More popular. And an essential question to be able to use it in the most complete way possible is that of install Guest Additions.

It is a complement that allows us a stronger integration between the host operating system and those that we use as guests, so that from the latter we can access the shared folders of the 'host' platform, among several other benefits.

Let's see then, how to install Guest Additions in Ubuntu, this being the virtual machine platform. To begin with, we start the virtual machine and then execute:

sudo apt-get update && sudo apt-get dist-upgrade

Then, we reboot the system, and then we run Virtualbox. Once there, we go to the toolbar: 'Devices → Install Guest Additions'. When doing so, we will be asked if we want to run a tool that will be launched directly from 'VBOXADDITIONS_4.2.6_82870' or something similar (depending on the version we are running). We accept (by clicking on 'Run'.

Afterwards, we are in a position to install Virtualbox extension packs, which add support for USB 2.0 devices, for RDP and PXE among other things. To do this we just have to go to the Virtualbox download page, download and then go to File → Preferences → Extensions, and click on the pack that we have downloaded.

More information - How to install Virtualbox on Debian and Ubuntu (and derivatives)


The content of the article adheres to our principles of editorial ethics. To report an error click here!.

4 comments, leave yours

Leave a Comment

Your email address will not be published.

*

*

  1. Responsible for the data: AB Internet Networks 2008 SL
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   dqwd said

    It should be more explicit ("reboot system").

  2.   Overlord said

    Hello, could you know, if in Elementary OS to install the Guest Additions of virtual box it would use the same method?

    1.    trishtam said

      Well I'm in the middle of a battle of how the hell to put the screen to full resolution of mine, I have elementary Freya and for more sudos and apt-get I put it to the terminal, I can't solve…. I appreciate help,

  3.   " said

    Hello, 1 month ago I switched to Kubuntu due to several errors that I had in OpenSuse 13.1 and before the impossibility of switching to OS42.1 I had to opt for Kubuntu LTS 16.04.
    Fortunately everything works fine, but I CANNOT install the blessed "Guest Additions". I already tried 375418 shapes and there is no case. First I installed everything from MUON and nothing!
    I deleted everything and downloaded the latest version of VBOX other things from the official website and neither !!!
    I have also tried all the options and I always get the same error !!!!

    Could not mount the media / drive '/usr/share/virtualbox/VBoxGuestAdditions.iso' (VERR_PDM_MEDIA_LOCKED).

    Result Code:
    NS_ERROR_FAILURE (0x80004005)
    Component:
    ConsoleWrap
    Interface:
    IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
    Receiver:
    IMachine {f30138d4-e5ea-4b3a-8858-a059de4c93fd}

    I am virtualizing ElementaryOS, but I cannot change the screen resolution !!!! everything is in 640 × 480!