{"id":1496,"date":"2017-02-28T00:01:00","date_gmt":"2017-02-28T06:01:00","guid":{"rendered":"http:\/\/linuxitos.com\/main\/recompilar-kernel-de-virtualbox-5-1-14-en-kernel-4-9-11-200-en-fedora-25\/"},"modified":"2017-02-28T00:01:00","modified_gmt":"2017-02-28T06:01:00","slug":"recompilar-kernel-de-virtualbox-5-1-14-en-kernel-4-9-11-200-en-fedora-25","status":"publish","type":"post","link":"https:\/\/linuxitos.com\/main\/recompilar-kernel-de-virtualbox-5-1-14-en-kernel-4-9-11-200-en-fedora-25\/","title":{"rendered":"Recompilar kernel de VirtualBox 5.1.14 en kernel 4.9.11-200 en Fedora 25"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left;\">\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/2.bp.blogspot.com\/-T0GWkXbCCDw\/WLUAPor3USI\/AAAAAAAAEY0\/rPfFu9-UpcE_VSbI6TqAJqa6gwo3Hom6gCLcB\/s1600\/Captura%2Bde%2Bpantalla%2Bde%2B2017-02-27%2B22-35-31.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img decoding=\"async\" border=\"0\" src=\"https:\/\/2.bp.blogspot.com\/-T0GWkXbCCDw\/WLUAPor3USI\/AAAAAAAAEY0\/rPfFu9-UpcE_VSbI6TqAJqa6gwo3Hom6gCLcB\/s1600\/Captura%2Bde%2Bpantalla%2Bde%2B2017-02-27%2B22-35-31.png\" \/><\/a><\/div>\n<p><\/p>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Intent\u00e9 iniciar VirtualBox 5.1.14 hoy, y me lanz\u00f3 ese error, como es costumbre, solo es necesario recompilar el Kernel, sin embargo en esta ocasi\u00f3n, hubo un poco m\u00e1s de configuraciones adicionales.<\/span><\/div>\n<p><span style=\"font-size: large;\"><br \/><\/span><\/p>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">A continuaci\u00f3n les explico los pasos que realic\u00e9 para recompilarlo para el kernel 4.9.11-200 en Fedora 25.<\/span><\/div>\n<p><span style=\"font-size: large;\"><br \/><\/span><\/p>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Lo usual es ejecutar el siguiente comando para la versi\u00f3n 5.1 en adelante, pero por alguna raz\u00f3n ahora, no funciona, ya que es necesario agregar otros comandos a selinux.<\/span><\/div>\n<p><span style=\"font-size: large;\"><br \/><\/span><span style=\"font-size: large;\">Se ejecuta en modo super usuario:<\/span><br \/><span style=\"font-size: large;\"><br \/><\/span><span style=\"-webkit-text-stroke-width: 0px; background-color: white; color: #262626; display: inline !important; float: none; font-family: &quot;Carrois Gothic&quot;, sans-serif; font-size: 12.8px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px;\"><\/span><\/p>\n<pre style=\"-webkit-text-stroke-width: 0px; background: rgb(54, 63, 72); border-radius: 6px; border: 0px; box-sizing: border-box; color: #262626; font-family: &quot;Courier 10 Pitch&quot;, Courier, monospace; font-size: 1.5rem; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; line-height: 15.68px; margin: 0px 0px 1.1em; max-width: 100%; orphans: 2; outline: 0px; overflow: auto; padding: 13.125px 16.4062px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; widows: 2; word-spacing: 0px; word-wrap: break-word;\"><span style=\"border: 0px; color: white; font-family: menlo, monaco, monospace; font-size: 15px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\">\/usr\/lib\/virtualbox\/vboxdrv.sh setup<\/span><\/pre>\n<p><span style=\"font-size: large;\">Y el problema siguiente desaparec\u00eda:<\/span><br \/><span style=\"font-size: large;\"><br \/><\/span><\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/3.bp.blogspot.com\/-TneWnqXjmPM\/WLUBVSChakI\/AAAAAAAAEZA\/SDkEc87OXWQW-BUumdlY1jjN-r3_XWrTACLcB\/s1600\/Captura%2Bde%2Bpantalla%2Bde%2B2017-02-27%2B22-35-29.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img decoding=\"async\" border=\"0\" src=\"https:\/\/3.bp.blogspot.com\/-TneWnqXjmPM\/WLUBVSChakI\/AAAAAAAAEZA\/SDkEc87OXWQW-BUumdlY1jjN-r3_XWrTACLcB\/s1600\/Captura%2Bde%2Bpantalla%2Bde%2B2017-02-27%2B22-35-29.png\" \/><\/a><\/div>\n<p><span style=\"font-size: large;\"><br \/><\/span><\/p>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Ahora, es necesario los permisos, los cuales se a\u00f1aden, de manera personalizada para cada usuario.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Al ejecutar el comando, en fedora lanzar\u00e1 una alerta de SELinux, con instrucciones que se ejecutar\u00e1n en la terminal para que funcione. Esto depender\u00e1 de la versi\u00f3n de VB y el kernel.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">En mi caso salt\u00f3 esta ventana:<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/2.bp.blogspot.com\/-odcE94DzGWU\/WLUDOdwAwxI\/AAAAAAAAEZM\/Wvw2WCcLbTkg4rf5uTEskwjJ1kgjiczIACLcB\/s1600\/Captura%2Bde%2Bpantalla%2Bde%2B2017-02-27%2B22-52-07.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img decoding=\"async\" border=\"0\" src=\"https:\/\/2.bp.blogspot.com\/-odcE94DzGWU\/WLUDOdwAwxI\/AAAAAAAAEZM\/Wvw2WCcLbTkg4rf5uTEskwjJ1kgjiczIACLcB\/s1600\/Captura%2Bde%2Bpantalla%2Bde%2B2017-02-27%2B22-52-07.png\" \/><\/a><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Entonces lo que prosigue es copiar el c\u00f3digo que hay delante del s\u00edmbolo # y ejecutarlo en la terminal, uno por uno, el primer comando, lanzar\u00e1 otro comando, el cual se debe ejecutar en seguida.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<pre style=\"background: rgb(54, 63, 72); border-radius: 6px; border: 0px; box-sizing: border-box; color: #262626; font-family: &quot;Courier 10 Pitch&quot;, Courier, monospace; font-size: 1.5rem; line-height: 15.68px; margin-bottom: 1.1em; max-width: 100%; outline: 0px; overflow: auto; padding: 13.125px 16.4062px; vertical-align: baseline; word-wrap: break-word;\"><span style=\"border: 0px; color: white; font-family: menlo, monaco, monospace; font-size: 15px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\">ausearch -c 'modprobe' --raw | audit2allow -M my-modprobe.p<\/span><\/pre>\n<div><span style=\"border: 0px; color: white; font-family: menlo, monaco, monospace; font-size: 15px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\"><br \/><\/span><\/div>\n<pre style=\"background: rgb(54, 63, 72); border-radius: 6px; border: 0px; box-sizing: border-box; line-height: 15.68px; margin-bottom: 1.1em; max-width: 100%; outline: 0px; overflow: auto; padding: 13.125px 16.4062px; vertical-align: baseline; word-wrap: break-word;\"><span style=\"color: white; font-family: menlo, monaco, monospace;\"><span style=\"font-size: 15px;\">semodule -X 300 -i my-modprobe.p<\/span><\/span><\/pre>\n<div><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Luego de ejecutar el primero, continuamos con el que sigue, al finalizar eso, ahora ejecutamos el comando inicial, y con eso se soluciona el problema.<\/span><\/div>\n<p><span style=\"font-size: large;\"><br \/><\/span><\/p>\n<pre style=\"background: rgb(54, 63, 72); border-radius: 6px; border: 0px; box-sizing: border-box; color: #262626; font-family: &quot;Courier 10 Pitch&quot;, Courier, monospace; font-size: 1.5rem; line-height: 15.68px; margin-bottom: 1.1em; max-width: 100%; outline: 0px; overflow: auto; padding: 13.125px 16.4062px; vertical-align: baseline; word-wrap: break-word;\"><span style=\"border: 0px; color: white; font-family: menlo, monaco, monospace; font-size: 15px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\">\/usr\/lib\/virtualbox\/vboxdrv.sh setup<\/span><\/pre>\n<div><span style=\"border: 0px; color: white; font-family: menlo, monaco, monospace; font-size: 15px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\"><br \/><\/span><\/div>\n<p><span style=\"font-size: large;\">Espero que les funcione, cualquier duda, espero poderlos ayudar.<\/span><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Intent\u00e9 iniciar VirtualBox 5.1.14 hoy, y me lanz\u00f3 ese error, como es costumbre, solo es necesario recompilar el Kernel, sin embargo en esta ocasi\u00f3n, hubo un poco m\u00e1s de configuraciones adicionales. A continuaci\u00f3n les explico los pasos que realic\u00e9 para recompilarlo para el kernel 4.9.11-200 en Fedora 25. Lo usual es ejecutar el siguiente comando [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,227,226,225,153],"tags":[],"class_list":["post-1496","post","type-post","status-publish","format-standard","hentry","category-fedora","category-fedora-25","category-kernel","category-recompilar-kernel-de-virtualbox-5-1-14-en-kernel-4-9-11-200-en-fedora-25","category-virtualbox"],"_links":{"self":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts\/1496","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/comments?post=1496"}],"version-history":[{"count":0,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts\/1496\/revisions"}],"wp:attachment":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/media?parent=1496"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/categories?post=1496"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/tags?post=1496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}