{"id":2935,"date":"2013-07-10T08:59:14","date_gmt":"2013-07-10T00:59:14","guid":{"rendered":"https:\/\/kyle.ai\/blog\/?p=2935"},"modified":"2013-07-10T08:59:14","modified_gmt":"2013-07-10T00:59:14","slug":"virtualbox%e6%8f%90%e7%a4%bakernel-driver-not-installed-rc-1908%e5%87%ba%e9%94%99","status":"publish","type":"post","link":"https:\/\/kyle.ai\/blog\/2935.html","title":{"rendered":"virtualbox\u63d0\u793aKernel driver not installed (rc=-1908)\u51fa\u9519"},"content":{"rendered":"<p><span style=\"font-size: small;\">\u4ee5\u524d\u90fd\u597d\u597d\u7684\u7528virtualbox\u5728ubuntu\u4e0b\u5f00xp\u7cfb\u7edf\uff0c\u4f46\u4eca\u5929\u5f00\u673a\u540e\u5374\u4e0d\u80fd\u8fd0\u884c\u3002\u663e\u793a\u5982\u4e0b\u9519\u8bef\uff1a<\/span><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nKernel driver not installed (rc=-1908)\r\n\r\nThe VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with \/dev\/vboxdrv. Re-setup the kernel module by executing\r\n\r\n'\/etc\/init.d\/vboxdrv setup'\r\n\r\nas root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.\r\n<\/pre>\n<p><span style=\"font-size: small;\">\u5982\u679c\u4f60\u7684\u7cfb\u7edf\u662fubuntu\u7684\u53ef\u4ee5\u8fd9\u6837\u89e3\u51b3\uff1a<\/span><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo aptitude update\r\nsudo aptitude install dkms\r\n# ubuntu 12.10\u540e\u53ef\u80fd\u8981\u5148\u8fd9\u6837  sudo apt-get install build-essential linux-headers-`uname -r`\r\nsudo \/etc\/init.d\/vboxdrv setup\r\n<\/pre>\n<p><span style=\"font-size: small;\">\u547d\u4ee4\u884c\u4e2d\u4f1a\u63d0\u793a\uff1a<\/span><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nStopping VirtualBox kernel module\r\nRecompiling VirtualBox kernel module\r\nStarting VirtualBox kernel module\r\n<\/pre>\n<p><span style=\"font-size: small;\">\u5c31\u53ef\u4ee5\u4e86\u3002<\/span><\/p>\n<p><span style=\"font-size: small;\">\u6ce8\u610f\uff0c\u9700\u8981\u770b\u6e05\u695a\u4f60\u7684\u5185\u6838\u548c\u5347\u7ea7\u7684\u662f\u4e0d\u662f\u540c\u4e00\u4e2a\uff0c\u5982\u4e0d\u662f\u8fd8\u9700\u8981\u628aold\u5378\u8f7d\uff0c\u7136\u540ereboot\uff0c\u7528\u65b0\u5185\u6838\u518dvboxdrv setup<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee5\u524d\u90fd\u597d\u597d\u7684\u7528virtualbox\u5728ubuntu\u4e0b\u5f00xp\u7cfb\u7edf\uff0c\u4f46\u4eca\u5929\u5f00\u673a\u540e\u5374\u4e0d\u80fd\u8fd0\u884c\u3002\u663e\u793a\u5982\u4e0b\u9519\u8bef\uff1a Kern [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-2935","post","type-post","status-publish","format-standard","hentry","category-skill"],"_links":{"self":[{"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/posts\/2935","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/comments?post=2935"}],"version-history":[{"count":1,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/posts\/2935\/revisions"}],"predecessor-version":[{"id":2936,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/posts\/2935\/revisions\/2936"}],"wp:attachment":[{"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/media?parent=2935"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/categories?post=2935"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/tags?post=2935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}