Тоже беда: VirtualBox установлен, но не хочет работать.
Не получается запустить виртуальную машину.
Выводится такое сообщение:
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. Please reinstall the kernel module by executing
'/etc/init.d/vboxdrv setup'
as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
запускаю
sudo /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 Error! Your kernel headers for kernel 3.5.0-030500-generic cannot be found.
Please install the linux-headers-3.5.0-030500-generic 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
запускаю
sudo apt-get install dkms
Ответ
Чтение списков пакетов… Готово
Построение дерева зависимостей
Чтение информации о состоянии… Готово
Уже установлена самая новая версия dkms.
обновлено 0, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено.
Смотрю /var/log/vbox-install.log:
Uninstalling modules from DKMS
removing old DKMS module vboxhost version 4.1.18
------------------------------
Deleting module version: 4.1.18
completely from the DKMS tree.
------------------------------
Done.
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxhost/4.1.18/source ->
/usr/src/vboxhost-4.1.18
DKMS: add completed.
Failed to install using DKMS, attempting to install without
Makefile:172: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again. Останов.
И переустановку после полного удаления пробовал - ничего не помогает.
Что делать дальше?