在VirtualBox下安装CentOS时出现如下错误:
Cannot access the kernel driver! Make sure the kernel module has been loaded successfully. Failed to open a session for the virtual machine Masonux.
Virtual machine 'Masonux' has terminated unexpectedly during startup.
解决办法如下:
1.进入D:\Program Files\Oracle\VirtualBox\drivers\vboxdrv文件夹(VirtualBox的安装目录),找到vboxdrv.inf这个文件,鼠标右键点,然后选择安装;
2.重新启动虚拟机即可。