安裝好Ubuntu 9.10後,運行Ubuntu並登錄。然後在VirtualBox的菜單裏選擇"設備(Devices)" -> "安裝增強功能包(Install Guest Additions)"。
你會發現在Ubuntu桌面上多出一個光盤圖標,這張光盤默認被自動加載到了文件夾/media/cdom0。進入命令行終端,輸入
sudo sh /media/VBOXADDITIONS_3.2.8_64453/VBoxLinuxAdditions-amd64.run 這是64bit的,如果是32bit 的則運行 sudo sh /media/VBOXADDITIONS_3.2.8_64453/VBoxLinuxAdditions-x86.run
@a-desktop:~$ sudo sh /media/VBOXADDITIONS_3.2.8_64453/VBoxLinuxAdditions-amd64.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 3.2.8 Guest Additions for Linux.........
VirtualBox Guest Additions installer
tar: Record size = 8 blocks
Building the VirtualBox Guest Additions kernel modules
Building the main Guest Additions module ...done.
Building the shared folder support module ...done.
Building the OpenGL 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.7 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.
a@lingo-desktop:~$