0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

kernel update後VirtualBoxが使えなくなった場合

Last updated at Posted at 2020-09-21

Virtual box show error after kernel update :(

The vboxdrv kernel module is not loaded. 
Either there is no module available for the current kernel
C:\home\funa> sudo /sbin/vboxconfig
vboxdrv.sh: Stopping VirtualBox services.
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.

I reinstalled Virtualbox and it worked :thumbsup:

sudo apt-get install --reinstall virtualbox

I also checked my logs :frowning2:
えらーろぐ(長い)

Building the main VirtualBox module.
Error building the module:
make V=1 CONFIG_MODULE_SIG= CONFIG_MODULE_SIG_ALL= -C /lib/modules/5.8.0-kali1-amd64/build M=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j8 modules
make[1]: 警告: 副次 make で -j8 を強制指定しました: jobserver モードをリセットします.
make -C /usr/src/linux-headers-5.8.0-kali1-amd64 -f /usr/src/linux-headers-5.8.0-kali1-common/Makefile modules
make -f /usr/src/linux-headers-5.8.0-kali1-common/scripts/Makefile.build obj=/tmp/vbox.0 \
single-build= \

In file included from /usr/src/linux-headers-5.8.0-kali1-common/include/asm-generic/percpu.h:7,

make[3]: *** [/usr/src/linux-headers-5.8.0-kali1-common/scripts/Makefile.build:286: /tmp/vbox.0/linux/SUPDrv-linux.o] エラー 1
make[3]: *** 未完了のジョブを待っています....
make[2]: *** [/usr/src/linux-headers-5.8.0-kali1-common/Makefile:1768: /tmp/vbox.0] エラー 2
make[1]: *** [/usr/src/linux-headers-5.8.0-kali1-common/Makefile:185: __sub-make] エラー 2
make: *** [/tmp/vbox.0/Makefile-footer.gmk:117: vboxdrv] エラー 2

Unfortunately if you need to recompile, check some articles.
https://www.kali.org/docs/development/recompiling-the-kali-linux-kernel/
https://cpoint-lab.co.jp/article/201903/8784/

Thx! :smiley:

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?