我刚刚从虚拟盒子中安装了该软件,我从ubuntu官方网站上下载了ISO,这是最新的LTS。
我试图使用“插入来宾添加CD映像”来安装来宾添加。结果:
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.2.0 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 5.2.0 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Building the VirtualBox Guest Additions
kernel modules.
VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find
out what went wrong
VirtualBox Guest Additions: Running kernel modules will not be replaced
until the system is restarted
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: modprobe vboxsf failed
Press Return to close this window...
在/var/log/vboxadd-setup.log中:
错误:
Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
完整版本的日志文件可以在这里找到[?]
modprobe vboxsf failed
根据此票证,该行实际上是一条红色鲱鱼:消息“ modprobe vboxsf失败”仅是表面上的问题,不是真正的问题,但我同意这令人困惑,应予以解决。