宿主系统是ubuntu10.4-LTS-i386
vbox 版本3.2

首先给系统装上gcc ,  kernel-devel等包
先切换到root
#yum install gcc, kernel-devel
(如果连不了网,请参考我的另一篇如何架设yum 本地源/光盘源/内网ftp源

然后进入vbox光驱,安装vbox的增强镜像包,如果找不到,请对着vbox的标题栏点ctrl+d
[root@rh VBOXADDITIONS_3.2.12_68302]# sh VBoxLinuxAdditions-x86.run 

装完后重启系统就可以正常使用

下面是我的安装提示

  Verifying archive integrity... All good.
Uncompressing VirtualBox 3.2.12 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 3.2.12 of VirtualBox Guest Additions...
Uninstalling old VirtualBox DKMS kernel modules            [确定]
Building the VirtualBox Guest Additions kernel modules
Your guest system does not seem to have sufficient OpenGL support to enable
accelerated 3D effects (this requires Linux 2.6.27 or later in the guest
system).  This Guest Additions feature will be disabled.

Building the main Guest Additions module                   [确定]
Building the shared folder support module                  [确定]
Doing non-kernel setup of the Guest Additions              [确定]
Starting the VirtualBox Guest Additions                    [确定]
Installing the Window System drivers
Installing X.Org 7.1 modules                               [确定]
Setting up the Window System to use the Guest Additions    [确定]
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 componen[确定]