LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1201|回复: 2

opensuse11.4升级后virtaulbox无法启动的解决方法

[复制链接]
发表于 2011-6-28 17:05:35 | 显示全部楼层 |阅读模式
LD:/media/winf/opensuse11.4 # rpm -ivh VirtualBox-4.0-4.0.8_71778_openSUSE114-1.i586.rpm
warning: VirtualBox-4.0-4.0.8_71778_openSUSE114-1.i586.rpm: Header V4 DSA/SHA1 Signature, key ID 98ab5139: NOKEY
Preparing...                ########################################### [100%]
   1:VirtualBox-4.0         ########################################### [100%]

Creating group 'vboxusers'. VM users must be member of that group!

No precompiled module for this kernel found -- trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.

Stopping VirtualBox kernel modules..done
Uninstalling old VirtualBox DKMS kernel modules..done
Trying to register the VirtualBox kernel modules using DKMS..failed
  (Failed, trying without DKMS)
Recompiling VirtualBox kernel modules..failed
  (Look at /var/log/vbox-install.log to find out what went wrong)



ldonger@LD:~> /usr/bin/VirtualBox
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (2.6.37.6-0.5-desktop) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /etc/init.d/vboxdrv setup

         You will not be able to start VMs until this problem is fixed.
/usr/bin/VirtualBox: line 77: /usr/lib/virtualbox/VirtualBox: 权限不够
/usr/bin/VirtualBox: line 77: exec: /usr/lib/virtualbox/VirtualBox: cannot execute: 权限不够
ldonger@LD:~> sudo /etc/init.d/vboxdrv setup
root's password:
Stopping VirtualBox kernel modules                                                                          done
Uninstalling old VirtualBox DKMS kernel modules                                                             done
Trying to register the VirtualBox kernel modules using DKMS                                                 failed
  (Failed, trying without DKMS)
Recompiling VirtualBox kernel modules                                                                       failed
  (Look at /var/log/vbox-install.log to find out what went wrong)

First,Update your system
#zypper update

Then,untistall the Virtualbox and install it again.Should be no problem.But,if still can not start it
you should to install gcc make kernel-header
#zypper in gcc make kernel-header
 楼主| 发表于 2011-10-30 18:20:16 | 显示全部楼层
ldonger@ldonger:~> VirtualBox
/usr/bin/VirtualBox: line 77: /usr/lib/virtualbox/VirtualBox: 权限不够
/usr/bin/VirtualBox: line 77: exec: /usr/lib/virtualbox/VirtualBox: cannot execute: 权限不够
ldonger@ldonger:~> su
密码:
ldonger:/home/Ldonger # cd /usr/lib/virtualbox/
ldonger:/usr/lib/virtualbox # chmod 4755 VirtualBox
ldonger:/usr/lib/virtualbox #
ldonger:/usr/lib/virtualbox # exit
exit
ldonger@ldonger:~> VirtualBox
回复 支持 反对

使用道具 举报

发表于 2011-11-15 16:29:30 | 显示全部楼层
以前VirtualBox4还不能用USB接口

还是3好用啊~~呵呵
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表