Installing Guest Additions on Ubuntu hangs

Discussions about using Linux guests in VirtualBox.
Post Reply
mediocre
Posts: 1
Joined: 24. Mar 2011, 18:44
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu

Installing Guest Additions on Ubuntu hangs

Post by mediocre »

Background info on my 10.04 VM:

Code: Select all

$ dpkg --get-selections | grep dkms
dkms						install

$ dpkg --get-selections | grep essential
build-essential					install

$dpkg --get-selections | grep headers
linux-headers-2.6.32-26				install
linux-headers-2.6.32-26-generic-pae		install
linux-headers-2.6.32-27				install
linux-headers-2.6.32-27-generic-pae		install
linux-headers-2.6.32-28				install
linux-headers-2.6.32-28-generic-pae		install
linux-headers-2.6.32-29				install
linux-headers-2.6.32-29-generic-pae		install
linux-headers-2.6.32-30				install
linux-headers-2.6.32-30-generic-pae		install
linux-headers-generic-pae			install

$ uname -a
Linux john-vm 2.6.32-30-generic-pae #59-Ubuntu SMP Tue Mar 1 23:01:33 UTC 2011 i686 GNU/Linux
When I try to install Guest Additions on my VM, the command hangs on the line "You should restart your guest to make sure the new modules are actually used" without ever returning me to my prompt.
$ sudo ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.0.4 Guest Additions for Linux.........
VirtualBox Guest Additions installer
tar: Record size = 8 blocks
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.
You should restart your guest to make sure the new modules are actually used
The VBoxGuestAdditions.log shows:

Code: Select all

Starting the VirtualBox Guest Additions ...done.
Start VirtualBox Guest Addition Service
Which looks to indicate where it might be hanging.

Forcibly rebooting the machine at this point does not result in have GA installed. Nor does repeated attempts at installing the guests additions. Any ideas?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Installing Guest Additions on Ubuntu hangs

Post by Sasquatch »

Check the output of 'dkms status'. If you get some output with modules, then you also see the state of the modules. Depending on the state and output, you have to manually add, build or install the modules. If the state is fine, i.e. installed, then you can try to manually load the modules by issuing 'sudo modprobe <modulename>', where <modulename> is vboxhost, vboxsf and vboxadd iirc.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply