ubuntu内核升级后virtualbox无法访问的解决方法

root@pat-Latitude-E5410:~# /etc/init.d/vboxdrv setup
* Stopping VirtualBox kernel modules                                    [ OK ]
* Uninstalling old VirtualBox DKMS kernel modules                              Error! There are no instances of module: vboxhost
4.1.6 located in the DKMS tree.
                                                                         [ OK ]
* Trying to register the VirtualBox kernel modules using DKMS                  Error! Your kernel headers for kernel 3.0.0-14-generic-pae cannot be found.
Please install the linux-headers-3.0.0-14-generic-pae package,
or use the --kernelsourcedir option to tell DKMS where it's located

* Failed, trying without DKMS
* Recompiling VirtualBox kernel modules                                       
* Look at /var/log/vbox-install.log to find out what went wrong


root@pat-Latitude-E5410:~# apt-get install linux-headers-3.0.0-14-generic-pae
root@pat-Latitude-E5410:~# apt-get install linux-headers-3.0.0-14-generic-pae

root@pat-Latitude-E5410:~# /etc/init.d/vboxdrv setup
* Stopping VirtualBox kernel modules                                    [ OK ]
* Uninstalling old VirtualBox DKMS kernel modules                       [ OK ]
* Trying to register the VirtualBox kernel modules using DKMS           [ OK ]
* Starting VirtualBox kernel modules                                    [ OK ]

你可能感兴趣的:(ubuntu,VirtualBox)