我尝试在 16.04 ubuntu 上安装 VB 5.20 但出现一些错误,我不知道如何解决。
webmaster@server-hp:/opt$ sudo dpkg -i virtualbox-5.0_5.0.20-106931-Ubuntu-xenial_amd64.deb
[sudo] password for webmaster:
Selecting previously unselected package virtualbox-5.0.
(Reading database ... 223301 files and directories currently installed.)
Preparing to unpack virtualbox-5.0_5.0.20-106931-Ubuntu-xenial_amd64.deb ...
Unpacking virtualbox-5.0 (5.0.20-106931~Ubuntu~xenial) ...
Setting up virtualbox-5.0 (5.0.20-106931~Ubuntu~xenial) ...
addgroup: The group `vboxusers' already exists as a system group. Exiting.
Stopping VirtualBox kernel modules ...done.
Removing old VirtualBox pci kernel module ...done.
Recompiling VirtualBox kernel modules ...done.
Starting VirtualBox kernel modules ...failed!
(modprobe vboxdrv failed. Please use 'dmesg' to find out why)
Processing triggers for systemd (229-4ubuntu6) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for shared-mime-info (1.5-2) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160415-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...`
就像安装日志中询问的那样:
Starting VirtualBox kernel modules ...failed!
(modprobe vboxdrv failed. Please use 'dmesg' to find out why)
这里是 dmesg 输出(我只会显示红色的错误,如果需要更多或所有信息,请询问。)
[ 0.738256] platform MSFT0101:00: failed to claim resource 1
[ 0.738260] acpi MSFT0101:00: platform device creation failed: -16
[ 154.658154] tpm_crb MSFT0101:00: can't request region for resource [mem 0xfed40040-0xfed4103f]
[ 155.103699] pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=00e0(Receiver ID)
[ 155.103701] pcieport 0000:00:1c.0: device [8086:9d14] error status/mask=00000001/00002000
[ 155.103702] pcieport 0000:00:1c.0: [ 0] Receiver Error
[ 155.732956] iwlwifi 0000:02:00.0: Unsupported splx structure
内核版本
Linux server-hp 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
有什么建议可以修复这个错误?virtualbox 已安装但无法使用。
答案1
我也遇到了同样的问题。对我有用的解决方案是:启动时访问 BIOS 并禁用“安全启动”。之后,我可以毫无问题地安装 Oracle VM Virtual Box 5.0。