Virtualbox 커널 실행에 적합한 모듈이 없습니다.

원격 컴퓨터 우분투 12.04를 사용합니다 (콘솔 만 해당)

배급 자 ID : Ubuntu 설명 : Ubuntu 12.04.4 LTS

이상한 커널 uname -a Linux 2.6.38.2-grsec-xxxx-grs-ipv6-64 # 1 SMP Fri Apr 15 17:44:15 UTC 2011 x86_64 x86_64 x86_64 GNU / Linux

-아마도 beeter가 다른 커널로 전환되어 있습니까? 어떻게합니까?

(이 서버에 가상 머신을 설치하십시오)

apt-get virtualbox 설치

Konfigurowanie virtualbox (4.1.12-dfsg-2ubuntu0.5) ...
 * Stopping VirtualBox kernel modules                                                                             Opening /proc/modules: No such file or directory
Opening /proc/modules: No such file or directory
Opening /proc/modules: No such file or directory
Opening /proc/modules: No such file or directory
                                                                                                           [ OK ]
 * Starting VirtualBox kernel modules                                                                             Opening /proc/modules: No such file or directory
 * No suitable module for running kernel found
                                                                                                           [fail]


Loading new virtualbox-4.1.12 DKMS files...
First Installation: checking all kernels...
dpkg: ostrzeżenie: wersja "*-*" ma złą składnię: version number does not start with digit
It is likely that 2.6.38.2-grsec-xxxx-grs-ipv6-64 belongs to a chroot's host
Building initial module for 2.6.38-10-generic
Done.

vboxdrv:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.38-10-generic/updates/dkms/

vboxnetadp.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.38-10-generic/updates/dkms/

vboxnetflt.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.38-10-generic/updates/dkms/

vboxpci.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.38-10-generic/updates/dkms/

depmod....

DKMS: install completed.
Building initial module for 2.6.38-11-generic
Done.

vboxdrv:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.38-11-generic/updates/dkms/

vboxnetadp.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.38-11-generic/updates/dkms/

vboxnetflt.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.38-11-generic/updates/dkms/

vboxpci.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.38-11-generic/updates/dkms/

depmod....

DKMS: install completed.
Building initial module for 2.6.38-14-generic
Done.

vboxdrv:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.38-14-generic/updates/dkms/

vboxnetadp.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.38-14-generic/updates/dkms/

vboxnetflt.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.38-14-generic/updates/dkms/

vboxpci.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.38-14-generic/updates/dkms/

depmod....

DKMS: install completed.
Building initial module for 2.6.38-8-generic
Done.

vboxdrv:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.38-8-generic/updates/dkms/

vboxnetadp.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.38-8-generic/updates/dkms/

vboxnetflt.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.38-8-generic/updates/dkms/

vboxpci.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.38-8-generic/updates/dkms/

depmod....

DKMS: install completed.
Building initial module for 3.2.0-60-generic

Done.

vboxdrv:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.2.0-60-generic/updates/dkms/

vboxnetadp.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.2.0-60-generic/updates/dkms/

vboxnetflt.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.2.0-60-generic/updates/dkms/

vboxpci.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.2.0-60-generic/updates/dkms/

depmod....

DKMS: install completed.
 * Stopping VirtualBox kernel modules                                                                             Opening /proc/modules: No such file or directory
Opening /proc/modules: No such file or directory
Opening /proc/modules: No such file or directory
Opening /proc/modules: No such file or directory
                                                                                                           [ OK ]
 * Starting VirtualBox kernel modules                                                                             Opening /proc/modules: No such file or directory
 * No suitable module for running kernel found
                                                                                                           [fail]
invoke-rc.d: initscript virtualbox, action "restart" failed.
Konfigurowanie virtualbox-qt (4.1.12-dfsg-2ubuntu0.5) ...

나는 kerel 헤더를 설치 해야하는 정보를 찾았지만

sudo apt-get install linux-headers-$(uname -r)
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
E: Nie udało się odnaleźć pakietu linux-headers-2.6.38.2-grsec-xxxx-grs-ipv6-64

(찾을 수 없음)

커널 헤더를 설치하는 정보를 찾았지만 :

sudo apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-2.6.38.2-grsec-xxxx-grs-ipv6-64
E: Couldn't find any package by regex 'linux-headers-2.6.38.2-grsec-xxxx-grs-ipv6-64'

어떡해 ?



답변

linux-image패키지 를 업그레이드 한 후 동일한 오류가 발생 합니다. 빌드 모듈을 위해서는이 필요 virtualbox-source하거나 virtualbox-dkms패키지를. 나는 virtualbox-dkms패키지로 끝납니다 .

그래서 누락 된 것을 설치합니다 linux-headers-amd64:

$ sudo apt-get install linux-headers-amd64

그리고 재건하십시오 virtualbox.ko:

$ sudo dpkg-reconfigure --priority low virtualbox-dkms

그리고로드 모듈 :

$ sudo service virtualbox start

마지막으로 VirtualBox는 게스트를 실행할 수 있습니다!


답변

게다가 apt-get install virtualbox당신은 또한 (루트로) 실행해야합니다
apt-get install virtualbox-source module-assistant
m-a prepare
m-a a-i virtualbox-source

그럼 /etc/init.d/virtualbox start작동합니다.

다양한 Google 검색에서 함께 모여서 Linux Mint 17 (Ubuntu 14.04)에서 나를 위해 일했습니다.


답변

위의 어느 것도 나를 위해 일하지 않았습니다. 내가 인터넷에서 찾은 것 중 실제로는 …

TL; DR

같은 문제가있는 사람이 있다면이 문제를 해결 한 방법입니다.

# cleanup old stuff
apt-get autoremove --purge virtualbox virtualbox-dkms virtualbox-qt

# install
echo "deb http://http.debian.net/debian/ wheezy-backports main contrib" > /etc/apt/sources.list.d/backports.list
apt-get update
apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,')
apt-get -t wheezy-backports install virtualbox

노트

설치가 끝나면 프로세스 중에 오류 메시지가 표시되었지만 유효한 virtualbox 설정 이 있습니다.[FAIL] Starting VirtualBox kernel modules[....] No suitable module for running kernel found ... failed!

나중에 라인을 확보하자마자 걱정하지 마십시오 DKMS: install completed. 달려 갈 수 있으므로vboxmanage --version

명세서

내 리눅스 서버는

Distributor ID: Debian
Description:    Debian GNU/Linux 7.8 (wheezy)
Release:        7
Codename:       wheezy
Kernel:         3.16.0-0.bpo.4-amd64


답변