Σελίδα 1 από 2

Oracle VBox: Kernel driver not installed (rc=-1908)

ΔημοσίευσηΔημοσιεύτηκε: 22 Ιαν 2020, 11:11
από bobptz
Καλημέρα

Τελευταία, όταν πάω να ανοίξω κάποιο VM στο VirtualBox, μου βγάζει το ακόλουθο μήνυμα:
Κώδικας: Επιλογή όλων
Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing

'/sbin/vboxconfig'

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.


Οπότε έτρεξα αυτό:
Κώδικας: Επιλογή όλων
$ sudo /sbin/vboxconfig
[sudo] password for bob:
vboxdrv.sh: Stopping VirtualBox services.
depmod: WARNING: could not open /lib/modules/5.0.0-36-generic/modules.order: No such file or directory
depmod: WARNING: could not open /lib/modules/5.0.0-36-generic/modules.builtin: No such file or directory
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: Look at /var/log/vbox-setup.log to find out what went wrong.

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.  If your system is using EFI Secure Boot you may 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.


Το Secure Boot είναι απενεργοποιημένο από το BIOS.
Έχω VB Version 6.0.8 r130520 (Qt5.9.5).

Μπορεί κάποιος να μου πει πως θα το διορθώσω?

Re: Oracle VBox: Kernel driver not installed (rc=-1908)

ΔημοσίευσηΔημοσιεύτηκε: 22 Ιαν 2020, 15:14
από Maras
Αρχικά σώσε τις εικονικές μηχανές σου κάπου για να μπορείς να τις μεταφέρεις εύκολα και γρήγορα(backup) και στη συνέχεια δοκίμασε το εξής :
Κώδικας: Επιλογή όλων
sudo dpkg-reconfigure virtualbox-6.0.8(εδώ θα βάλεις τον αριθμό της έκδοσής σου για το πακέτο)

Re: Oracle VBox: Kernel driver not installed (rc=-1908)

ΔημοσίευσηΔημοσιεύτηκε: 22 Ιαν 2020, 16:54
από bobptz
Κώδικας: Επιλογή όλων
$ sudo dpkg-reconfigure virtualbox-6.0.8
[sudo] password for bob:
dpkg-query: package 'virtualbox-6.0.8' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
/usr/sbin/dpkg-reconfigure: virtualbox-6.0.8 is not installed


BTW, εδώ είναι το /var/log/vbox-setup.log :
https://pastebin.com/SdQHCJM2

Re: Oracle VBox: Kernel driver not installed (rc=-1908)

ΔημοσίευσηΔημοσιεύτηκε: 22 Ιαν 2020, 16:58
από Maras
Δώσε το αποτέλεσμα της εντολής :
Κώδικας: Επιλογή όλων
apt list --installed | grep virtualbox

Re: Oracle VBox: Kernel driver not installed (rc=-1908)

ΔημοσίευσηΔημοσιεύτηκε: 22 Ιαν 2020, 17:01
από bobptz
Κώδικας: Επιλογή όλων
$ apt list --installed | grep virtualbox

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

virtualbox-6.0/now 6.0.8-130520~Ubuntu~bionic amd64 [installed,local]

Re: Oracle VBox: Kernel driver not installed (rc=-1908)

ΔημοσίευσηΔημοσιεύτηκε: 22 Ιαν 2020, 17:13
από Maras
Ωραία τρέξε την προηγούμενη εντολή έτσι :
Κώδικας: Επιλογή όλων
sudo dpkg-reconfigure virtualbox-6.0

Re: Oracle VBox: Kernel driver not installed (rc=-1908)

ΔημοσίευσηΔημοσιεύτηκε: 22 Ιαν 2020, 17:31
από bobptz
Κώδικας: Επιλογή όλων
$ sudo dpkg-reconfigure virtualbox-6.0
[sudo] password for bob:
addgroup: The group `vboxusers' already exists as a system group. Exiting.
vboxdrv.sh: failed: Look at /var/log/vbox-setup.log to find out what went wrong.

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.  If your system is using EFI Secure Boot you may 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.

Re: Oracle VBox: Kernel driver not installed (rc=-1908)

ΔημοσίευσηΔημοσιεύτηκε: 22 Ιαν 2020, 18:01
από Maras
Έχεις άλλη έκδοση πυρήνα(παλαιότερη) εγκατεστημένη για να δοκιμάσεις αν εκεί δουλεύει?

Re: Oracle VBox: Kernel driver not installed (rc=-1908)

ΔημοσίευσηΔημοσιεύτηκε: 22 Ιαν 2020, 19:01
από bobptz
Κώδικας: Επιλογή όλων
$ dpkg --list | grep linux-image
rc  linux-image-4.18.0-15-generic              4.18.0-15.16~18.04.1                            amd64        Signed kernel image generic
rc  linux-image-4.18.0-17-generic              4.18.0-17.18~18.04.1                            amd64        Signed kernel image generic
rc  linux-image-4.18.0-18-generic              4.18.0-18.19~18.04.1                            amd64        Signed kernel image generic
rc  linux-image-4.18.0-20-generic              4.18.0-20.21~18.04.1                            amd64        Signed kernel image generic
rc  linux-image-4.18.0-24-generic              4.18.0-24.25~18.04.1                            amd64        Signed kernel image generic
rc  linux-image-4.18.0-25-generic              4.18.0-25.26~18.04.1                            amd64        Signed kernel image generic
rc  linux-image-5.0.0-25-generic               5.0.0-25.26~18.04.1                             amd64        Signed kernel image generic
rc  linux-image-5.0.0-27-generic               5.0.0-27.28~18.04.1                             amd64        Signed kernel image generic
rc  linux-image-5.0.0-29-generic               5.0.0-29.31~18.04.1                             amd64        Signed kernel image generic
rc  linux-image-5.0.0-31-generic               5.0.0-31.33~18.04.1                             amd64        Signed kernel image generic
rc  linux-image-5.0.0-32-generic               5.0.0-32.34~18.04.2                             amd64        Signed kernel image generic
rc  linux-image-5.0.0-35-generic               5.0.0-35.38~18.04.1                             amd64        Signed kernel image generic
rc  linux-image-5.0.0-36-generic               5.0.0-36.39~18.04.1                             amd64        Signed kernel image generic
ii  linux-image-5.0.0-37-generic               5.0.0-37.40~18.04.1                             amd64        Signed kernel image generic
ii  linux-image-5.3.0-26-generic               5.3.0-26.28~18.04.1                             amd64        Signed kernel image generic
ii  linux-image-generic-hwe-18.04              5.3.0.26.95                                     amd64        Generic Linux kernel image
bob@bob-desktop:~$ uname -r
5.3.0-26-generic


Να χρησιμοποιήσω αυτήν?
linux-image-5.0.0-37-generic 5.0.0-37.40~18.04.1

Θα δω πως μπορώ να το κάνω.

Re: Oracle VBox: Kernel driver not installed (rc=-1908)

ΔημοσίευσηΔημοσιεύτηκε: 22 Ιαν 2020, 19:03
από Maras
Ναι δοκίμασε να φορτώσεις παλαιότερους από τον GRUB>Advanced Options...