Failed to open a session for the virtual machine (host MINT20)

Discussions related to using VirtualBox on Linux hosts.
Post Reply
twafagaraz
Posts: 1
Joined: 20. Jul 2020, 14:27

Failed to open a session for the virtual machine (host MINT20)

Post by twafagaraz »

Greetings
(sorry, I found similar topics, but nothing worked or there were different details)
I use LINUX MINT 20 cinnamon (but on mint 19.03 there was a similar error); Virtualbox Version 6.1.10_Ubuntu r138449. packages installed by the file manager:
qt based user interface, base binaries, kernel module sources for dkms, (ext-pack) extra capabilities for virtualbox downloader, guest - dkms. ((previously, I tried on the site, including older versions)).
Installation ok, but when booting iso ubuntu 20 the error happens:


Kernel driver not installed (rc = -1908)

The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please reinstall virtualbox-dkms package and load the kernel module by executing
'modprobe vboxdrv'
as root.
If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.


Failed to open a session for the LINUX UBUNTU 20 virtual machine.

Details
The virtual machine 'LINUX UBUNTU 20' has terminated unexpectedly during startup with exit code 1 (0x1).
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
MachineWrap
Interface:
IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}

After root procedures, the terminal returned:

virtualbox error

------- Uninstall Beginning --------
Module: virtualbox
Version: 6.1.10
Kernel: 5.4.0-40-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

vboxdrv.ko:
- Uninstallation
- Deleting from: /lib/modules/5.4.0-40-generic/updates/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


vboxnetadp.ko:
- Uninstallation
- Deleting from: /lib/modules/5.4.0-40-generic/updates/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


vboxnetflt.ko:
- Uninstallation
- Deleting from: /lib/modules/5.4.0-40-generic/updates/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.

depmod .........

DKMS: uninstall completed.

------------------------------
Deleting module version: 6.1.10
completely from the DKMS tree.
------------------------------
Done.
Unzipping virtualbox-dkms (6.1.10-dfsg-1 ~ ubuntu1.20.04.1) on (6.1.10-dfsg-1 ~ ubuntu1.20.04.1) ...
Configuring virtualbox-dkms (6.1.10-dfsg-1 ~ ubuntu1.20.04.1) ...
Loading new virtualbox-6.1.10 DKMS files ...
Building for 5.4.0-40-generic
Building initial module for 5.4.0-40-generic
Done.

vboxdrv.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.4.0-40-generic/updates/

vboxnetadp.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.4.0-40-generic/updates/

vboxnetflt.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.4.0-40-generic/updates/

depmod .......

DKMS: install completed.
Job for virtualbox.service failed because the control process exited with error code.
See "systemctl status virtualbox.service" and "journalctl -xe" for details.
invoke-rc.d: initscript virtualbox, action "restart" failed.
● virtualbox.service - LSB: VirtualBox Linux kernel module
Loaded: loaded (/etc/init.d/virtualbox; generated)
Active: failed (Result: exit-code) since Sun 2020-07-19 21:25:03 -03; 15ms ago
Docs: man: systemd-sysv-generator (8)
Process: 29320 ExecStart = / etc / init.d / virtualbox start (code = exited, status = 1 / FAILURE)

Jul 19 21:25:02 linuxmint20 systemd [1]: Starting LSB: VirtualBox Linux kernel module ...
Jul 19 21:25:02 linuxmint20 virtualbox [29320]: * Loading VirtualBox kernel modules ...
Jul 19 21:25:03 linuxmint20 virtualbox [29320]: * modprobe vboxdrv failed. Please use 'dmesg' to find out why
Jul 19 21:25:03 linuxmint20 virtualbox [29320]: ... fail!
Jul 19 21:25:03 linuxmint20 systemd [1]: virtualbox.service: Control process exited, code = exited, status = 1 / FAILURE
Jul 19 21:25:03 linuxmint20 systemd [1]: virtualbox.service: Failed with result 'exit-code'.
Jul 19 21:25:03 linuxmint20 systemd [1]: Failed to start LSB: VirtualBox Linux kernel module.
root @ linuxmint20: ~ #


I know little, if you can send me step by step ... it seems that many people have the same problem, but different small details in each one.
Thank you.(translated by Google)
Attachments
Captura de tela de 2020-07-20 09-46-53.png
Captura de tela de 2020-07-20 09-46-53.png (117.08 KiB) Viewed 1174 times
Post Reply