close

WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (4.18.0-17-generic) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /sbin/vboxconfig
 

執行後會出現如上的錯誤訊息

而執行 sudo /sbin/vboxconfig 之後

卻又出現如下的訊息

vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
This system is currently not set up to build kernel modules.
Please install the gcc make perl packages from your distribution.
This system is currently not set up to build kernel modules.
Please install the gcc make perl packages from your distribution.

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.

先執行 sudo apt install gcc make -y

再重新執行 sudo /sbin/vboxconfig

vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
 

再重新開啟 virtualbox 就可以正常使用了

arrow
arrow
    全站熱搜

    ying5320 發表在 痞客邦 留言(0) 人氣()