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

...εφαρμογές για οτιδήποτε άλλο

Συντονιστής: konnn

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

Δημοσίευσηαπό bobptz » 22 Ιαν 2020, 11:11

Καλημέρα

Τελευταία, όταν πάω να ανοίξω κάποιο 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).

Μπορεί κάποιος να μου πει πως θα το διορθώσω?
Γνώσεις Linux: Μαθαίνω ┃ Προγραμματισμού: Πολύ καλό ┃ Αγγλικών: Πολύ καλό


bobptz
seniorTUX
seniorTUX
 
Δημοσιεύσεις: 659
Εγγραφή: 28 Δεκ 2012, 02:39
Εκτύπωση

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

Δημοσίευσηαπό Maras » 22 Ιαν 2020, 15:14

Αρχικά σώσε τις εικονικές μηχανές σου κάπου για να μπορείς να τις μεταφέρεις εύκολα και γρήγορα(backup) και στη συνέχεια δοκίμασε το εξής :
Κώδικας: Επιλογή όλων
sudo dpkg-reconfigure virtualbox-6.0.8(εδώ θα βάλεις τον αριθμό της έκδοσής σου για το πακέτο)
“Long is the way, and hard, that out of hell leads up to light.”
Άβαταρ μέλους
Maras
saintTUX
saintTUX
 
Δημοσιεύσεις: 1460
Εγγραφή: 25 Ιούλ 2017, 12:49
Εκτύπωση

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

Δημοσίευσηαπό bobptz » 22 Ιαν 2020, 16:54

Κώδικας: Επιλογή όλων
$ 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
Γνώσεις Linux: Μαθαίνω ┃ Προγραμματισμού: Πολύ καλό ┃ Αγγλικών: Πολύ καλό


bobptz
seniorTUX
seniorTUX
 
Δημοσιεύσεις: 659
Εγγραφή: 28 Δεκ 2012, 02:39
Εκτύπωση

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

Δημοσίευσηαπό Maras » 22 Ιαν 2020, 16:58

Δώσε το αποτέλεσμα της εντολής :
Κώδικας: Επιλογή όλων
apt list --installed | grep virtualbox
“Long is the way, and hard, that out of hell leads up to light.”
Άβαταρ μέλους
Maras
saintTUX
saintTUX
 
Δημοσιεύσεις: 1460
Εγγραφή: 25 Ιούλ 2017, 12:49
Εκτύπωση

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

Δημοσίευσηαπό bobptz » 22 Ιαν 2020, 17:01

Κώδικας: Επιλογή όλων
$ 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]
Γνώσεις Linux: Μαθαίνω ┃ Προγραμματισμού: Πολύ καλό ┃ Αγγλικών: Πολύ καλό


bobptz
seniorTUX
seniorTUX
 
Δημοσιεύσεις: 659
Εγγραφή: 28 Δεκ 2012, 02:39
Εκτύπωση

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

Δημοσίευσηαπό Maras » 22 Ιαν 2020, 17:13

Ωραία τρέξε την προηγούμενη εντολή έτσι :
Κώδικας: Επιλογή όλων
sudo dpkg-reconfigure virtualbox-6.0
“Long is the way, and hard, that out of hell leads up to light.”
Άβαταρ μέλους
Maras
saintTUX
saintTUX
 
Δημοσιεύσεις: 1460
Εγγραφή: 25 Ιούλ 2017, 12:49
Εκτύπωση

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

Δημοσίευσηαπό bobptz » 22 Ιαν 2020, 17:31

Κώδικας: Επιλογή όλων
$ 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.
Γνώσεις Linux: Μαθαίνω ┃ Προγραμματισμού: Πολύ καλό ┃ Αγγλικών: Πολύ καλό


bobptz
seniorTUX
seniorTUX
 
Δημοσιεύσεις: 659
Εγγραφή: 28 Δεκ 2012, 02:39
Εκτύπωση

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

Δημοσίευσηαπό Maras » 22 Ιαν 2020, 18:01

Έχεις άλλη έκδοση πυρήνα(παλαιότερη) εγκατεστημένη για να δοκιμάσεις αν εκεί δουλεύει?
“Long is the way, and hard, that out of hell leads up to light.”
Άβαταρ μέλους
Maras
saintTUX
saintTUX
 
Δημοσιεύσεις: 1460
Εγγραφή: 25 Ιούλ 2017, 12:49
Εκτύπωση

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

Δημοσίευσηαπό bobptz » 22 Ιαν 2020, 19:01

Κώδικας: Επιλογή όλων
$ 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

Θα δω πως μπορώ να το κάνω.
Γνώσεις Linux: Μαθαίνω ┃ Προγραμματισμού: Πολύ καλό ┃ Αγγλικών: Πολύ καλό


bobptz
seniorTUX
seniorTUX
 
Δημοσιεύσεις: 659
Εγγραφή: 28 Δεκ 2012, 02:39
Εκτύπωση

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

Δημοσίευσηαπό Maras » 22 Ιαν 2020, 19:03

Ναι δοκίμασε να φορτώσεις παλαιότερους από τον GRUB>Advanced Options...
“Long is the way, and hard, that out of hell leads up to light.”
Άβαταρ μέλους
Maras
saintTUX
saintTUX
 
Δημοσιεύσεις: 1460
Εγγραφή: 25 Ιούλ 2017, 12:49
Εκτύπωση

Επόμενο

  • ΣΧΕΤΙΚΑ ΘΕΜΑΤΑ
    ΑΠΑΝΤΗΣΕΙΣ
    ΠΡΟΒΟΛΕΣ
    ΣΥΓΓΡΑΦΕΑΣ

Επιστροφή στο Εφαρμογές Άλλες-Διάφορες