红联Linux门户
Linux帮助

Ubuntu15 in Virtualbox无法全屏

发布时间:2015-11-10 10:11:30来源:linux网站作者:TechRunner

问题描述:

在vbox中安装完ubuntu15后,默认无法全屏。此时,需要通过安装虚拟机补丁来支持全屏等功能。当前vbox版本为4.3.2,加载VboxGuestAdditions.iso后,自动安装时报错:

Building the main Guest Additions module ...fail!
(Look at /var/log/vboxadd-install.log to find out what went wrong)

#打开 /var/log/vboxadd-install.log可看到报错原因:
grep: /lib/modules/3.19.0-21-generic/build/include/linux/version.h: No such file or directory
make KBUILD_VERBOSE=1 CONFIG_MODULE_SIG= -C /lib/modules/3.19.0-21-generic/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (                \
echo >&2;                                                       \
echo >&2 "  ERROR: Kernel configuration is invalid.";           \
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";      \
echo >&2 ;                                                      \
/bin/false)
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/tmp/vbox.0
@
这应该是因为vbox版本过旧,不支持最新版的ubuntu操作系统导致的。


解决办法:

更新VirtualBox为4.3.30后,再重新加载VboxGuestAdditions.iso并自动安装,安装成功。

Ubuntu15 in Virtualbox无法全屏

然后,重启系统,问题解决。

另外,ubuntu操作系统的简洁、高效,让人印象深刻。

Ubuntu15 in Virtualbox无法全屏


虚拟机VirtualBox中Ubuntu无法全屏解决方法:http://www.linuxdiyf.com/linux/8430.html

Ubuntu 11.04下WebQQ Air增强版无法全屏解决方法:http://www.linuxdiyf.com/linux/7295.html

VirtualBox安装Ubuntu如何实现全屏:http://www.linuxdiyf.com/linux/14921.html

VirtualBox中如何全屏显示:http://www.linuxdiyf.com/linux/4744.html

解决VirtualBox安装Ubuntu全屏问题:http://www.linuxdiyf.com/linux/780.html