当前位置:   article > 正文

Fedora 23 更新内核后VirtualBox虚拟机报错1908 之一

dkms error you kernel headers for

Linux更新内核后VirtualBox虚拟机经常报错,以前的没有记载,这次开始记录吧

环境:Fedora 23   

           VirtualBox-5.0-5.0.12_104815_fedora22-1.x86_64

一次更新内核后dnf update 后出现1908提示 如下

[root@test-os yonghu]# /sbin/rcvboxdrv setup
Stopping VirtualBox kernel modules                         [  确定  ]
Uninstalling old VirtualBox DKMS kernel modules            [  确定  ]
Trying to register the VirtualBox kernel modules using DKMSError! echo
Your kernel headers for kernel 4.3.3-300.fc23.x86_64+debug cannot be found at
/lib/modules/4.3.3-300.fc23.x86_64+debug/build or /lib/modules/4.3.3-300.fc23.x86_64+debug/source.
                                                           [失败]
  (Failed, trying without DKMS)
Recompiling VirtualBox kernel modules                      [失败]
  (Look at /var/log/vbox-install.log to find out what went wrong)


 

rpmfind.net 上查看kernel 4.3.3-300.fc23.x86_64+debug 之后安装

[root@test-os yonghu]#rpm -ivh ftp://rpmfind.net/linux/fedora/linux/updates/23/x86_64/k/kernel-debug-devel-4.3.3-300.fc23.x86_64.rpm

获取ftp://rpmfind.net/linux/fedora/linux/updates/23/x86_64/k/kernel-debug-devel-4.3.3-300.fc23.x86_64.rpm
准备中...                          ################################# [100%]
正在升级/安装...
   1:kernel-debug-devel-4.3.3-300.fc23                                  (  ################################# [100%]

 

安装完成后输入:/sbin/rcvboxdrv setup

[root@test-os yonghu]# /sbin/rcvboxdrv setup

Stopping VirtualBox kernel modules                         [  确定  ]
Uninstalling old VirtualBox DKMS kernel modules            [  确定  ]
Trying to register the VirtualBox kernel modules using DKMS[  确定  ]
Starting VirtualBox kernel modules                         [  确定  ]


 

OK 搞定 完毕 运行VBOX虚拟机 可以正常打开了。

转载于:https://www.cnblogs.com/linux234/p/5131269.html

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家自动化/article/detail/1000366
推荐阅读
相关标签
  

闽ICP备14008679号