3.开始安装Guest Additions。
首先打开一个终端窗口,然后切换到安装包所在目录
//蓝色标识的为键盘键入的命令和选项,其他为终端输出
qho@opensolaris:/$ cd /cdrom
qho@opensolaris:/cdrom$ ls
cdrom0 opensolaris-2008-05 vboxadditions_1.6.4_33808
qho@opensolaris:/cdrom$ cd vboxadditions_1.6.4_33808
qho@opensolaris:/cdrom/vboxadditions_1.6.4_33808$ ls
AMD_PCnet driver os2 VBoxLinuxAdditions.run
AUTORUN.INF gina VBoxGuestAdditions.exe VBoxSolarisAdditions.pkg
qho@opensolaris:/cdrom/vboxadditions_1.6.4_33808$
qho@opensolaris:/cdrom/vboxadditions_1.6.4_33808$ su
Password:
qho@opensolaris:/cdrom/vboxadditions_1.6.4_33808# pkgadd -d VBoxSolarisAdditions.pkg
The following packages are available:
1 SUNWvboxguest Sun xVM VirtualBox Guest Additions
(i386) 1.6.4,REV=2008.07.29.20.14
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: // "Enter"
Processing package instance <SUNWvboxguest> from </media/VBOXADDITIONS_1.6.4_33808/VBoxSolarisAdditions.pkg>
Sun xVM VirtualBox Guest Additions(i386) 1.6.4,REV=2008.07.29.20.14
VirtualBox Personal Use and Evaluation License (PUEL)
License version 6, July 28, 2008
Sun Microsystems, Inc. ("Sun") grants you the right to use the software
product as defined in section 1 according to the following provisions.
If you do not agree to all conditions set forth by this license, you may
not use the product, because only Sun as the product's owner can give
you permission to use it.
1. SUBJECT OF LICENSE. "Product", as referred to in this License, shall
be the binary software package "VirtualBox", which allows for creating
multiple virtual computers, each with different operating systems ("Guest
Computers"), on a physical computer with a specific operating system
("Host Computer"), to allow for installing and executing these Guest
Computers simultaneously. The Product consists of executable files in
machine code for the Windows, Mac OS X, Linux and Solaris operating
systems as well as other data files as required by the executable files
at run-time and documentation in electronic form.
2. GRANT OF LICENSE. (1) Sun grants you a personal right to install and
execute the Product on a Host Computer for Personal Use or Educational
Use or for Evaluation. "Personal Use" requires that you use the product
on the same Host Computer where you installed it yourself and that no
more than one client connect to that Host Computer at a time for the
purpose of displaying Guest Computers remotely. "Educational use" is
any use in an academic institution (schools, colleges and universities,
by teachers and students). "Evaluation" means testing the product for a
reasonable period (that is, normally for a few weeks); after expiry of
that term, you are no longer permitted to evaluate the Product.
(2) The "VirtualBox Guest Additions" are a set of drivers and utilities
that are shipped as a subset of the Product for the purpose of being
installed inside a Guest Computer to improve its performance and
cooperation with the rest of the Product. In addition to and independent
of the rights granted by subsection 1, Sun allows you to install, execute,
copy and redistribute a) unmodified copies of the ISO installation medium
of the VirtualBox Guest Additions as shipped with the Product and b)
the VirtualBox Guest Additions together with the Guest Computer into
which they have been installed.
3. RESERVATION OF RIGHTS. Any use beyond the provisions of article 2.
is prohibited. Sun reserves all copyrights and other intellectual
property rights. This includes, but is not limited to, the right to
modify, make available or public, rent out, lease, lend or otherwise
distribute the Product. This does not apply as far as applicable law
may require it or Sun grants you additional rights of use in a separate
license in writing.
4. TERMINATION. This License shall be valid infinitely. Sun may
terminate the License only for material causes. In particular, such a
material cause can be a violation of the usage terms or a breach of other
essential duties from this contract. After termination, you are required
to delete and destroy all remaining copies of the Product. This includes,
but is not limited to, installed copies and backups.
5. NO WARRANTIES. Since you have not paid for the use of the Product,
there is no warranty for it, to the extent permitted by applicable
law. Sun provides the Product "as is" without warranty of any kind,
either expressed or implied, including, but not limited to, the implied
warranties of merchantability and fitness for a particular purpose. The
entire risk as to the quality and performance of the Product is with
you. Should it prove defective, you assume the cost of all necessary
servicing, repair, or correction. In addition, Sun shall be allowed to
provide updates to the Product in urgent cases. You are then obliged to
install such updates. Such an urgent case includes, but is not limited
to, a claim of rights to the Product by a third party.
6. MISCELLANEOUS. There are no license terms beyond the written ones in
this agreement. Amendments of, additions to and the joint revocation of
this agreement shall require the written form. The same shall apply to
the preceding written form requirement. Standard business conditions of
the parties shall not apply. Place of performance and legal venue shall
be Santa Clara, California, the domicile of Sun. Any action related
to this Agreement will be governed by California law and controlling
U.S. federal law. No choice of law rules of any jurisdiction will apply.
Using </> as the package base directory.
## Processing package information.
## Processing system information.
WARNING: setting mode of </etc/devlink.tab> to default mode (644)
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
Do you want to continue with the installation of <SUNWvboxguest> [y,n,?] y
Installing Sun xVM VirtualBox Guest Additions as <SUNWvboxguest>
## Installing part 1 of 1.
/opt/VirtualBoxAdditions/1099.vboxclient
/opt/VirtualBoxAdditions <implied directory>
/opt/VirtualBoxAdditions/VBoxClient
/opt/VirtualBoxAdditions/VBoxRandR.sh
/opt/VirtualBoxAdditions/VBoxService
/opt/VirtualBoxAdditions/etc/devlink.tab
/opt/VirtualBoxAdditions/solaris_xorg.conf
/opt/VirtualBoxAdditions/vboxclient.desktop
/opt/VirtualBoxAdditions/vboxguest.conf
/opt/VirtualBoxAdditions/vboxguest.sh
/opt/VirtualBoxAdditions/vboxmouse_drv_14.so
/opt/VirtualBoxAdditions/vboxmouse_drv_70.so
/opt/VirtualBoxAdditions/vboxmouse_drv_71.so
/opt/VirtualBoxAdditions/vboxvideo_drv_13.so
/opt/VirtualBoxAdditions/vboxvideo_drv_14.so
/opt/VirtualBoxAdditions/vboxvideo_drv_70.so
/opt/VirtualBoxAdditions/vboxvideo_drv_71.so
/opt/VirtualBoxAdditions/x11config.pl
/opt/VirtualBoxAdditions/x11restore.pl
/platform/i86pc/kernel/drv/vboxguest
/var/svc/manifest/system/virtualbox/vboxservice.xml
/var/svc/manifest/system/virtualbox <implied directory>
[ verifying class <none> ]
Modifying /etc/devlink.tab
[ verifying class <sed> ]
## Executing postinstall script.
Configuring VirtualBox guest kernel module...
VirtualBox guest kernel module loaded.
Creating links...
Configuring Xorg...
Configuring client...
Configuring service...
Done.
Please re-login to activate the X11 guest additions.
If you have just un-installed the previous guest additions a REBOOT is required.
Installation of <SUNWvboxguest> was successful.
qho@opensolaris:/cdrom/vboxadditions_1.6.4_33808#
重新启动后Guest Additions 就起作用了
现在鼠标可以自由得在宿主主机系统和虚拟机的窗口间自由移动了!
另外网络通讯的功能也是需要这个附件组件支持的。
【Guest Additions。安装完毕】
[ 本帖最后由 云杉上的蝴蝶 于 2008-9-8 15:51 编辑 ]