`
stenlylee
  • 浏览: 255224 次
  • 性别: Icon_minigender_1
  • 来自: 南京
社区版块
存档分类
最新评论

VirtualBox requires Linux 2.6.27 or later for this

阅读更多

在VirtualBox里面Ubuntu 8.0.4 Server安装好以后,一般需要装一下Guest Additional,不然分辨率最多只能到800*600,而且鼠标要么只能用在虚拟机内,出来还要用Ctrl+Right切换

 

VirtualBox菜单 - 设备 - 安装增强功能,Ubuntu会加载一个光盘

cd /cdrom/
sudo sh ./VBoxLinuxAddtions-x86.run

会提示

please install the build and header files for your current Linux kernel
the current kernel version is 2.6.24-24-server
this system does not seem to have support for OpenGL direct rendering
VirtualBox requires Linux 2.6.27 or later for this

 

解决办法:

首先要确保系统安装了dkms与gcc

如果没有安装,执行

sudo apt-get install dkms gcc

然后执行

sudo apt-get install linux-headers-$(uname -r)

这样就好了,最后执行

sudo sh ./VBoxLinuxAddtions-x86.run

重启,完成

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics