VM won't start after Hardy Update

Discussions related to using VirtualBox on Linux hosts.
gspawn
Posts: 15
Joined: 26. Oct 2007, 12:09

VM won't start after Hardy Update

Post by gspawn »

I seem to run into this problem every time I update Ubuntu, but here's the deal. When I updated form Gutsy to Hardy, virtualbox started giving me the usual error, but then I installed the version 1.6 of virtualbox and everything worked fine. Later on, I decided to change from the vanilla Hardy install to Ubuntu Studio 8.04, and once again, virtualbox is broken and isn't working. I've tried removing and reinstalling 1.6, but when it tries to compile the kernel during setup, it still fails. Here's the error i'm getting:

Code: Select all

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).


Result Code: 
0x80004005
Component: 
Console
Interface: 
IConsole {d5a1cbda-f5d7-4824-9afe-d640c94c7dcf}
So, of course I try running the /etc/init.d/vboxdrc setup as root, and this is what it says:

Code: Select all

 * Stopping VirtualBox kernel module                                                                                          *  done.
 * Recompiling VirtualBox kernel module
 * Look at /var/log/vbox-install.log to find out what went wrong
Here are the contents of the log file:

Code: Select all

/etc/init.d/vboxdrv: 311: /opt/VirtualBox-1.4.0/src/build_in_tmp: not found
I have already tried the solution listed for the person who was having problems with virtualbox breaking every time he rebooted, and that did nothing. Any ideas how I can get this fixed?[/code]
karu
Posts: 6
Joined: 3. Aug 2007, 16:38

Post by karu »

Hello,
same to me, kernel update on Ubunto 8.04 with VB 1.6:
/etc/init.d/vboxdrv: 311: /opt/VirtualBox-1.4.0/src/build_in_tmp: not found

Is there any solution except to totaly reinstall virtualbox?
gspawn
Posts: 15
Joined: 26. Oct 2007, 12:09

Post by gspawn »

I did finally get it working. Here's what I did.

First off, update your linux headers:

Code: Select all

sudo apt-get install linux-headers-$(uname -r)
Then, completely remove any version of virtualbox you have installed, and make sure you download the latest binary from Sun. I couldn't get the version o the ubuntu repository to work. Double click on the .deb file and it should work.
theTAZ57
Posts: 3
Joined: 4. Jun 2008, 20:18

Post by theTAZ57 »

Hi there,
since the new kernel update ( 2.6.24-18 ), VB doesn't work on my kubuntu 8.04!!!

I try all answers above.

have any idea?

thanks all
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 »

theTAZ57 wrote:Hi there,
since the new kernel update ( 2.6.24-18 ), VB doesn't work on my kubuntu 8.04!!!

I try all answers above.

have any idea?

thanks all
What version do you use? The OSE version or the PUEL one? For the OSE, wait until the devs have the Kernel Modules ready for VB. If you have the PUEL version, the kernel module should be installed automatically now. If it doesn't, run 'sudo /etc/init.d/vboxdrv setup'.
If it all fails, try to reinstall VB. Your settings and VMs will be kept.
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.
karu
Posts: 6
Joined: 3. Aug 2007, 16:38

Post by karu »

That is exactly what I did.
But I don't want to unstall and install virtualbox completly every time I get a kernal update. There is somthing wrong with virtualbox. :(
theTAZ57
Posts: 3
Joined: 4. Jun 2008, 20:18

Post by theTAZ57 »

@Sasquatch

Hi
I do all you said, but nothing works

I got the PUEL version

regards
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 »

This is strange. It works for me, so there might be something wrong on your system. Did you install everything needed for your kernel? So the image and headers? I have no idea why it wouldn't work.
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.
nikopol
Posts: 4
Joined: 5. Jun 2008, 11:52

Post by nikopol »

Same problem here - I actually hadn't much on that image so I wiped and tried to reinstall XP. This timeI had a complete lockup when formatting with Ubuntu becoming unresponsive.

It does seem to have coincided with the kernel update but even running it on the previously fine kernel (and obviously recompiling the module) has the same lockup problem. It seems the VB doesn't actually take up cpu cycles but goes into some disk access frenzy which it does not seem able to come out of. I've tried formatting to FAT and NTFS (fast and non-fast formats) and it still locks the system.

I'm using the PUEL version, on Ubuntu Heron (with the 18 kernel but tried with the 17)
theTAZ57
Posts: 3
Joined: 4. Jun 2008, 20:18

Post by theTAZ57 »

hi all
I downloaded le latest revision of VB, and it works :D
funnyname
Posts: 7
Joined: 28. May 2008, 22:23

Post by funnyname »

Not working for me either. I get the same error as the first post in this thread.

I uninstalled the previous version - and installed the latest from Sun. virtualbox_1.6.2-31466_Ubuntu_hardy_i386.deb and it will not work.\

Any more suggestions? Would like to get this to work. This will show me not to upgrade kernels everytime Ubuntu tells me to.
funnyname
Posts: 7
Joined: 28. May 2008, 22:23

Post by funnyname »

BUMP -

- Still not working. Are there any suggestions. I would like to get it working after the update to kernel 2.6.24.18 generic.
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 »

It works for me just fine as I said earlier in this topic. I will post my list of installed programs that might be needed for VB with version numbers, see if there is anything different with your list. Note that I use Xfce and you probably use Gnome, keep that in mind too.
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 »

Thanks for the help. Just for info - I am using Kubuntu 8.10 and loaded VirtualBox with the downloadable version, not the one in the repository.
Mon1018
Posts: 9
Joined: 8. Mar 2008, 15:58
Contact:

Post by Mon1018 »

Thank you for the info. you seem to be a nice guy. 8)
Post Reply