在Ubuntu 14.04上安装Virtualbox guest虚拟机添加内容从Windows 7开始

时间:2016-01-18 19:15:16

标签: virtualbox ubuntu-14.04

我为我的笔记本电脑Dell Xps 15 lx502购买了一个新的ssd,我已经安装了Windows 7。然后,我已经安装了virtualbox 4.0.36,我已经尝试过多次安装ubuntu 14.04和guest添加,但似乎我有图形卡或其他问题。这是安装过程的输出:

VirtualBox Guest Additions installer
: not foundh: 4: ./deffiles:
: not foundh: 16: ./deffiles:
: not foundh: 23: ./deffiles:
: not foundh: 73: ./deffiles:
Removing existing VirtualBox DKMS kernel modules ...done.
Removing existing VirtualBox non-DKMS kernel modules ...done.
Building the VirtualBox Guest Additions kernel modules
The headers for the current running kernel were not found. If the following      module compilation fails then this could be the reason.

Doing non-kernel setup of the Guest Additions ...done.
You should restart your guest to make sure the new modules are actually used

Installing the Window System drivers
Warning: unknow version of the X Window System installed. Not installing
X Window System drivers.
Installing graphics libraries and desktop services components ...done.
Press Return to close this window...

重新启动后,我无法调整已安装的两个显示器的大小。有人可以帮帮我吗?

由于

1 个答案:

答案 0 :(得分:0)

尝试在guest虚拟机中安装linux头文件和编译器工具:

sudo apt-get install build-essential linux-headers