安装好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:~$