Skip to content

Instantly share code, notes, and snippets.

@AKB428
Created May 27, 2015 07:14
Show Gist options
  • Save AKB428/dd5c04b52dff8c1d1a6e to your computer and use it in GitHub Desktop.
Save AKB428/dd5c04b52dff8c1d1a6e to your computer and use it in GitHub Desktop.
CentOSでLinuxカーネルヘッダー違いでVirtualBox DKMS 起動がこける時の対応 ref: http://qiita.com/AKB428/items/13875eb2a09601c71698
[root@~]# service vboxdrv setup
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Trying to register the VirtualBox kernel modules using DKMSError! echo
Your kernel headers for kernel 3.10.0-229.el7.x86_64 cannot be found at
/lib/modules/3.10.0-229.el7.x86_64/build or /lib/modules/3.10.0-229.el7.x86_64/source.
[FAILED]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
[root kernels]# service 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 ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment