chyba virtual boxu

Sekcia: Aplikácie & Desktop 10.09.2007 | 23:42
Avatar LUcoRP Debian, *Ubuntu, Android  Administrátor
dobry den,

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?
git blame | Muj Desvorc je vetsi nez tvuj!
    • Re: chyba virtual boxu 10.09.2007 | 23:57
      Avatar borg Fedora  Administrátor
      >Specify KERN_DIR=<directory> and run Make again.. Stop.

      export KERN_DIR
      • Re: chyba virtual boxu 27.01.2008 | 23:35
        Avatar Matrus fedora  Používateľ
        Mne to vypisuje to iste...ale ja som zaciatocnik a nerozumiem tomu..nemohol by mi niekto zrozumitelnejsie poradit? dakujem
        rock'n'roll
        • Re: chyba virtual boxu 28.01.2008 | 08:17
          Avatar rebrik Arch, Ubuntu  Používateľ
          Najskor sa updateoval kernel.
          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.
          Of All The Things I've Lost, I Miss My Mind The Most.
          • Re: chyba virtual boxu 28.01.2008 | 11:47
            Avatar Matrus fedora  Používateľ
            Balicek linux source mam nainstalovany...
            ako ale zadam cestu k tym zdrojakom.? kde to hladat?:/
            rock'n'roll
            • Re: chyba virtual boxu 28.01.2008 | 12:03
              Avatar borg Fedora  Administrátor
              zvycajne v /usr/src
              • Re: chyba virtual boxu 28.01.2008 | 13:11
                Avatar Matrus fedora  Používateľ
                root@matus-laptop:/# etc/init.d/vboxdrv status
                * 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..
                rock'n'roll
                • Re: chyba virtual boxu 09.02.2008 | 12:49
                  Avatar Matrus fedora  Používateľ
                  Ja viem ze je tato tema oznacena ako vyriesena... Ale mne sa stale nedari rozbehat virtual box.. a windows strasne potrebujem, bo mi daktore specialne programi pod linuxom nejdu...a ani alternativa k nim neexistuje..
                  prosiiiim o pomoc....
                  rock'n'roll
                • Re: chyba virtual boxu 07.06.2008 | 19:44
                  Mes-siah   Návštevník
                  No mne stacilo rekompilovat jadro Virtualboxu

                  /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