hanling 发表于 2016-1-10 14:28:11

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
  重启,完成
页: [1]
查看完整版本: VirtualBox requires Linux 2.6.27 or later for this