Unable to unstall virtualbox in ubuntu 9.04 64bit

Discussions related to using VirtualBox on Linux hosts.
Post Reply
siuchi
Posts: 4
Joined: 6. Jul 2009, 16:10
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: centos

Unable to unstall virtualbox in ubuntu 9.04 64bit

Post by siuchi »

I have no problem with using ubuntu and virtualbox before.
I rebooted my machine. And i cant use the it again. Below is the error message.
PLease help me, i had 8 vms was running. But they all can't use now. Many of Thanks


Error! Your kernel source for kernel 2.6.28-15-server cannot be found at
/lib/modules/2.6.28-15-server/build or /lib/modules/2.6.28-15-server/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without
Makefile:147: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
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: Unable to unstall virtualbox in ubuntu 9.04 64bit

Post by Sasquatch »

You don't have the linux-headers-server package installed. Without it, you can't create kernel modules. See my Howto: Install Linux Guest Additions + Xorg config section Preparations for what you need to be able to build kernel modules. You can skip the rest of the howto, as it is about the GA, and you're still on the Host.
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