debian安装 Virtualbox 的加强功能问题处理

安装时遇到提示:linux


Building the VirtualBox Guest Additions kernel modulesui

The headers for the current running kernel were not found. If the followingthis

module compilation fails then this could be the reason.rest

 ...fail!component


记得之前安装一样的版本没有此问题,估计是安装时漏选了一些软件包。解决以下:it


1.   cp  VBoxLinuxAdditions.run   VBoxLinuxAdditions-x86.runio


2.chmod +x VBoxLinuxAdditions-x86.runmodule


3.aptitude install dkms gcc makegcc


4.aptitude install linux-headers-$(uname -r)软件


5../VBoxLinuxAdditions-x86.run


以下提示成功,而后重启,ok!:


Building the main Guest Additions module ...done.

Building the shared folder support module ...done.

Doing non-kernel setup of the Guest Additions ...done.

Starting the VirtualBox Guest Additions ...done.

Installing the Window System drivers

Installing X.Org Server 1.4 modules ...done.

Setting up the Window System to use the Guest Additions ...done.

You may need to restart the hal service and the Window System (or just restart

the guest system) to enable the Guest Additions.


Installing graphics libraries and desktop services components ...done.


另外镜像另一台主机时提示uuid冲突,用一下命令解决



cd /D D:\Program Files\Oracle\VirtualBox


 D:\Program Files\Oracle\VirtualBox>VBoxManage internalcommands sethduuid "D:\My

Virtual Machines/debian-1.vdi"

UUID changed to: 630ca607-b1c1-4ad1-8897-176e20b46e9a


D:\Program Files\Oracle\VirtualBox>

相关文章
相关标签/搜索