Виртуал бокс ошибка 1908

Как исправить ошибку запуска VirtualBox VM в Linux

Ошибка kernel driver not installed rc -1908

Чаще всего ошибка запуска виртуальной машины (ошибка: kernel driver not installed rc -1908) в VirtualBox Linux, заключается в том, что в системе не установлен драйвер ядра VirtualBox.

Т.к. заголовки ядра Linux позволяют создавать собственные модули (драйвер ядра VirtualBox один из таких модулей), нам нужно проверить их наличие в системе и при необходимости доустановить их.
Если они установлены, то система проигнорирует эту команду установки.

Ubuntu

sudo apt install linux-headers-$(uname -r)

Debian

sudo apt-get install linux-headers-$(uname -r)

Arch Linux

sudo pacman -S linux-headers

Fedora

sudo dnf install "kernel-devel-uname-r == $(uname -r)"

OpenSUSE

sudo zypper install kernel-devel

Следующая команда переустановит модуль драйвера ядра VirtualBox.
Мы полностью переустановим этот пакет модуля VirtualBox.

Ubuntu

sudo apt install virtualbox-dkms --reinstall

Debian

sudo apt install virtualbox-dkms --reinstall

Arch Linux

sudo pacman -R virtualbox-host-modules-arch 
sudo pacman -S virtualbox-host-modules-arch

Fedora

sudo dnf remove VirtualBox akmod-VirtualBox 
sudo dnf install VirtualBox akmod-VirtualBox

OpenSUSE

sudo zypper remove virtualbox-kmp-default
sudo zypper install virtualbox-kmp-default

Следующая команда настроит и загрузит модуль ядра VirtualBox.

sudo modprobe vboxdrv

Так же можно перезагрузить компьютер, чтобы загрузить драйвер ядра.


15 июля 2022, 18:30
  
Александр

Linux

0
  
2684





0



Из этой категории

    Double Commander не распаковывает RAR-архивы
    Кодировка в текстовом редакторе Xed
    Opera не русифицируется в Linux
    Не могу записать ничего на ext4
    Как установить или удалить ядро ​​Liquorix Linux Mint
    13 горячих клавиш в bash Linux
    Советы и приемы настройки командной строки в Bash Linux
    Как определить папки занимающие большое пространство на диске, в Linux
    Как скопировать файлы с помощью команды ср в Linux
    Автоматическая перезагрузка при kernel panic



Комментарии ()

    Вы должны авторизоваться, чтобы оставлять комментарии.

    Если после очередного обновления Oracle VirtualBox на MacOS, при запуске любой виртуальной машины, вы получили ошибку «Kernel driver not installed (rc=-1908)», то вот вам проверенный способ как ее победить.

    Проверено как минимум пять раз на разных устройствах и разных версиях MacOS (BigSur, Catalina).

    Не торопитесь ничего удалять, или переустанавливать, как это иногда рекомендуют. Паниковать так же не стОит, и даже срочно делать резервную копию не обязательно (хотя в целом это хорошая практика делать регулярные резервные копии).

    На этот случай у VirtualBox есть скрипт, который вам поможет всё починить.

    Итак,
    1. открываем терминал, и выполняем следующую команду:

    sudo /Library/Application Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh restart

    2. Вводим свой пароль, и в ответ получаем что-то типа такого:

    Loading VBoxDrv.kext
    Error Domain=KMErrorDomain Code=28 «Loading extension(s): org.virtualbox.kext.VBoxDrv requires a reboot» UserInfo={NSLocalizedDescription=Loading extension(s): org.virtualbox.kext.VBoxDrv requires a reboot}
    Error: Failed to load org.virtualbox.kext.VBoxDrv
    Executing: /usr/bin/kmutil unload -b org.virtualbox.kext.VBoxUSB
    Error Domain=KMErrorDomain Code=71 «Kernel request failed: (libkern/kext) not found (-603947002)» UserInfo={NSLocalizedDescription=Kernel request failed: (libkern/kext) not found (-603947002)}
    Fatal error: VirtualBox

    Таких строк может быть несколько, это не важно.

    3. Обратите внимание, что среди всего прочего, в ответе присутствуют просьба перезагрузить систему «requires a reboot». Не сопротивляемся, перезагружаемся. Если не просит, то вывод будет такой как в шаге 5.

    4. После перезагрузки, еще раз открываем терминал, и выполняем команду из шага 1.

    5. Теперь вывод будет (должен быть) вот такой:

    Unloading VBoxUSB.kext
    Unloading VBoxNetFlt.kext
    Unloading VBoxNetAdp.kext
    Unloading VBoxDrv.kext
    Loading VBoxDrv.kext
    Loading VBoxUSB.kext
    Loading VBoxNetFlt.kext
    Loading VBoxNetAdp.kext

    Отлично! То что нам и нужно было.

    6. Запускаем VirtualBox. Он скорее всего скажет что нужно установить свежую версию VirtualBox Extension Pack. Все нормально, идем на сайт https://www.virtualbox.org/wiki/Downloads, скачиваем актуальную версию Extension Pack, и устанавливаем.

    Все, теперь можно продолжать работать.

    I tried to set up an virtual machine on Ubuntu 12.10.I installed Oracle Vm VirtualBox Manager.
    Then, i followed the steps and i choose .iso file from settings>storage.Then clicked live cd/dvd option.Then OK,when i clicked to start button i get such an error :

     Kernel driver not installed (rc=-1908)
    
     The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a                   
     permissionproblem with /dev/vboxdrv. Please reinstall the kernel module by 
     executing
    
     '/etc/init.d/vboxdrv setup'
    
     as root. If it is available in your distribution, you should install the DKMS package                               
     first. This package keeps track of Linux kernel changes and recompiles the vboxdrv  
     kernel module if necessary.
    

    I reinstalled program and rebooted pc, but not worked.Also, updated kernel driver but not worked.What can be done to solve it ?

    Óscar Andreu's user avatar

    asked Dec 2, 2012 at 14:25

    2

    Thought I’d give my 2 cents for those who use MACs

    sudo /Library/Application Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh restart
    

    answered Nov 12, 2013 at 22:31

    Alex's user avatar

    AlexAlex

    8238 silver badges15 bronze badges

    11

    sudo apt-get remove virtualbox-dkms
    sudo apt-get install virtualbox-dkms
    

    source: http://ubuntuforums.org/showthread.php?t=1885936&page=6

    ps. I have this issue everytime I get a Linux kernel update in Ubuntu. The instructions that it gives do not work for me but these two commands work everytime. It would be nice if everytime I got a kernel update these two commands would automatically run afterwards…

    answered Mar 25, 2013 at 13:09

    Elijah Lynn's user avatar

    Elijah LynnElijah Lynn

    12.2k10 gold badges61 silver badges91 bronze badges

    2

    I have a solution that works for MacOS users:

    1. You have to restart your system and press Command (⌘) + R during the loading. It will start the Recovery mode.

    2. Now that you’re on the Recovery Mode, click on Utilities (top bar) and Terminal.

    3. You have your terminal opened? Enter, it will add Oracle in the authorisation list to access the kernel.

      spctl kext-consent add VB5E2TV963

    4. Restart again.

    You’re welcome.

    answered Jun 25, 2019 at 16:07

    idkn's user avatar

    idknidkn

    4222 gold badges7 silver badges13 bronze badges

    3

    (I’m on a Mac with this solution) I tried the first few answers on this board (so you might need those as well first), but then finally I Allowed Oracle to «load software» under System Preferences -> Security & Privacy -> in the bottom right, click «Allow…»
    Then a dialog box with checkbox options might come up, search for Oracle and check the box next to it. Click OK out of everything. (I also updated the preference above the «Allow…» button to Allow apps downloaded from: to «App store and identified developers«)
    After all of this I rebooted and I no longer see this -1908 error when running a VM.
    Again, I’m on a Mac, running Big Sur 11.2.1.

    Dharman's user avatar

    Dharman

    30.5k22 gold badges84 silver badges133 bronze badges

    answered Feb 18, 2021 at 12:04

    skittlebiz's user avatar

    skittlebizskittlebiz

    3493 silver badges8 bronze badges

    2

    Personally, on my Mac installing the latest version of VirtualBox solved the problem

    answered Aug 19, 2018 at 19:49

    Vic Seedoubleyew's user avatar

    Vic SeedoubleyewVic Seedoubleyew

    10.7k6 gold badges54 silver badges75 bronze badges

    1

    Goto BIOS setup and Make secure boot Disable
    It worked for me.

    answered Mar 31, 2019 at 11:42

    Sachin Patil's user avatar

    Had recently the same problem on Ubuntu 18.04. Apparently, virtual box 6.+ has some issues with gcc-7. These steps did the job for me:

    Removing virtualbox

    sudo apt-get purge virtualbox-*

    installing gcc-8

    sudo apt-get install gcc-8 g++-8

    setting default gcc to gcc-8

    sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 800 --slave /usr/bin/g++ g++ /usr/bin/g++-8

    and reinstalling virtualbox with the debian installer did it for me!

    answered Feb 20, 2020 at 20:05

    Thommy257's user avatar

    Thommy257Thommy257

    7036 silver badges21 bronze badges

    0

    did you try the command /etc/init.d/vboxdrv setup
    What was the output ?

    answered Dec 2, 2012 at 14:36

    Kasper Jan Mooijman's user avatar

    5

    First you have to install dkms packages (but optional)

    sudo apt-get install dkms
    

    Then run this

    sudo /etc/init.d/vboxdrv setup
    

    But in my case I had to run only second one.

    answered Sep 15, 2015 at 5:15

    Kishan Pradhan's user avatar

    Follow the following steps for Linux:

    1. cd /etc/yum.repos.d/
    2. vim epel.repo
    3. Make every "enabled=1"
    4. yum install dkms

    Ivan Aracki's user avatar

    Ivan Aracki

    4,73111 gold badges58 silver badges70 bronze badges

    answered Jan 24, 2016 at 9:52

    Pravin Ranjan's user avatar

    there were only linux-lts kernel in my system so far. i just install linux-lts-headers using pacman and then i rebooted pc.it worked for me.

    answered Jul 7, 2019 at 3:24

    sashi singh's user avatar

    1

    This one in recovery mode answered by @idkn worked for me.

    spctl kext-consent add VB5E2TV963
    

    answered Dec 8, 2019 at 11:13

    vipin goyal's user avatar

    vipin goyalvipin goyal

    67111 silver badges17 bronze badges

    The below code seems to fix the error. It might recur when you update your distrbution, so make sure to rerun it.

    sudo modprobe vboxdrv

    answered Dec 22, 2019 at 18:22

    Muhammad Asif Mohtesham's user avatar

    0

    did you try the command:

    sudo kextload /Library/Extensions/VBoxDrv.kext/
    

    answered Apr 17, 2014 at 17:36

    Gere's user avatar

    GereGere

    2,09424 silver badges24 bronze badges

    2

    Firstly open a terminal and write this command:

    • sudo apt-get remove virtualbox-dkms

    and after finish this operation, write this command:

    • sudo apt-get install virtualbox-dkms

    This solved the problem.
    Do not worry, your files will not be lost.

    Ivan Aracki's user avatar

    Ivan Aracki

    4,73111 gold badges58 silver badges70 bronze badges

    answered Sep 13, 2018 at 9:12

    Ali Haydar Toprak's user avatar

    I had the same problem and I fixed it by running this command:
    sudo /etc/init.d/vboxdrv setup

    Ivan Aracki's user avatar

    Ivan Aracki

    4,73111 gold badges58 silver badges70 bronze badges

    answered Mar 24, 2015 at 16:20

    Fariba's user avatar

    FaribaFariba

    6731 gold badge11 silver badges27 bronze badges

    Содержание

    Введение
    your current centos software installation requires of available space
    (rc=-1908) Kernel driver not installed
    This system is currently not set up to build kernel modules
    (rc=-1912) The VirtualBox kernel modules do not match this version of VirtualBox
    Nonexistent host networking interface
    Cannot unregister the machine
    Missing Dependencies Python Core / win32api

    Возможные проблемы

    Если что-то не получилось, особенно в самом начале, например возникла ошибка 1908

    Установка Virtual Windows 7 на Debian Linux изображение с сайта www.andreyolegovich.ru

    rc=-1908


    wwww.andreyolegovich.ru

    и

    Установка Virtual Windows 7 на Debian Linux изображение с сайта www.andreyolegovich.ru

    rc=-1908


    wwww.andreyolegovich.ru

    Советую подумать:

    • Всё ли сделано по инструкции с сайта debian.org
    • Обновлено ли у вас ядро хотя бы до той версии, что у меня.

    Если все так — попробуйте сделать то, что советует virtualbox

    /etc/init.d/vboxdrv setup

    Однако, этого пути может и не существовать.

    Есть форумы, где обсуждалась эта проблема — поyahooярьте, пояндексите. Правда, когда
    у меня на ноутбуке возникла такая проблема, ничего
    оттуда не помогло. Но у меня было старое ядро!

    your current centos software installation requires of available space

    При попытке установить новую вирутальную ОС может появиться
    следующая ошибка

    virtualbox your current centos software installation requires of available space including for software and for swap space

    Нажмите Reclaim Space

    Создание host-only адаптера в VirtualBox изображение с сайта www.andreyolegovich.ru

    reclaim space


    ww.andreyolegovich.ru

    Создание host-only адаптера в VirtualBox изображение с сайта www.andreyolegovich.ru
    reclaim space


    ww.andreyolegovich.ru

    Kernel driver not installed (rc=-1908)

    Довольно затруднительная ситуация когда при выполнении

    virtualbox

    Получаете предупреждение

    WARNING: The character device /dev/vboxdrv does not exist.
    Please install the virtualbox-dkms package and the appropriate
    headers, most likely linux-headers-generic.

    You will not be able to start VMs until this problem is fixed.

    А в UI следующая ошибка

    Kernel driver not installed (rc 1908) в VirtualBox изображение с сайта www.andreyolegovich.ru

    rc=-1908


    ww.andreyolegovich.ru

    Попытки установить всё перечисленное выше и сделать apt upgrade могут не принести результата

    sudo apt install virtualbox-dkms

    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    The following packages were automatically installed and are no longer required:
    libfprint-2-tod1 libllvm10 libllvm10:i386 linux-headers-5.4.0-59
    linux-headers-5.4.0-59-generic linux-headers-5.6.0-1020-oem
    linux-headers-5.6.0-1036-oem linux-headers-5.6.0-1039-oem
    linux-image-5.4.0-59-generic linux-image-5.6.0-1020-oem
    linux-image-5.6.0-1036-oem linux-image-5.6.0-1039-oem
    linux-modules-5.4.0-59-generic linux-modules-5.6.0-1020-oem
    linux-modules-5.6.0-1036-oem linux-modules-5.6.0-1039-oem
    linux-modules-extra-5.4.0-59-generic
    linux-modules-nvidia-450-5.4.0-59-generic linux-oem-5.6-headers-5.6.0-1020
    linux-oem-5.6-headers-5.6.0-1036 linux-oem-5.6-headers-5.6.0-1039
    Use ‘sudo apt autoremove’ to remove them.
    The following additional packages will be installed:
    linux-headers-5.4.0-60 linux-headers-5.4.0-60-generic
    The following NEW packages will be installed:
    linux-headers-5.4.0-60 linux-headers-5.4.0-60-generic linux-headers-generic
    0 upgraded, 3 newly installed, 0 to remove and 1 not upgraded.
    Need to get 12.2 MB of archives.
    After this operation, 85.4 MB of additional disk space will be used.
    Do you want to continue? [Y/n] Y
    Get:1 http://fi.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-5.4.0-60 all 5.4.0-60.67 [11.0 MB]
    Get:2 http://fi.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-5.4.0-60-generic amd64 5.4.0-60.67 [1,232 kB]
    Get:3 http://fi.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-generic amd64 5.4.0.60.63 [2,468 B]
    Fetched 12.2 MB in 2s (6,333 kB/s)
    Selecting previously unselected package linux-headers-5.4.0-60.
    (Reading database … 382700 files and directories currently installed.)
    Preparing to unpack …/linux-headers-5.4.0-60_5.4.0-60.67_all.deb …
    Progress: [ 8%] [#####………………………………………………………..]
    Selecting previously unselected package linux-headers-5.4.0-60-generic……………………..]
    Preparing to unpack …/linux-headers-5.4.0-60-generic_5.4.0-60.67_amd64.deb …
    Unpacking linux-headers-5.4.0-60-generic (5.4.0-60.67) …
    Selecting previously unselected package linux-headers-generic.
    Preparing to unpack …/linux-headers-generic_5.4.0.60.63_amd64.deb …
    Unpacking linux-headers-generic (5.4.0.60.63) …
    Setting up linux-headers-5.4.0-60 (5.4.0-60.67) …
    Setting up linux-headers-5.4.0-60-generic (5.4.0-60.67) …
    /etc/kernel/header_postinst.d/dkms:
    * dkms: running auto installation service for kernel 5.4.0-60-generic

    Kernel preparation unnecessary for this kernel. Skipping…
    applying patch disable_fstack-clash-protection_fcf-protection.patch…patching file Kbuild
    Hunk #1 succeeded at 84 (offset 13 lines).

    Building module:
    cleaning build area…
    unset ARCH; [ ! -h /usr/bin/cc ] && export CC=/usr/bin/gcc; env NV_VERBOSE=1 ‘make’ -j8 NV_EXCLUDE_BUI
    LD_MODULES=» KERNEL_UNAME=5.4.0-60-generic IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/lib/mod
    Progress: [ 69%] [#######################################………..#####…………………….]
    Signing module:
    — /var/lib/dkms/nvidia/450.80.02/5.4.0-60-generic/x86_64/module/nvidia-uvm.ko
    — /var/lib/dkms/nvidia/450.80.02/5.4.0-60-generic/x86_64/module/nvidia.ko
    — /var/lib/dkms/nvidia/450.80.02/5.4.0-60-generic/x86_64/module/nvidia-modeset.ko
    — /var/lib/dkms/nvidia/450.80.02/5.4.0-60-generic/x86_64/module/nvidia-drm.ko
    Nothing to do.
    cleaning build area…

    DKMS: build completed.

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

    nvidia-modeset.ko:
    Running module version sanity check.
    — Original module
    — No original module exists within this kernel
    — Installation
    — Installing to /lib/modules/5.4.0-60-generic/updates/dkms/

    nvidia-drm.ko:
    Running module version sanity check.
    — Original module
    — No original module exists within this kernel
    — Installation
    — Installing to /lib/modules/5.4.0-60-generic/updates/dkms/

    nvidia-uvm.ko:
    Running module version sanity check.
    — Original module
    — No original module exists within this kernel
    — Installation
    — Installing to /lib/modules/5.4.0-60-generic/updates/dkms/

    depmod…

    DKMS: install completed.

    Kernel preparation unnecessary for this kernel. Skipping…

    Building module:
    cleaning build area…
    make -j8 KERNELRELEASE=5.4.0-60-generic -C /lib/modules/5.4.0-60-generic/build M=/var/lib/dkms/virtual
    box/6.1.10/build……
    Signing module:
    — /var/lib/dkms/virtualbox/6.1.10/5.4.0-60-generic/x86_64/module/vboxdrv.ko
    — /var/lib/dkms/virtualbox/6.1.10/5.4.0-60-generic/x86_64/module/vboxnetadp.ko
    — /var/lib/dkms/virtualbox/6.1.10/5.4.0-60-generic/x86_64/module/vboxnetflt.ko
    Nothing to do.
    cleaning build area…

    DKMS: build completed.

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

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

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

    depmod…

    DKMS: install completed.
    …done.
    Setting up linux-headers-generic (5.4.0.60.63) …

    sudo modprobe vboxdrv

    modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.8.0-34-generic

    sudo dpkg-reconfigure virtualbox-dkms

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

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

    vboxdrv.ko:
    — Uninstallation
    — Deleting from: /lib/modules/5.4.0-60-generic/updates/dkms/
    — 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-60-generic/updates/dkms/
    — 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-60-generic/updates/dkms/
    — 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.

    ——— Uninstall Beginning ———
    Module: virtualbox
    Version: 6.1.10
    Kernel: 5.6.0-1036-oem (x86_64)
    ————————————-

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

    vboxdrv.ko:
    — Uninstallation
    — Deleting from: /lib/modules/5.6.0-1036-oem/updates/dkms/
    — 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.6.0-1036-oem/updates/dkms/
    — 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.6.0-1036-oem/updates/dkms/
    — 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.

    ——— Uninstall Beginning ———
    Module: virtualbox
    Version: 6.1.10
    Kernel: 5.6.0-1039-oem (x86_64)
    ————————————-

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

    vboxdrv.ko:
    — Uninstallation
    — Deleting from: /lib/modules/5.6.0-1039-oem/updates/dkms/
    — 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.6.0-1039-oem/updates/dkms/
    — 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.6.0-1039-oem/updates/dkms/
    — 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.

    ——— Uninstall Beginning ———
    Module: virtualbox
    Version: 6.1.10
    Kernel: 5.6.0-1042-oem (x86_64)
    ————————————-

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

    vboxdrv.ko:
    — Uninstallation
    — Deleting from: /lib/modules/5.6.0-1042-oem/updates/dkms/
    — 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.6.0-1042-oem/updates/dkms/
    — 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.6.0-1042-oem/updates/dkms/
    — 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.
    Loading new virtualbox-6.1.10 DKMS files…
    Building for 5.8.0-34-generic 5.8.0-36-generic
    Building initial module for 5.8.0-34-generic
    ERROR: Cannot create report: [Errno 17] File exists: ‘/var/crash/virtualbox-dkms.0.crash’
    Error! Bad return status for module build on kernel: 5.8.0-34-generic (x86_64)
    Consult /var/lib/dkms/virtualbox/6.1.10/build/make.log for more information.

    sudo dpkg-reconfigure virtualbox

    Job for vboxweb.service failed because the service did not take the steps required by its unit configuration.
    See «systemctl status vboxweb.service» and «journalctl -xe» for details.
    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 Fri 2021-01-08 15:31:23 EET; 4ms ago
    Docs: man:systemd-sysv-generator(8)
    Process: 66734 ExecStart=/etc/init.d/virtualbox start (code=exited, status=1/FAILURE)

    Jan 08 15:31:23 LL-USER2 systemd[1]: Starting LSB: VirtualBox Linux kernel module…
    Jan 08 15:31:23 LL-USER2 virtualbox[66734]: * Loading VirtualBox kernel modules…
    Jan 08 15:31:23 LL-USER2 virtualbox[66734]: * No suitable module for running kernel found
    Jan 08 15:31:23 LL-USER2 virtualbox[66734]: …fail!
    Jan 08 15:31:23 LL-USER2 systemd[1]: virtualbox.service: Control process exited, code=exited, status=1/FAILURE
    Jan 08 15:31:23 LL-USER2 systemd[1]: virtualbox.service: Failed with result ‘exit-code’.
    Jan 08 15:31:23 LL-USER2 systemd[1]: Failed to start LSB: VirtualBox Linux kernel module.

    Содержание man SYSTEMD-SYSV-GENERATOR (8)

    SYSTEMD-SYSV-GENERATOR (8)
    systemd-sysv-generator S
    NAME
    systemd-sysv-generator — Unit generator for SysV init scripts
    SYNOPSIS
    /lib/systemd/system-generators/systemd-sysv-generator
    DESCRIPTION
    systemd-sysv-generator is a generator that creates wrapper .service
    units for SysV init[1] scripts in /etc/init.d/* at boot and when
    configuration of the system manager is reloaded. This will allow
    systemd(1) to support them similarly to native units.
    LSB headers[2] in SysV init scripts are interpreted, and the ordering
    specified in the header is turned into dependencies between the
    generated unit and other units. The LSB facilities «$remote_fs»,
    «$network», «$named», «$portmap», «$time» are supported and will be
    turned into dependencies on specific native systemd targets. See
    systemd.special(7) for more details.
    SysV runlevels have corresponding systemd targets (runlevelX.target).
    The wrapper unit that is generated will be wanted by those targets
    which correspond to runlevels for which the script is enabled.
    systemd does not support SysV scripts as part of early boot, so all
    wrapper units are ordered after basic.target.
    systemd-sysv-generator implements systemd.generator(7).
    SEE ALSO
    systemd(1), systemd.service(5), systemd.target(5)
    NOTES
    1.
    SysV init
    https://savannah.nongnu.org/projects/sysvinit
    2.
    LSB headers
    http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
    systemd 245 SYSTEMD-SYSV-GENERATOR(8)

    sudo apt install —reinstall linux-headers-$(uname -r) virtualbox-dkms dkms

    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    The following packages were automatically installed and are no longer required:
    libfprint-2-tod1 libllvm10 libllvm10:i386 linux-headers-5.4.0-59 linux-headers-5.4.0-59-generic
    linux-headers-5.6.0-1020-oem linux-headers-5.6.0-1036-oem linux-headers-5.6.0-1039-oem
    linux-image-5.4.0-59-generic linux-image-5.6.0-1020-oem linux-image-5.6.0-1036-oem
    linux-image-5.6.0-1039-oem linux-modules-5.4.0-59-generic linux-modules-5.6.0-1020-oem
    linux-modules-5.6.0-1036-oem linux-modules-5.6.0-1039-oem linux-modules-extra-5.4.0-59-generic
    linux-modules-nvidia-450-5.4.0-59-generic linux-oem-5.6-headers-5.6.0-1020
    linux-oem-5.6-headers-5.6.0-1036 linux-oem-5.6-headers-5.6.0-1039
    Use ‘sudo apt autoremove’ to remove them.
    0 upgraded, 0 newly installed, 3 reinstalled, 0 to remove and 1 not upgraded.
    Need to get 1,990 kB of archives.
    After this operation, 0 B of additional disk space will be used.
    Get:1 http://fi.archive.ubuntu.com/ubuntu focal/main amd64 dkms all 2.8.1-5ubuntu1 [66.6 kB]
    Get:2 http://fi.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-5.8.0-34-generic amd64 5.8.0-34.37~20.04.2 [1,236 kB]
    Get:3 http://fi.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 virtualbox-dkms amd64 6.1.10-dfsg-1~ubuntu1.20.04.1 [687 kB]
    Fetched 1,990 kB in 0s (7,308 kB/s)
    (Reading database … 412468 files and directories currently installed.)
    Preparing to unpack …/dkms_2.8.1-5ubuntu1_all.deb …
    Unpacking dkms (2.8.1-5ubuntu1) over (2.8.1-5ubuntu1) …
    Preparing to unpack …/linux-headers-5.8.0-34-generic_5.8.0-34.37~20.04.2_amd64.deb …
    Unpacking linux-headers-5.8.0-34-generic (5.8.0-34.37~20.04.2) over (5.8.0-34.37~20.04.2) …
    Preparing to unpack …/virtualbox-dkms_6.1.10-dfsg-1~ubuntu1.20.04.1_amd64.deb …

    ——————————
    Deleting module version: 6.1.10
    completely from the DKMS tree.
    ——————————
    Done.
    Unpacking virtualbox-dkms (6.1.10-dfsg-1~ubuntu1.20.04.1) over (6.1.10-dfsg-1~ubuntu1.20.04.1) …
    Setting up linux-headers-5.8.0-34-generic (5.8.0-34.37~20.04.2) …
    /etc/kernel/header_postinst.d/dkms:
    * dkms: running auto installation service for kernel 5.8.0-34-generic
    …done.
    Setting up dkms (2.8.1-5ubuntu1) …
    Setting up virtualbox-dkms (6.1.10-dfsg-1~ubuntu1.20.04.1) …
    Loading new virtualbox-6.1.10 DKMS files…
    Building for 5.8.0-34-generic 5.8.0-36-generic
    Building initial module for 5.8.0-34-generic
    ERROR: Cannot create report: [Errno 17] File exists: ‘/var/crash/virtualbox-dkms.0.crash’
    Error! Bad return status for module build on kernel: 5.8.0-34-generic (x86_64)
    Consult /var/lib/dkms/virtualbox/6.1.10/build/make.log for more information.
    dpkg: error processing package virtualbox-dkms (—configure):
    installed virtualbox-dkms package post-installation script subprocess returned error exit status 10
    Processing triggers for man-db (2.9.1-1) …
    Errors were encountered while processing:
    virtualbox-dkms
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    This system is currently not set up to build kernel modules.

    This system is currently not set up to build kernel modules.
    Please install the gcc make perl packages from your distribution.
    modprobe vboxguest failed
    The log file /var/log/vboxadd-setup.log may contain further information.

    Установите

    gcc

    В

    Rocky
    ,

    CentOS

    и RedHat это делается следующим образом

    yum install gcc

    The VirtualBox kernel modules do not match this version of VirtualBox

    RTR3InitEx failed with rc=-1912 (rc=-1912)

    The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing

    ‘/sbin/vboxconfig’

    may correct this. Make sure that you are not mixing builds of VirtualBox from different sources.

    where: supR3HardenedMainInitRuntime what: 4 VERR_VM_DRIVER_VERSION_MISMATCH (-1912) — The installed support driver doesn’t match the version of the user.

    Возможно, существует более цивилизованный способ решения этой проблемы, но мне приходится удалять текущий VirtualBox

    sudo apt remove —purge virtualbox
    sudo apt install virtualbox

    Иногда рекомендуют установить также virtualbox-dkms

    sudo apt install virtualbox-dkms

    Однажды мне помогло скачивание новой версии и устанавка из .deb

    sudo dpkg -i virtualbox-6.1_6.1.28-147628~Ubuntu~eoan_amd64.deb

    Nonexistent host networking interface

    VBoxManage: error: Nonexistent host networking interface, name » (VERR_INTERNAL_ERROR)

    Выполните, заменив ubuntu20 на имя вашей машины

    VBoxManage showvminfo ubuntu20

    У какого-то интерфейса вы обнаружите пустое место там где должно быть название сети. В данном примере
    это NIC 1

    NIC 1: MAC: 08002706DACE, Attachment: Host-only Interface » Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none

    Убедитесь, что у вас есть нужная сеть и добавьте интерфейс туда

    VBoxManage modifyvm ubuntu20 —nic1 hostonly —hostonlyadapter1 vboxnet0

    Подробнее читайте в статье

    «Подключение сетевого адаптераф»

    Cannot unregister the machine

    VBoxManage: error: Cannot unregister the machine ‘ubuntu’ while it is locked

    Значит, что ваша машина в данный момент запущена.

    Скорее всего в режиме headless, иначе бы вы её увидели и выключили бы.

    Нужно найти запущенный процесс и закончить его. Например, с помощью

    grep

    ps -A | grep VBoxHeadless

    10226 ? 00:01:01 VBoxHeadless

    kill -9 10226

    Или с помощью

    awk

    kill $(ps -A | grep VBoxHeadless | awk {‘print $1’})

    Missing Dependencies Python Core / win32api

    VBoxManage: error: Cannot unregister the machine ‘ubuntu’ while it is locked

    alt

    Установка VirtualBox в Windows 10


    alt
    Установка VirtualBox в Windows 10


    alt
    Установка VirtualBox в Windows 10


    Похожие статьи

    VirtualBox
    Установка
    Виртуальная CentOS 7 на Ubuntu
    Терминал VirtualBox
    Windows 7 на VirtualBox Debian
    NatNetwork
    VBoxManage Manual
    Разбор ошибок
    DevOps
    CentOS
    Ubuntu

    Пользователи macOS (в особенности Big Sur) сталкиваются со следующей ошибкой при использовании виртуализации VirtualBox от Oracle:

    Kernel driver not installed (rc=-1908)

    Make sure the kernel module has been loaded successfully.

    where: suplibOsInit what: 3

    VERR_VM_DRIVER_NOT_INSTALLED

    (-1908) — The support driver is not installed.

    On linux, open returned ENOENT.

    Исправить эту ошибку крайне просто. Вероятнее всего, причина её возникновения в том, что на этапе установки VirtualBox вы проигнорировали уведомление о том, что в настойках нужно предоставить одно из разрешений:

    Как исправить ошибку Kernel driver not installed (rc=-1908) в VirtualBox на macOS

    Чтобы исправить это, перейдите в «Системные настройки» macOS, откройте раздел «Защита и безопасность». В нём снимите замок в левом нижнем углу, а затем кликните на кнопку «Разрешить» рядом с появившемся пунктом «Загрузка системного ПО разработчика „Oracle America, Inc.” была заблокирована».

    Как исправить ошибку Kernel driver not installed (rc=-1908) в VirtualBox на macOS

    Если этого пункта у вас нет, попробуйте переустановить VirtualBox.

    • 10 функций macOS Ventura, которые нужно попробовать сразу после установки

    Возможно, вам также будет интересно:

  1. Виртуал бокс критическая ошибка при запуске
  2. Виртуал бокс выдает ошибку при запуске виртуальной машины
  3. Вирпул ф06 ошибка стиральная машина
  4. Вирпул стиральная машина ошибка ф23
  5. Вирпул стиральная машина ошибка ф02

  6. Понравилась статья? Поделить с друзьями:
    0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии