Ubuntu 21.10 install VirtualBox. Failed to start LSB: VirtualBox Linux kernel module.

Asked by Wang tk

I want to install VirtualBox on My machine. I am use Ubuntu 21.10.

I install that by sudo apt install virtualbox. It report some error messages.

$ systemctl status virtualbox.service

printed:

× virtualbox.service - LSB: VirtualBox Linux kernel module
     Loaded: loaded (/etc/init.d/virtualbox; generated)
     Active: failed (Result: exit-code) since Mon 2022-02-21 13:17:28 CST; 23min ago
       Docs: man:systemd-sysv-generator(8)
    Process: 2565 ExecStart=/etc/init.d/virtualbox start (code=exited, status=1/FAILURE)
        CPU: 31ms

Feb 21 13:17:28 XiaoXin systemd[1]: Starting LSB: VirtualBox Linux kernel module...
Feb 21 13:17:28 XiaoXin virtualbox[2565]: * Loading VirtualBox kernel modules...
Feb 21 13:17:28 XiaoXin virtualbox[2565]: * modprobe vboxdrv failed. Please use 'dmesg' to find out why
Feb 21 13:17:28 XiaoXin virtualbox[2565]: ...fail!
Feb 21 13:17:28 XiaoXin systemd[1]: virtualbox.service: Control process exited, code=exited, status=1/FAILURE
Feb 21 13:17:28 XiaoXin systemd[1]: virtualbox.service: Failed with result 'exit-code'.
Feb 21 13:17:28 XiaoXin systemd[1]: Failed to start LSB: VirtualBox Linux kernel module.

$ journalctl -xeu virtualbox.service

printed:

░ The unit virtualbox.service has entered the 'failed' state with result 'exit-code'.
Feb 21 12:53:14 XiaoXin systemd[1]: Failed to start LSB: VirtualBox Linux kernel module.
░░ Subject: A start job for unit virtualbox.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit virtualbox.service has finished with a failure.
░░
░░ The job identifier is 3306 and the job result is failed.
-- Boot ee2fe0ea4c5d45b9bf349ec59a8a08b5 --
Feb 21 13:17:28 XiaoXin systemd[1]: Starting LSB: VirtualBox Linux kernel module...
░░ Subject: A start job for unit virtualbox.service has begun execution
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit virtualbox.service has begun execution.
░░
░░ The job identifier is 2068.
Feb 21 13:17:28 XiaoXin virtualbox[2565]: * Loading VirtualBox kernel modules...
Feb 21 13:17:28 XiaoXin virtualbox[2565]: * modprobe vboxdrv failed. Please use 'dmesg' to find out why
Feb 21 13:17:28 XiaoXin virtualbox[2565]: ...fail!
Feb 21 13:17:28 XiaoXin systemd[1]: virtualbox.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit virtualbox.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Feb 21 13:17:28 XiaoXin systemd[1]: virtualbox.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit virtualbox.service has entered the 'failed' state with result 'exit-code'.
Feb 21 13:17:28 XiaoXin systemd[1]: Failed to start LSB: VirtualBox Linux kernel module.
░░ Subject: A start job for unit virtualbox.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit virtualbox.service has finished with a failure.
░░
░░ The job identifier is 2068 and the job result is failed.

I am did not try add PPA for VirtualBox. I hope that I could install VirtualBox through Ubuntu repo.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu virtualbox Edit question
Assignee:
No assignee Edit question
Solved by:
Wang tk
Solved:
Last query:
Last reply:
Revision history for this message
Wang tk (wngtk) said :
#1

Solved the problem by **disable Secure Boot**.