>>> Recording app-emulation/virtualbox-bin in "world" favorites file...
* Messages for package app-emulation/virtualbox-modules-3.0.2:
* Starting with the 3.x release new kernel modules were added,
* be sure to load all the needed modules.
*
* Please add "vboxdrv", "vboxnetflt" and "vboxnetadp" to:
* /etc/modules.autoload.d/kernel-2.6
*
* Messages for package app-emulation/virtualbox-bin-3.0.2:
* Fallback PaX marking -m
* /var/tmp/portage/app-emulation/virtualbox-bin-3.0.2/image//opt/VirtualBox/VBoxManage
* Fallback PaX marking -m
* /var/tmp/portage/app-emulation/virtualbox-bin-3.0.2/image//opt/VirtualBox/VBoxSVC
* Fallback PaX marking -m
* /var/tmp/portage/app-emulation/virtualbox-bin-3.0.2/image//opt/VirtualBox/VBoxXPCOMIPCD
* Fallback PaX marking -m
* /var/tmp/portage/app-emulation/virtualbox-bin-3.0.2/image//opt/VirtualBox/VBoxTunctl
* Fallback PaX marking -m
* /var/tmp/portage/app-emulation/virtualbox-bin-3.0.2/image//opt/VirtualBox/VBoxNetAdpCtl
* Fallback PaX marking -m
* /var/tmp/portage/app-emulation/virtualbox-bin-3.0.2/image//opt/VirtualBox/VBoxNetDHCP
* Fallback PaX marking -m
* /var/tmp/portage/app-emulation/virtualbox-bin-3.0.2/image//opt/VirtualBox/VBoxTestOGL
* Fallback PaX marking -m
* /var/tmp/portage/app-emulation/virtualbox-bin-3.0.2/image//opt/VirtualBox/VBoxSDL
* Fallback PaX marking -m
* /var/tmp/portage/app-emulation/virtualbox-bin-3.0.2/image//opt/VirtualBox/VBoxHeadless
* Fallback PaX marking -m
* /var/tmp/portage/app-emulation/virtualbox-bin-3.0.2/image//opt/VirtualBox/VirtualBox
*
* To launch VirtualBox just type: "VirtualBox"
*
* You must be in the vboxusers group to use VirtualBox.
*
* For advanced networking setups you should emerge:
* net-misc/bridge-utils and sys-apps/usermode-utilities
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
* IMPORTANT: 1 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
vi /etc/modules.autoload.d/kernel-2.6
添加
vboxdrv
vboxnetflt
vboxnetadp
gpasswd -a jesse vboxusers
安装系统后可以安装VirtualBox Guest Additions,位置在Devices==>Install Guest Addtions,快捷键是ctrl+alt+D。安装完成重启后就能看到Machines下面的Seamless Mode(ctrl+alt+L,无缝模式,好像虚拟机只是一个窗口界面一样)、Disable Mouse Integration(ctrl+alt+I,这个功能是让鼠标能够在host machine和guest machine之间移动而不需要按ctrl+alt键)能用了
共享文件夹的设置:
Devices==>Shared Folders添加要共享的host machine文件夹
在虚拟机系统(XP)里面运行: net use E: \\vboxsvr\home
net use F: \\vboxsvr\sda6
net use G: \\vboxsvr\sda9
如果客户机为linux,则 mount -t vboxsf sda6 /mnt/sda6/