New Ubuntu kernel breaks virtual machine
New Ubuntu kernel breaks virtual machine
I just installed the latest updates from Ubuntu which includes new kernel drivers. Now my virtual machine won't start with the error "VirtualBox - Error in suplibOsInit" "Kernel driver not installed (rc=-1908). In the past, when new kernel drivers were installed, I could execute "sudo /etc/init.d/vboxdrv setup" and it would fix the problem. Now, /etc/init.d/vboxdrv no longer exists and "sudo /sbin/vboxconfig" does nothing.
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: New Ubuntu kernel breaks virtual machine
Install the guest additions again. If that does not help then remove the existing guest additions and then install them again.
Re: New Ubuntu kernel breaks virtual machine
How can I uninstall Guest Additions if my VM won't start? I should have mentioned I am running Ubuntu 15.10 and the virtual machine is Windows 7.
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: New Ubuntu kernel breaks virtual machine
Sorry I meant to uninstall VirtualBox then make sure you install the official build and use gdebi instead of the software center.
Re: New Ubuntu kernel breaks virtual machine
Okay, if that's what I have to do. I was hoping to avoid uninstall and reinstall, because I suspect it will be an issue every time there is a new kernel. Thank you for the reply.
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: New Ubuntu kernel breaks virtual machine
That's the reason for the uninstall and then reinstall. Since the change from init.d to systemd it seems the code gets messed up until you remove and install again
Re: New Ubuntu kernel breaks virtual machine
Is there another /automatic way to fix this issue? Maybe execute a command after kernel update or something like that?
-
- Posts: 3
- Joined: 8. Dec 2015, 12:33
- Primary OS: Fedora other
- VBox Version: OSE Fedora
- Guest OSses: Linux, Windows
- Location: Finland
Re: New Ubuntu kernel breaks virtual machine
Have you tried issuing:
Code: Select all
/usr/lib/virtualbox/vboxdrv.sh setup
Re: New Ubuntu kernel breaks virtual machine
Currently i got an error message that the modules are not able to stop. But currently the installation is valid and up to date.
My expected behavior is a command or whatever i am able to run after the kernel update with the current running VM and kernel. After the next reboot the system startup with the new kernel and all VMs are able to run.Stopping VirtualBox kernel modules ...failed!
(Cannot unload module vboxnetflt)