vbox安装suse 12后安装增强工具

在VirtualBox中安装SUSE 12后,分辨率等需要安装增强工具,加载增强工具盘后执行:

# ./VBoxLinuxAdditions.run

Verifying archive integrity... All good.
Uncompressing VirtualBox 5.1.22 Guest Additions for Linux...........
VirtualBox Guest Additions installer
Copying additional installer modules ...
Installing additional modules ...
vboxadd.sh: Starting the VirtualBox Guest Additions.
Failed to set up service vboxadd, please check the log file

/var/log/VBoxGuestAdditions.log for details.


安装失败,根据提示查看日志,可以看出内核文件缺少,在yast2中安装kernel-devel,再次安装再次出错,日志内容变为:

# cat /var/log/VBoxGuestAdditions.log
vboxadd.sh: failed: modprobe vboxguest failed.


执行如下命令:


# modprobe vboxsf
modprobe: ERROR: module 'vboxguest' is unsupported
modprobe: ERROR: Use --allow-unsupported or set allow_unsupported_modules 1 in
modprobe: ERROR: /etc/modprobe.d/10-unsupported-modules.conf
modprobe: ERROR: could not insert 'vboxsf': Operation not permitted

根据提示编辑如下配置文件:


# vi /etc/modprobe.d/10-unsupported-modules.conf


将allow_unsupported_modules的值由0改为1,再次执行安装程序:


./VBoxLinuxAdditions.run


提示成功,注销重新登录,分辨率、共享剪切板和双向拖拽功能都可正常使用。

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值