Arch-Linux

VirtualBox 無法創建新的虛擬機!

  • November 30, 2018

我正在嘗試製作一個新的虛擬機,但是 VirtualBox 出現此錯誤然後關閉:

Failed to create a new session.
Callee RC: 
NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154)

在終端中,這顯示給我:

$ virtualbox 
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
        available for the current kernel (3.16.3-1-ARCH) or it failed to
        load. Please reinstall the kernel module virtualbox-host-modules or
        if you don't use our stock kernel compile the modules with

          sudo dkms autoinstall

        You will not be able to start VMs until this problem is fixed.
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile

Callee RC: 
NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154)

看來您還沒有載入核心模組“vboxdrv”。使用“modprobe”載入模組,然後嘗試。如果出現問題,請嘗試再次安裝所需的軟體包。arch linux上有一個非常好的文件。

引用自:https://unix.stackexchange.com/questions/198537