{"id":124,"date":"2017-07-18T12:21:28","date_gmt":"2017-07-18T11:21:28","guid":{"rendered":"https:\/\/blog.syddel.uk\/?p=124"},"modified":"2024-10-04T13:43:57","modified_gmt":"2024-10-04T12:43:57","slug":"virtualbox-on-host-running-kernel-4-12","status":"publish","type":"post","link":"https:\/\/blog.syddel.uk\/?p=124","title":{"rendered":"VirtualBox on Host Running Kernel 4.12"},"content":{"rendered":"<p>Upgrading to Linux kernel 4.12 will break VirtualBox. Attempting to re-install VirtualBox 5.1.22 (either from the Ubuntu repositories or by downloading the binaries directly from virtualbox.org) will not help &#8211; the installation will fail.<\/p>\n<p>Thankfully, there is a patch available that can be applied &#8211; but only to the version of VirtualBox from virtualbox.org. If you have installed VirtualBox from the repositories, you need to uninstall it, then install the .deb from virtualbox.org, then apply the patch, then run vboxconfig.<\/p>\n<div class=\"llorix-one-lite-video-container\"><iframe loading=\"lazy\" width=\"730\" height=\"411\" src=\"https:\/\/www.youtube.com\/embed\/E3vO5x2w0QA?feature=oembed\" frameborder=\"0\" allowfullscreen><\/iframe><\/div>\n<p>The steps are as follows:<\/p>\n<ol>\n<li>\n<h4>Uninstall VirtualBox<\/h4>\n<p>This step is only required if you have installed VirtualBox from the Ubuntu repositories.<\/p>\n<pre escaped=\"true\" line=\"0\" lang=\"bash\">sudo apt remove --purge virtualbox*\n<\/pre>\n<\/li>\n<li>\n<h4>Download VirtualBox<\/h4>\n<p>Download the latest version of VirtualBox (at time of writing, 5.1.22) from <a href=\"https:\/\/www.virtualbox.org\/\">virtualbox.org<\/a>.<\/li>\n<li>\n<h4>Install the Patch<\/h4>\n<pre escaped=\"true\" line=\"0\" lang=\"bash\">cd \/usr\/share\/virtualbox\/src\nsudo wget http:\/\/paste.siduction.org\/20170629003423\nsudo patch -Np0 &lt; 20170629003423\nsudo \/sbin\/vboxconfig\n<\/pre>\n<\/li>\n<\/ol>\n<p>You&#8217;re good to go!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Upgrading to Linux kernel 4.12 will break VirtualBox. Attempting to re-install VirtualBox 5.1.22 (either from the Ubuntu repositories or by downloading the binaries directly from virtualbox.org) will not help &#8211; the installation will fail. Thankfully, there is a patch available that can be applied &#8211; but only to the version of VirtualBox from virtualbox.org. If<a class=\"moretag\" href=\"https:\/\/blog.syddel.uk\/?p=124\"><span class=\"screen-reader-text\">Read more about VirtualBox on Host Running Kernel 4.12<\/span>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":136,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[3,2],"class_list":["post-124","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-installation","tag-kernel-4-12","tag-virtualbox"],"_links":{"self":[{"href":"https:\/\/blog.syddel.uk\/index.php?rest_route=\/wp\/v2\/posts\/124","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.syddel.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.syddel.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.syddel.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.syddel.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=124"}],"version-history":[{"count":15,"href":"https:\/\/blog.syddel.uk\/index.php?rest_route=\/wp\/v2\/posts\/124\/revisions"}],"predecessor-version":[{"id":456,"href":"https:\/\/blog.syddel.uk\/index.php?rest_route=\/wp\/v2\/posts\/124\/revisions\/456"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.syddel.uk\/index.php?rest_route=\/wp\/v2\/media\/136"}],"wp:attachment":[{"href":"https:\/\/blog.syddel.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.syddel.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=124"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.syddel.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}