Failed to start lsb virtualbox linux kernel module ubuntu

VirtualBox won’t boot the VM, I tried almost everything

I have an issue with VirtualBox on Ubuntu 18.04 . It won’t boot my windows VM. When I try to boot the VM, this shows up:

The virtual machine 'Windows 10' has terminated unexpectedly during startup with exit code 1 (0x1). Fehlercode: NS_ERROR_FAILURE (0x80004005) Komponente: MachineWrap Interface: IMachine
Kernel driver not installed (rc=-1908) The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall virtualbox-dkms package and load the kernel module by executing 'modprobe vboxdrv' as root. where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT. 
● virtualbox.service - LSB: VirtualBox Linux kernel module Loaded: loaded (/etc/init.d/virtualbox; generated) Active: failed (Result: exit-code) since Thu 2018-10-18 18:09:31 CEST; 4ms ago Docs: man:systemd-sysv-generator(8) Process: 9827 ExecStart=/etc/init.d/virtualbox start (code=exited, status=1/FAILURE) Okt 18 18:09:31 ubuntu systemd[1]: Starting LSB: VirtualBox Linux kernel module. Okt 18 18:09:31 ubuntu virtualbox[9827]: * Loading VirtualBox kernel modules. Okt 18 18:09:31 ubuntu virtualbox[9827]: * No suitable module for running kernel found Okt 18 18:09:31 ubuntu virtualbox[9827]: . fail! Okt 18 18:09:31 ubuntu systemd[1]: virtualbox.service: Control process exited, code=exited status=1 Okt 18 18:09:31 ubuntu systemd[1]: virtualbox.service: Failed with result 'exit-code'. Okt 18 18:09:31 ubuntu systemd[1]: Failed to start LSB: VirtualBox Linux kernel module. 

I’ve already tried reinstalling everything, and almost everything I found on the internet, but nothing is working. I would really appreciate if somebody can help me. 🙂

Источник

How to Fix «Failed to Start LSB: VirtualBox Linux Kernel Module» Error on Linux

Learn how to fix the «Failed to start LSB: VirtualBox Linux kernel module» error on Linux, including third-party repositories, command-line fixes, and BIOS settings. Get VirtualBox up and running smoothly with these helpful tips and considerations.

VirtualBox is a popular open-source virtualization software that allows users to run multiple operating systems on a single machine. However, users may encounter an error message “Failed to start LSB: VirtualBox Linux kernel module” while trying to install or run VirtualBox on their Linux system. This error message can occur on different versions of Linux systems, including Ubuntu, Debian, Kali Linux, and CentOS. In this blog post, we will explore various solutions to this problem, including third-party repositories, command-line fixes, and BIOS settings.

The Error Message and Its Common Causes

The error message “Failed to start LSB: VirtualBox Linux kernel module” is a common issue faced while trying to install or run VirtualBox on Linux systems. This error message can occur during installation or while trying to start VirtualBox. The error message can also occur after a kernel upgrade. Some of the common causes of this error message are:

  • Incompatibility of VirtualBox with the Linux kernel version
  • Conflicts with other packages or software on the Linux system
  • Incorrect BIOS settings
  • Issues with the VirtualBox kernel module
Читайте также:  Linux check running services

Solution 1 — Third-party Repositories

The solution to this problem seems to be to not install the VirtualBox package that comes with Ubuntu and instead add a third-party repository and install VirtualBox from there. This can be done using the command-line tools add-apt-repository and apt-get. This approach can provide users with more recent versions of VirtualBox and may help avoid conflicts with other packages.

To add a third-party repository and install VirtualBox, follow these steps:

sudo add-apt-repository multiverse && sudo apt-get update 
sudo apt-get install virtualbox 

Ubuntu: Failed to start LSB: Virtualbox Linux kernel module

Duration: 3:04

Solution 2 — Command-line Fixes

Another solution is to boot to the GRUB menu, select the Advanced Options, Recovery mode, and Root access options, and then run a command to remove and reinstall VirtualBox. Some users have reported needing to manually load the VirtualBox kernel module after installation. Some users have reported needing to blacklist conflicting kernel modules. Some users have reported needing to run VirtualBox as root. Some users have reported needing to manually start the vboxdrv service.

Here are the steps to remove and reinstall VirtualBox:

  1. Reboot the system and select the Advanced Options for Ubuntu in the GRUB menu.
  2. Select the Recovery mode option and press enter.
  3. Choose the Root access option and press enter.
  4. Run the following command to remove VirtualBox:
sudo apt-get remove virtualbox 
sudo apt-get install virtualbox 

If you are still facing the error message, try manually loading the VirtualBox kernel module by running the following command:

If there are any conflicts with other kernel modules, try blacklisting them by running the following command:

sudo nano /etc/modprobe.d/blacklist.conf 

Add the following lines to the file and save:

blacklist kvm blacklist kvm_intel 

If you are still facing the error message, try running VirtualBox as root by using the following command:

If the vboxdrv service is not starting automatically, start it manually by using the following command:

sudo /etc/init.d/vboxdrv start 

Solution 3 — BIOS Settings

Some users have reported that turning off secure boot in the BIOS has helped resolve this issue. This can be done by accessing the BIOS settings during system startup and disabling secure boot. This approach may help avoid conflicts with other virtualization software and ensure that VirtualBox can run smoothly.

Here are the steps to disable secure boot in the BIOS:

  1. Restart the system and press the key to enter the BIOS settings during the startup process. The key may vary depending on the system.
  2. Navigate to the Security tab using the arrow keys.
  3. Find the Secure Boot option and disable it.
  4. Save the changes and exit the BIOS settings.
  5. Try running VirtualBox again to see if the error message is resolved.
Читайте также:  Server migration in linux

Other Helpful Tips and Considerations

  • Some users have suggested installing the virtualbox-dkms package and appropriate headers for the current kernel version . This can be done using the following command:
sudo apt-get install virtualbox-dkms linux-headers-generic 
  • Some users have reported issues with the virtualbox-ext-pack package causing conflicts. Try uninstalling this package using the following command:
sudo apt-get remove virtualbox-ext-pack 
  • Users may also need to update their system packages, including updates to the kernel and headers, to resolve this issue.
  • VirtualBox supports a wide range of guest operating systems, including various versions of Linux, Windows, and macOS.
  • VirtualBox can be used for a variety of purposes, including software development, testing, and running legacy applications.

Other helpful code examples for fixing the ‘Failed to start LSB: VirtualBox Linux kernel module’ error on Linux

In shell, Failed to start LSB: VirtualBox Linux kernel module. code example

wget -q -O - http://download.virtualbox.org/virtualbox/debian/oracle_vbox_2016.asc | sudo apt-key add -

In shell, failed to start lsb: virtualbox linux kernel module. code example

Solution seems to be to not install the virtualbox package that comes with Ubuntu. Following the steps to add a 3rd party repository as shown here, then installing the virtualbox-5.1 package appears to get things working with no further actions required.

Conclusion

The error message “Failed to start LSB: VirtualBox Linux kernel module” can be a frustrating obstacle for users trying to run VirtualBox on Linux systems. However, by following the solutions outlined in this blog post — including third-party repositories, command-line fixes, and BIOS settings — users can overcome this issue and enjoy the many benefits of VirtualBox. Remember to consider helpful tips and considerations, such as updating system packages and avoiding conflicts with other packages .

Источник

Failed to start LSB: Virtualbox Linux kernel module [closed]

This question is specific to an end of life Ubuntu release. These are no longer supported and are therefore off-topic here. To upgrade, see: How to install software or upgrade from old unsupported release?

enter image description here

When I try to boot Ubuntu my system shows this.. i have two operating systems windows 10-ubuntu 15.10. when i try to boot ubuntu it appears the ubuntu logo and after that this error..so i cannot log in or open up my terminal.. How can I deal with this problem?

open a terminal with ctrl + alt + t then type in sudo systemctl status virtualbox.service and after copy from terminal by using mouse, drag over the text in terminal and right click to copy

Please put more detail into your question so you can get better help. Include the computer specs, OS version etc

1 Answer 1

Turn off secure boot in your BIOS. That should fix it.

To enter your BIOS, turn on your computer, and watch the BIOS flash screen and it’ll usually tell you what key to touch to enter the BIOS (usually a function key). Once in the BIOS settings, depending on your BIOS, you might see a security section or tab. Find the secure boot option and turn it off, save your changes, and reboot the computer.

Читайте также:  Структура различных видов ос ms dos windows linux unix

To perform a file system check.

  • boot to the GRUB menu (where you select which OS to start)
  • choose Advanced Options
  • choose Recovery mode
  • choose Root access
  • at the # prompt, type sudo fsck -f /
  • you can ignore errors about the time/date/superblock
  • repeat the fsck command if there were other errors
  • type reboot
  • boot to the GRUB menu (where you select which OS to start)
  • choose Advanced Options
  • choose Recovery mode
  • choose Root access
  • at the # prompt, type:
  • sudo mount -o rw,remount /
  • sudo dpkg -P virtualbox-qt
  • sudo dpkg -P virtualbox
  • reboot

To try and fix failed updates.

  • boot to the GRUB menu (where you select which OS to start)
  • choose Advanced Options
  • choose Recovery mode
  • choose Root access
  • at the # prompt, type:
  • sudo mount -o rw,remount /
  • sudo dpkg —configure -a
  • sudo apt-get install -f
  • reboot

After many failed attempts to fix the problems, you’re going to have to reinstall Ubuntu. I don’t think that the virtualbox install caused this problem. There must have been something wrong before, even if you didn’t know it. I’d always recommend that you have good Windows and Ubuntu backups, just in case anything goes wrong. You’ll need a Ubuntu 15.10 DVD/USB, choose reinstall so that it reinstalls into the same place as is currently used, but make sure to uncheck format partition so it’ll keep your /home directory.

Источник

«Failed to start LSB: VirtualBox Linux kernel module» [duplicate]

Ubuntu-server 17.04 x64, Cinammon 3.2.7, Kernel 4.13.3 generic. Attempting to set up VirtualBox, though so far I have been unable to start any virtual machine. Upon installation (apt install virtualbox), I get the following lines near the end of the installation process:

● virtualbox.service - LSB: VirtualBox Linux kernel module Loaded: loaded (/etc/init.d/virtualbox; generated; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 2017-09-21 19:57:07 +04; 18ms ago Docs: man:systemd-sysv-generator(8) Process: 463 ExecStart=/etc/init.d/virtualbox start (code=exited, status=1/FAILURE) CPU: 28ms Sep 21 19:57:06 Hiigaran systemd[1]: Starting LSB: VirtualBox Linux kernel module. Sep 21 19:57:06 Hiigaran virtualbox[463]: * Loading VirtualBox kernel modules. Sep 21 19:57:07 Hiigaran virtualbox[463]: * No suitable module for running kernel found Sep 21 19:57:07 Hiigaran virtualbox[463]: . fail! Sep 21 19:57:07 Hiigaran systemd[1]: virtualbox.service: Control process exited, code=exited status=1 Sep 21 19:57:07 Hiigaran systemd[1]: Failed to start LSB: VirtualBox Linux kernel module. Sep 21 19:57:07 Hiigaran systemd[1]: virtualbox.service: Unit entered failed state. Sep 21 19:57:07 Hiigaran systemd[1]: virtualbox.service: Failed with result 'exit-code'. 

Tried following the top answer in this question, by removing virtualbox-dkms and installing it again. This resulted in the same lines as above. Attempting to start a virtual macine, I get an error giving the following details:

Kernel driver not installed (rc=-1908) The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall virtualbox-dkms package and load the kernel module by executing 'modprobe vboxdrv' as root. where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT. 
modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.13.3-041303-generic 

Источник

Оцените статью
Adblock
detector