Results 1 to 4 of 4

Thread: Can't install Guest Additions on VB

  1. #1
    Join Date
    Dec 2012
    Beans
    5

    Can't install Guest Additions on VB

    I'm fairly new to Linux and VirtualBox, so bear with me.

    I installed Zorin OS and then Guest Additions and it worked fine at first, but after I had updated all my packages it stopped working - I could no longer run it in Seamless mode. If I tried to re-install GA, it said "Unable to mount the CD/DVD image [name of image] Would you like to force mounting of this medium?" Then underneath: "could not mount the media/drive [name] (VERR_PDM_MEDIA_LOCKED)"

    The same thing happened with several Ubuntu-based distros I tried, most recently Lubuntu. It works fine prior to updating, but after that I just get error messages.

    From the Terminal, I ran sudo sh /media/cdrom/VBoxLinuxAdditions.run, but it says 'Can't open'

    Under 'Disks' it says it is mounted. Unmounting and ejecting then retrying doesn't help.

    What am I doing wrong?

    I'm running the standard "lubuntu-12.10-desktop-i386.iso" on OSX Mountain Lion, allocating 1gb RAM and 8gb disk space.
    Last edited by Ziza; December 1st, 2012 at 05:19 PM.

  2. #2
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: Can't install Guest Additions on VB

    Instead of installing the guest additions through VirtualBox try installing the package from the Ubuntu repositories on your guest VM.
    Code:
    sudo apt-get install virtualbox-ose-guest-utils  virtualbox-ose-guest-x11 virtualbox-ose-guest-dkms
    This way the guest addition modules will automatically recompile every time you update the kernel (which is what is breaking them).
    Cheesemill

  3. #3
    Join Date
    Dec 2012
    Beans
    5

    Re: Can't install Guest Additions on VB

    That worked perfectly, thanks. (You need to reboot after installing, of course.)

  4. #4
    Join Date
    Dec 2012
    Beans
    5

    Re: Can't install Guest Additions on VB

    ...so how do I actually view the folders in the guest? Adding them to VB Shared Folders is easy, but they don't show anywhere on the guest machine.

    I tried about 10 different ways that I found online, most involving typing a lot in Terminal, but none has worked. The closest I got was creating some extensionless files in /media/ with the names of the folders in Host that I want to share.

Tags for this Thread

Bookmarks

Posting Permissions

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