Am using Feisty 7.04, and previously I was using a Windows XP guest on Virtualbox with no problems. Today, the update notifier informed me that there were updates to the kernel, so I went ahead and updated. I was previously using the low-latency 2.6.20.15 kernel, and when I upgraded and rebooted, I used the low-latency 2.6.20.16 kernel. I logged into Ubuntu and everything was fine, but when I started my Windows XP VM, I got an error saying:
VirtualBox kernel driver not installed. The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created for some reason. Re-setup the kernel module by executing '/etc/init.d/vboxdrv setup' as root.
VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED).
I tried to run /etc/init.d/vboxdrv setup, but when I did, I got this error in vbox-install.log:
Makefile:73: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.. Stop.
Any idea what I should do? I don't know where to specify the kernel directory, and even if I did I wouldn't know what directory to put. Thanks.
Virtualbox VM won't start after kernel upgrade
I did reinstall....
I uninstalled VirtualBox and then reinstalled, but duribng the installation process I got the same error about the kernel directory not being set Would you know where / how I can set this?
Solved the issue....
Someone solved the issue for me in the Ubuntu Forums, but just in case anyone has the same problem, here is the solution:
You must install the kernel headers matching the new kernel :
Code:
sudo apt-get install linux-headers-$(uname -r)
Then just run
Code:
sudo /etc/init.d/vboxdrv setup
and you should be fine. No need to reinstall anything.
You must install the kernel headers matching the new kernel :
Code:
sudo apt-get install linux-headers-$(uname -r)
Then just run
Code:
sudo /etc/init.d/vboxdrv setup
and you should be fine. No need to reinstall anything.
A Little More Help Needed
Hi, all.
I'm very new to Linux (like today ), and I'm trying to setup virtualbox under Ubuntu 8.04. The installation went fine, and the following is the text from the Konsole window where I tried to perform the steps outlined in this thread.
Virtualbox, however, still doesn't work. So, obviously I'm missing something. Could anyone tell me what I should be doing? (Preferably in small words and explicit steps ).
Thanks so much!
I'm very new to Linux (like today ), and I'm trying to setup virtualbox under Ubuntu 8.04. The installation went fine, and the following is the text from the Konsole window where I tried to perform the steps outlined in this thread.
Code: Select all
dstark@dstark-laptop:~$ sudo apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-2.6.24-16-generic is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
dstark@dstark-laptop:~$ sudo /etc/init.d/vboxdrv setup
* Usage: /etc/init.d/vboxdrv {start|stop|restart|status}
dstark@dstark-laptop:~$
Thanks so much!
-
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: PUEL
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: A Little More Help Needed
You don't say what the problem exactly is, but I suggest to uninstall Virtualbox if you installed it from the packages on the site (so not the OSE version from the repo) and pick the Hardy version. You can find the hardy package on this page: http://www.virtualbox.org/downloaddstark wrote:Hi, all.
I'm very new to Linux (like today ), and I'm trying to setup virtualbox under Ubuntu 8.04. The installation went fine, and the following is the text from the Konsole window where I tried to perform the steps outlined in this thread.Virtualbox, however, still doesn't work. So, obviously I'm missing something. Could anyone tell me what I should be doing? (Preferably in small words and explicit steps ).Code: Select all
dstark@dstark-laptop:~$ sudo apt-get install linux-headers-$(uname -r) Reading package lists... Done Building dependency tree Reading state information... Done linux-headers-2.6.24-16-generic is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. dstark@dstark-laptop:~$ sudo /etc/init.d/vboxdrv setup * Usage: /etc/init.d/vboxdrv {start|stop|restart|status} dstark@dstark-laptop:~$
Thanks so much!
If you installed VB from the repositories, then make sure that you installed all the needed packages. Use Synaptic Packet Manager and install the correct packages needed for your kernel version. This is most likely the Generic build.
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.
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.