编译内核模块需要对应内核版本的头文件和一部分源码。vbox的驱动等也是内核模块。
在 10-7-26,black&wh...@shine<liveit...@gmail.com> 写道: > 谢谢提醒,我按错误信息提示,找到了个方法 > > makefile:23:***Error:unable to find the sources of your current Linux > kernal.Specify KERN_DIR=<directory> and run Make again. > Creating user for the Guest Additions. > Creating udev rule for the Guest Additions kernel module. > > 1) sudo apt-get install linux-headers-`uname -r` > 2) sudo /etc/init.d/vboxadd setup > > 然后重启,看到VBox sameless mode激活了.对执行过程的意义还不太清楚.I am a newbie. > > 在 10-7-26,Xie Shaohu<shaohu....@gmail.com> 写道: >> 没有错误信息也不好帮你。 >> >> On Mon, 2010-07-26 at 03:35 +0800, ubuntu client wrote: >> >>> 大家好,我前天在VirtualBox里虚拟了一台ubuntu desktop,安装了增强工具,已经 >>> 使用上了sameless mode.这个功能非常爽.但今天同样虚拟了一台ubuntu server, >>> 同样的步骤安装增强工具总是失败.搜索很多页面没找到针对服务器安装失败的方 >>> 法,请教服务器版安装增强工具的先决条件和正确步骤.先谢谢 >>> >>> >> >> >> -- >> Xie Shaohu, Beijing - China >> skype: shaohu.xie >> msn: shaohu....@hotmail.com >> -------------- 下一部分 -------------- >> 一个HTML附件被移除... >> URL: >> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20100726/832dd778/attachment.htm >> -------------- 下一部分 -------------- >> 一个非文本附件被清除... >> 发信人: %(who)s >> 主题: %(subject)s >> 日期: %(date)s >> 大小: 490 >> Url: >> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20100726/832dd778/attachment.pgp >> -- >> ubuntu-zh mailing list >> ubuntu-zh@lists.ubuntu.com >> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh >> > -- > ubuntu-zh mailing list > ubuntu-zh@lists.ubuntu.com > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh > -- 从我的移动设备发送 -- ubuntu-zh mailing list ubuntu-zh@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh