VM won't start after Hardy Update

Discussions related to using VirtualBox on Linux hosts.
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Post by frank »

So, funnyname again: Did you install the correct kernel headers like described above? Did you then execute

Code: Select all

/etc/init.d/vboxdrv start
? If this script reports that there was no error, the correct kernel module should be loaded.

In general we suggest to install the dkms package on Ubuntu which will take care of recompiling the vboxdrv kernel module on kernel upgrade.
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

Post by Sasquatch »

Frank Mehnert wrote:So, funnyname again: Did you install the correct kernel headers like described above? Did you then execute

Code: Select all

/etc/init.d/vboxdrv start
? If this script reports that there was no error, the correct kernel module should be loaded.

In general we suggest to install the dkms package on Ubuntu which will take care of recompiling the vboxdrv kernel module on kernel upgrade.
Frank, DMKS does not always work. When I upgraded to the new kernel headers, 2.6.24-19, DKMS did not install the kernel module. I manually ran DKMS to build and install the module and VB still wouldn't start and give the error the module was not installed. Running /etc/init.d/vboxdrv setup did work. Could this be a VB bug, DKMS bug or kernel bug? I don't care much, as I can run the VMs just fine, it's just something to keep in mind that DKMS is not perfect. I had the same kind of issues with my video drivers. ATi uses DKMS and they sometimes fail to install correctly. Running DKMS manually often does the job, but here it didn't.

Also, did you guys checked the Suggestion forum? The ideas there could really help you.
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.
funnyname
Posts: 7
Joined: 28. May 2008, 22:23

Post by funnyname »

Frank Mehnert wrote:So, funnyname again: Did you install the correct kernel headers like described above? Did you then execute

Code: Select all

/etc/init.d/vboxdrv start
? If this script reports that there was no error, the correct kernel module should be loaded.

In general we suggest to install the dkms package on Ubuntu which will take care of recompiling the vboxdrv kernel module on kernel upgrade.
I ran the command you suggested and got an error - no such file or directory and yes it is right - it is not there. I loaded the newest version on the Sun site. When I used the version from the Ubuntu repository - I could not get it to work, since I did not know all the additional packges to load. Somewhere on this forum was the suggestion to load the .deb file from Sun, which worked - until the kernel updated.
Post Reply