VirtualBox安装增强功能出错解决(debian版)

错误信息 /var/log/vboxadd-install.log

/tmp/vbox.0/Makefile.include.header:112: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.  Stop.
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
cjinle@debian:/mnt$ sudo apt-get install kernel-headers kernel-devel
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package kernel-headers
E: Unable to locate package kernel-devel
</directory>

继续阅读

VirtualBox挂载共享文件夹权限与所属身份设置

VirtualBox共享文件夹功能很好用,可以做到虚拟机与母机之间的文件共享
但默认挂载的权限与所属身份和我们所需要的情况不符合,下面可以设置指定的挂载方式

在/etc/rc.local加上

mount -o umask=002,gid=www,uid=www -t vboxsf wwwroot /media/sf_wwwroot

安装指南

VirtualBox安装增强功能出错解决
继续阅读

VirtualBox安装增强功能出错解决

出错日志如下:

Verifying archive integrity... All good.
Uncompressing VirtualBox 4.3.6 Guest Additions for Linux............
VirtualBox Guest Additions installer
Removing installed version 4.3.6 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
Removing existing VirtualBox non-DKMS kernel modules       [  OK  ]
Building the VirtualBox Guest Additions kernel modules
The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.
The missing package can be probably installed with
yum install kernel-devel-2.6.32-573.el6.i686
 
Building the main Guest Additions module                   [FAILED]
(Look at /var/log/vboxadd-install.log to find out what went wrong)
Doing non-kernel setup of the Guest Additions              [  OK  ]
Installing the Window System drivers                       [FAILED]
(Could not find the X.Org or XFree86 Window System.)

继续阅读

VirtualBox发送”Ctrl+Alt+Del”键命令

最近在Linux下安装了VirtualBox

就是为了在上面跑Windows, 有时候真的是需要用到WIN,我所指的不是技术的需要,

而是网上银行那些东西就要,没办法。

我在VirtualBox安装的是Windows2003,

Windows2003登录时候要按“Ctrl+Alt+Del”来解锁。

但这个组合键和本身系统的有冲突。

其实方法很解决:

VirtualBox菜单下 设置-->发送 Ctrl+Alt+Del

或者Ctrl+Del (这个Ctrl是右边那个,也就是Host键)

继续阅读