一直都在使用虚拟机,但今天开机后却不能运行。显示如下错误:
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Re-setup the kernel module by executing
'/etc/init.d/vboxdrv setup'
as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
如果你的系统是ubuntu的可以这样解决:
sudo aptitude update
sudo aptitude install dkms
sudo /etc/init.d/vboxdrv setup
命令行中会提示:Stopping VirtualBox kernel module
Recompiling VirtualBox kernel module
Starting VirtualBox kernel module
就可以了。
注意,需要看清楚你的内核和升级的是不是同一个,如不是还需要把old卸载,然后reboot,用新内核再vboxdrv setup。
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Re-setup the kernel module by executing
'/etc/init.d/vboxdrv setup'
as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
如果你的系统是ubuntu的可以这样解决:
sudo aptitude update
sudo aptitude install dkms
sudo /etc/init.d/vboxdrv setup
命令行中会提示:Stopping VirtualBox kernel module
Recompiling VirtualBox kernel module
Starting VirtualBox kernel module
就可以了。
注意,需要看清楚你的内核和升级的是不是同一个,如不是还需要把old卸载,然后reboot,用新内核再vboxdrv setup。
本文解决了一个常见的虚拟机启动问题:开机后无法运行并提示“Kerneldrivernotinstalled”错误。介绍了如何通过重新安装内核模块来修复此问题,并针对Ubuntu用户提供了具体的步骤。
1786

被折叠的 条评论
为什么被折叠?



