宿主系統是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[確定] |