chyba virtual boxu
zo dna na den mi prestal ficat virtual box, teda program sa spusti bez problemov, ale ked si spustim guest os tak mi pri vsetkych vypise ze:
----------------------------------------------------------------------------------------------------------------------------------------------------------
VirtualBox kernel driver not installed. The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created for some reason. Re-setup the kernel module by executing '/etc/init.d/vboxdrv setup' as root.
VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED).
Result Code:
0x80004005
Component:
Console
Interface:
IConsole {1dea5c4b-0753-4193-b909-22330f64ec45}
-----------------------------------------------------------------------------------------------------------------------------------------------------------
postupoval som podla toho co mi to tam vypisalo a odpoved bola:
-----------------------------------------------------------------------------------------------------------------------------------------------------------
| Unable to find a precompiled module for the current kernel! │
│ │
│ Without a suitable kernel module you will never be able to start VMs. It │
│ is strongly recommended to compile a kernel module now. The kernel │
│ headers and the tools to build kernel modules (gcc, make, binutils, ...) │
│ are required. However, in case a suitable kernel module already exists │
│ at another place you might want to override the default position by │
│ setting KDIR=<full_path_to_vboxdrv_module> in /etc/default/virtualbox. │
│ The compilation can also be done later by executing │
│ │
│ /etc/init.d/vboxdrv setup │
│ │
│ as root. |
-----------------------------------------------------------------------------------------------------------------------------------------------------------
potom
-----------------------------------------------------------------------------------------------------------------------------------------------------------
│ Compilation of the kernel module FAILED! │
│ │
│ VirtualBox will not start until this problem is fixed. Please consult │
│ /var/log/vbox-install.log to find out why the kernel module does not │
│ compile. Most probably the kernel sources were not found. Install them │
│ and execute │
│ │
│ /etc/init.d/vboxdrv setup │
│ │
│ as root.
-----------------------------------------------------------------------------------------------------------------------------------------------------------
vo var/log/vbox-install.log je:
-----------------------------------------------------------------------------------------------------------------------------------------------------------
Makefile:67: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.. Stop.
-----------------------------------------------------------------------------------------------------------------------------------------------------------
kernel sources pritom mam nainstalovane. Co s tym moze byt?
Pre pridávanie komentárov sa musíte prihlásiť.
export KERN_DIR
Do konzoly mas napisat:
export KERN_DIR=/cesta/ku/zdrojakom/jadra
Pritom zdrojaky v ubuntu distrach su v balickoch linux-source, pokial si dobre pamatam.
Teda potrebujes mat tento balicek nainstalovany.
ako ale zadam cestu k tym zdrojakom.? kde to hladat?:/
* VirtualBox kernel module is loaded.
co sa mi podarilo, tak len toto..ale asi to nestaci:D
co skusam tento prikaz export KERN_DIR=/usr/src/linux-source-2.6.22 tak sa nic nedeje..
prosiiiim o pomoc....
/etc/init.d/vboxdrv status
hadzal ze nieje pripojeny, tak som zadal
sudo /etc/init.d/vboxdrv setup
aby mal prava, inak to nepojde, a uz to ide