Error installing Guest Additions -

Discussions about using Linux guests in VirtualBox.
Post Reply
leeand00
Posts: 47
Joined: 2. Dec 2008, 03:53

Error installing Guest Additions -

Post by leeand00 »

Hello all,

On my Windows 7 64-bit host, after installing VirtualBox Guest Additions on my Ubuntu 10.04 guest, I get the following errors:

Code: Select all

Verifying archive integrity... All good.
Uncompressing VirtualBox 4.0.10 Guest Additions for Linux..........
VirtualBox Guest Additions installer
Removing installed version 4.0.8 of VirtualBox Guest Additions...
tar: Record size = 8 blocks
Removing existing VirtualBox DKMS kernel modulesdkms.conf: Error! No 'DEST_MODULE_LOCATION' directive specified.
dkms.conf: Error! No 'PACKAGE_NAME' directive specified.
dkms.conf: Error! No 'PACKAGE_VERSION' directive specified.
dkms.conf: Error! No 'DEST_MODULE_LOCATION' directive specified.
dkms.conf: Error! No 'PACKAGE_NAME' directive specified.
dkms.conf: Error! No 'PACKAGE_VERSION' directive specified.

Error! Bad conf file.
File: /var/lib/dkms/vboxguest/3.1.8/source/dkms.conf does not represent
a valid dkms.conf file.
dkms.conf: Error! No 'DEST_MODULE_LOCATION' directive specified.
dkms.conf: Error! No 'PACKAGE_NAME' directive specified.
dkms.conf: Error! No 'PACKAGE_VERSION' directive specified.
dkms.conf: Error! No 'DEST_MODULE_LOCATION' directive specified.
dkms.conf: Error! No 'PACKAGE_NAME' directive specified.
dkms.conf: Error! No 'PACKAGE_VERSION' directive specified.

Error! Bad conf file.
File: /var/lib/dkms/vboxvideo/3.1.8/source/dkms.conf does not represent
a valid dkms.conf file.
 ...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

Installing the Window System drivers
Installing X.Org Server 1.7 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.

Code: Select all

leeand00@U101: /media/cdrom$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.2 LTS
Release: 10.04
Codename: lucid
I've noticed that I don't have any network connectivity on the guest, and I think it might have something to do with this.

I saw another thread in which someone stated that they had the same problem installing Guest Additions on their Linux host, but I haven't seen one that had a Windows 7 64-bit host.

Thank you,
Andrew J. Leer
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: Error installing Guest Additions -

Post by Sasquatch »

Guest Additions go on the Guest, not the Host. Since you have a Linux Guest and the problem is there, I'm moving it to Linux Guests.

What your problem is, is that you have a residual version in your DKMS tree. Remove it and it will fix your problem. Check the dkms help output or man page on how to remove items from its tree.
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.
leeand00
Posts: 47
Joined: 2. Dec 2008, 03:53

Re: Error installing Guest Additions -

Post by leeand00 »

Okay thanks Sasquatch,

I thought they were talking about the DKMS tree being on the host machine which didn't sound right to me, but it was on the guest.
Post Reply