Results 1 to 9 of 9

Thread: Virtualbox guest additions installation

Hybrid View

  1. #1
    Join Date
    Nov 2012

    Virtualbox guest additions installation

    I have ubuntu 12.10 server in virtualbox 4.2.4. My host OS is lubuntu.

    I have installed guest addition but when I ask for sharing folder, virtual box complains that it is not installed.

    The VirtualBox Guest Additions do not appear to be available on this virtual machine, and shared folders cannot be used without them. To use shared folders inside the virtual machine, please install the Guest Additions if they are not installed, or re-install them if they are not working correctly, by selecting Install Guest Additions from the Devices menu. If they are installed but the machine is not yet fully started then shared folders will be available once it is.

    I went through the installation already which seemed successful.

    $ sudo apt-get install virtualbox-guest-additions
    [sudo] password for vee:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    virtualbox-guest-additions is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

    For installation, I mainly used instructions in following two links :

    Reason I am installing from command line is that I have error when I try virtualbox guest additions from the VM menu :

    Unable to mount the CD/DVD image /usr/share/virtualbox/VBoxGuestAdditions.iso on the machine Ubuntu Server. Would you like to force mounting of this medium?
    Could not mount the media/drive '/usr/share/virtualbox/VBoxGuestAdditions.iso' (VERR_PDM_MEDIA_LOCKED).

    My main reason for guest additions was to be able to share clipboard and to share some downloaded packages as wget was not able to fetch apache solr files..

    But I am wondering if guest additions itself is an overhead for server in virtualbox which I would have liked to keep lean. If I only do remote management through ssh, does guest addition add much value at all compared to overhead (additional packages installed)...??

  2. #2
    Join Date
    Apr 2006
    Adelaide, Australia
    Ubuntu 16.04 Xenial Xerus

    Re: Virtualbox guest additions installation

    It sounds like you are running a command line only server as the VM. Is that correct? If so, I am wondering if that is the problem with guest additions. It may be wanting a GUI to do what it needs to do.

    I have no experience with running a command line server in a VM but my understanding of guest additions is that it is mainly for the GUI performance of the VM
    "Strive to be the person your dog thinks you are"

  3. #3
    Join Date
    Oct 2012

    Re: Virtualbox guest additions installation

    Guest Additions are used for two main purposes I guess
    1. client's graphic appearance adjustment
    2. shared folder access / clip board

    Now although you are not using the GUI on your client yet you will need it for your shared folders requirement.

    As you are saying that when you tried to install, you got the message that it is already installed, then the most probable thing is that you just need to add your user on the client OS to be a member of "vboxsf" group (this is what i recall. it might be slightly different but will most likely contain "vbox" a starting 4 characters). This group will already be present on your client OS after the installation of guest additions.

  4. #4
    Join Date
    Nov 2012

    Re: Virtualbox guest additions installation

    There is no vboxfs or similar group on my ubuntu server guest. May be some part of setup has not happened ??

    $ cat /etc/group | grep vbox
    vboxusers: x:116:

    I am using server without GUI. Plan to use ssh to configure remotely.

  5. #5
    Join Date
    Aug 2011
    Des Moines, Iowa, USA

    Re: Virtualbox guest additions installation

    Try this: open a run dialog (or a terminal) and type "gksu nautilus" without the quotes (or the name of whatever file manager you have). Enter your password and find the iso file in the directory mentioned, right-click and select properties. Go to "permissions" and make sure your user is allowed read/write/execute access (this shouldn't be necessary, but it might help).
    Last edited by mansonfan78; November 26th, 2012 at 06:58 AM.

  6. #6
    Join Date
    Jan 2010
    Ubuntu 15.10 Wily Werewolf

    Re: Virtualbox guest additions installation

    You have to download the guest additions to the host.
    Then just double click the package.

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts