Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Virtualbox Guest Additions fail

  1. #1
    Join Date
    Feb 2012
    Beans
    Hidden!

    Virtualbox Guest Additions fail

    I have had no success with Guest Additions in Ubuntu 12.04. Last night I decided to go through Software Center and just follow the prompts. When I try to run the script VBoxLinuxAdditions.run the terminal returns:
    Code:
    Verifying archive integrity... All good.
    Uncompressing VirtualBox 4.1.12 Guest Additions for Linux.........
    VirtualBox Guest Additions installer
    Removing installed version 4.2.16 of VirtualBox Guest Additions...
    Removing existing VirtualBox DKMS kernel modules ...done.
    Removing existing VirtualBox non-DKMS kernel modules ...done.
    Building the VirtualBox Guest Additions kernel modules ...done.
    Doing non-kernel setup of the Guest Additions ...done.
    Starting the VirtualBox Guest Additions ...fail!
    (modprobe vboxguest failed)
    Installing the Window System drivers
    Installing X.Org Server 1.11 modules ...done.
    Setting up the Window System to use the Guest Additions ...done.
    You may need to restart the hal service and the Window System (or just restart
    the guest system) to enable the Guest Additions.
    
    Installing graphics libraries and desktop services components ...done.
    
    
    I understand from searching that it suggests a problem with the linux kernel headers not matching between host and guest. I have tried uninstalling and installing linux-headers as well as dkms but still come up with the above failure. Any ideas would be appreciated.

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Virtualbox Guest Additions fail

    Isn't there an install log file? I seem to remember that. It has the errors.

    There is another alternative these days - run KVM and use Spice for the remote desktop if you need a desktop at all. No guest additions needed and you'll be away from Oracle.

  3. #3
    Join Date
    Feb 2012
    Beans
    Hidden!

    Re: Virtualbox Guest Additions fail

    Quote Originally Posted by TheFu View Post
    Isn't there an install log file? I seem to remember that. It has the errors.

    There is another alternative these days - run KVM and use Spice for the remote desktop if you need a desktop at all. No guest additions needed and you'll be away from Oracle.
    Thanks for the response. The script I ran was packaged with a lot of other executables for various platforms (Windows & Mac). The only other files contained in that iso that are not platform-specific are runasroot.sh and autorun.sh. VBox was recommended by a developer that I've had good experience with who I emailed as well. If all else fails however it's nice to have a fall-back so thanks for the suggestion.

  4. #4
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    4,987

    Re: Virtualbox Guest Additions fail

    I have better luck with downloading the latest version from the VirtualBox site.

  5. #5
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Virtualbox Guest Additions fail

    Quote Originally Posted by unibroker View Post
    Thanks for the response. The script I ran was packaged with a lot of other executables for various platforms (Windows & Mac). The only other files contained in that iso that are not platform-specific are runasroot.sh and autorun.sh. VBox was recommended by a developer that I've had good experience with who I emailed as well. If all else fails however it's nice to have a fall-back so thanks for the suggestion.
    That script that you ran created a log file of the installation AND of the failures somewhere in /var/log/.... When I've installed the guest additions, if there were any issues, the location of the log file was displayed in the terminal so I would be able to see what the issue was. Running the script over will cause the log file location to be displayed again ... assuming it fails. The errors in that file will tell us the issue, so it can be resolved.

  6. #6
    Join Date
    Feb 2012
    Beans
    Hidden!

    Re: Virtualbox Guest Additions fail

    Quote Originally Posted by ibjsb4 View Post
    I have better luck with downloading the latest version from the VirtualBox site.
    I originally did that but tried the Software Center because I received that error in going direct.

  7. #7
    Join Date
    Feb 2012
    Beans
    Hidden!

    Re: Virtualbox Guest Additions fail

    Quote Originally Posted by TheFu View Post
    That script that you ran created a log file of the installation AND of the failures somewhere in /var/log/.... When I've installed the guest additions, if there were any issues, the location of the log file was displayed in the terminal so I would be able to see what the issue was. Running the script over will cause the log file location to be displayed again ... assuming it fails. The errors in that file will tell us the issue, so it can be resolved.
    I ran that as well but didn't include it in the OP because it didn't tell anything additional.

    Code:
    cat /var/log/VBoxGuestAdditions.log
    
    Starting the VirtualBox Guest Additions ...fail!
    (modprobe vboxguest failed)
    Starting VirtualBox Guest Addition service VirtualBox Additions module not loaded!
    
    

  8. #8
    Join Date
    Sep 2007
    Location
    Oklahoma, USA
    Beans
    2,378
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Virtualbox Guest Additions fail

    What version of VirtualBox are you running? The one in the Ubuntu repositories/Software Center is usually out of date. Your first post indicates that a copy of the Guest Additions for version 4.2 was removed, to be replaced by one for the older version 4.1. It's essential that the version of Guest Additions match the version of VirtualBox itself, and it's usually best to obtain both from the Oracle web site rather than from the Ubuntu repositories, to be sure of getting the current version. Ubuntu freezes the versions of software in the repositories at each version release, and does not update them except when required for security purposes.

    You can check /var/log/vbox-install.log to determine what is going wrong in attempting to create the needed kernel modules.
    --
    Jim Kyle in Oklahoma, USA
    Linux Counter #259718
    Howto mark thread: https://wiki.ubuntu.com/UnansweredPo.../SolvedThreads

  9. #9
    Join Date
    Feb 2012
    Beans
    Hidden!

    Re: Virtualbox Guest Additions fail

    Thanks for clearing that up for me. I was under the impression that the kernel for the host OS had to match the kernel for the guest OS. In any event I have removed all traces of VBox and will start over getting everything from the Oracle website.

  10. #10
    Join Date
    Sep 2007
    Location
    Oklahoma, USA
    Beans
    2,378
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Virtualbox Guest Additions fail

    No, there's no relation between the guest version(s) and the host version. I run Xubuntu 12.04 as a guest on one of my Xubuntu 12.04 systems, and Debian 6 as a guest on another. What's important is that all parts of vbox on the same system be at the same revision level, and all copies of Guest Additions in the guests match the vbox version on the host. I've run older Guest Additions installations (by accident) at times, with no ill effects, but it's not advised.
    --
    Jim Kyle in Oklahoma, USA
    Linux Counter #259718
    Howto mark thread: https://wiki.ubuntu.com/UnansweredPo.../SolvedThreads

Page 1 of 2 12 LastLast

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
  •