VirtualBox无法开启虚拟机(出现内核错误)

VirtualBox无法开启虚拟机(出现内核错误) - 1
有网友告诉我他的VBOX无法开启虚拟机,出现这一类的错误(例如:Failed to open a session for the virtual machine XXX. The virtual machine ‘XXX’ has terminated unexpectedly during startup with exit code 1.)
出现这种错误有可能是kernel drive未安装

解决方案
查看内核版本

uname -r

安装kernel drive,选择对应的内核版本

sudo yum install kmod-VirtualBox-'内核版本号'

重启服务

sudo systemctl restart systemd-modules-load.service

但是每次系统更新内核后,也要重新安装kernel-drive,如果需要自动更新的话就安装dkms。

2 thoughts on “VirtualBox无法开启虚拟机(出现内核错误)”

Leave a Reply

Your email address will not be published. Required fields are marked *