{"id":414,"date":"2015-01-07T16:40:12","date_gmt":"2015-01-07T15:40:12","guid":{"rendered":"http:\/\/www.psinke.nl\/blog\/?p=414"},"modified":"2015-02-02T13:53:29","modified_gmt":"2015-02-02T12:53:29","slug":"installing-guest-additions-fails-on-oracle-enterprise-linux-7-0","status":"publish","type":"post","link":"http:\/\/www.psinke.nl\/blog\/installing-guest-additions-fails-on-oracle-enterprise-linux-7-0\/","title":{"rendered":"Installing Guest Additions fails on Oracle Enterprise Linux 7.0"},"content":{"rendered":"<div class=\"713e806d42c51d8462bbb5f4c1155083\" data-index=\"1\" style=\"float: none; margin:0px;\">\n<script type=\"text\/javascript\"><!--\r\ngoogle_ad_client = \"ca-pub-4223201538046844\";\r\n\/* standaardblok *\/\r\ngoogle_ad_slot = \"9522527129\";\r\ngoogle_ad_width = 320;\r\ngoogle_ad_height = 50;\r\n\/\/-->\r\n<\/script>\r\n<script type=\"text\/javascript\"\r\nsrc=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\r\n<\/script>\n<\/div>\n<p>If you install the Guest Additions modules in a Oracle Enterprise Linux 7.0 virtualbox, you might encounter the following problem:<\/p>\n<p><a href=\"http:\/\/www.psinke.nl\/blog\/wp-content\/uploads\/2015\/01\/22ff4bbc-3368-4ba0-92e1-2b15c57256ff.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-415\" src=\"http:\/\/www.psinke.nl\/blog\/wp-content\/uploads\/2015\/01\/22ff4bbc-3368-4ba0-92e1-2b15c57256ff-300x88.png\" alt=\"22ff4bbc-3368-4ba0-92e1-2b15c57256ff\" width=\"440\" height=\"129\" srcset=\"http:\/\/www.psinke.nl\/blog\/wp-content\/uploads\/2015\/01\/22ff4bbc-3368-4ba0-92e1-2b15c57256ff-300x88.png 300w, http:\/\/www.psinke.nl\/blog\/wp-content\/uploads\/2015\/01\/22ff4bbc-3368-4ba0-92e1-2b15c57256ff.png 739w\" sizes=\"auto, (max-width: 440px) 100vw, 440px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>The main Guest Additions does not build. When checking \/var\/log\/vboxadd-install.log, there should be something like:<\/p>\n<pre>\/tmp\/vbox.0\/Makefile.include.header:97: ***Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=&lt;directory&gt; and run Make again. Stop.<\/pre>\n<p>Not very helpful, is it? The most straightforward solution is to update the kernel-uek-devel package to your\u00a0Linux kernel version with the command<\/p>\n<pre>yum install kernel-uek-devel-`uname -r`<\/pre>\n<p><a href=\"http:\/\/www.psinke.nl\/blog\/wp-content\/uploads\/2015\/01\/oel-70-bpm-12c-draaiend-.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-416\" src=\"http:\/\/www.psinke.nl\/blog\/wp-content\/uploads\/2015\/01\/oel-70-bpm-12c-draaiend--300x293.png\" alt=\"installing kernel-uek-devel package\" width=\"300\" height=\"293\" srcset=\"http:\/\/www.psinke.nl\/blog\/wp-content\/uploads\/2015\/01\/oel-70-bpm-12c-draaiend--300x293.png 300w, http:\/\/www.psinke.nl\/blog\/wp-content\/uploads\/2015\/01\/oel-70-bpm-12c-draaiend-.png 736w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Afterwards, Guest Additions module was successfully installed.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<figure id=\"attachment_417\" aria-describedby=\"caption-attachment-417\" style=\"width: 443px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/www.psinke.nl\/blog\/wp-content\/uploads\/2015\/01\/oel-70-bpm-12c-draaiend-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-417\" src=\"http:\/\/www.psinke.nl\/blog\/wp-content\/uploads\/2015\/01\/oel-70-bpm-12c-draaiend-1-300x105.png\" alt=\"Building the main Guest Additions module Successful\" width=\"443\" height=\"155\" srcset=\"http:\/\/www.psinke.nl\/blog\/wp-content\/uploads\/2015\/01\/oel-70-bpm-12c-draaiend-1-300x105.png 300w, http:\/\/www.psinke.nl\/blog\/wp-content\/uploads\/2015\/01\/oel-70-bpm-12c-draaiend-1.png 764w\" sizes=\"auto, (max-width: 443px) 100vw, 443px\" \/><\/a><figcaption id=\"caption-attachment-417\" class=\"wp-caption-text\">Building the main Guest Additions module\u00a0Succesful<\/figcaption><\/figure>\n<p>Restart your Virtualbox instance in order to apply all the changes.<\/p>\n<p>Addition: This problem can occur on Ubuntu too. To fix it there, issue this command in a terminal:<\/p>\n<pre><code>sudo apt-get install build-essential linux-headers-`uname -r` dkms<\/code><\/pre>\n<!--CusAds0-->\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>If you install the Guest Additions modules in a Oracle Enterprise Linux 7.0 virtualbox, you might encounter the following problem: &nbsp; The main Guest Additions does not build. When checking \/var\/log\/vboxadd-install.log, there should be something like: \/tmp\/vbox.0\/Makefile.include.header:97: ***Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=&lt;directory&gt; and run Make again. Stop&#8230;.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[353,332,208,352,333,102,331,104,207,209],"class_list":["post-414","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-apt-get","tag-failed","tag-guest-additions","tag-headers","tag-kern_dir","tag-linux","tag-oracle-enterprise-linux","tag-ubuntu","tag-virtualbox","tag-yum"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/posts\/414","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/comments?post=414"}],"version-history":[{"count":3,"href":"http:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/posts\/414\/revisions"}],"predecessor-version":[{"id":441,"href":"http:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/posts\/414\/revisions\/441"}],"wp:attachment":[{"href":"http:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/media?parent=414"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/categories?post=414"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/tags?post=414"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}