{"id":109,"date":"2016-09-10T10:51:39","date_gmt":"2016-09-10T09:51:39","guid":{"rendered":"http:\/\/slackware.wp.w3.pt\/?p=109"},"modified":"2016-09-10T10:52:56","modified_gmt":"2016-09-10T09:52:56","slug":"kernel-4-4-20-e-virtualbox-5-1-4","status":"publish","type":"post","link":"http:\/\/slackware.pt\/?p=109","title":{"rendered":"Kernel 4.4.20 e VirtualBox 5.1.4"},"content":{"rendered":"<p>Nesta atualiza\u00e7\u00e3o, atualizei o Python para a vers\u00e3o python-2.7.12. O Pat deixou este aviso no Changelog:<\/p>\n<pre>\r\nCompiled using --enable-unicode=ucs4.\r\nThe upstream default for Python Unicode is ucs2, but ucs4 is more widely used and recommended now. Any Python scripts or binaries that use UCS-2 will need to be recompiled. These can be identified with the following grep command: \r\n<strong>grep -r -l PyUnicodeUCS2 \/usr 2> \/dev\/null<\/strong>\r\n<\/pre>\n<p>Estou a atualizar as m\u00e1quinas para o Kernel 4.4.20 do Linux. Vou tamb\u00e9m atualizar o VirtualBox nos dois hosts de m\u00e1quinas virtuais. Eis os comandos:<\/p>\n<pre>cd \/root\r\nbat\/vboxes stop\r\ncd \/usr\/local\/\r\nVBoxManage extpack uninstall \"Oracle VM VirtualBox Extension Pack\"\r\nreboot\r\nexit\r\ncd \/usr\/local\/\r\nchmod +x .\/VirtualBox-5.1.4-110228-Linux_amd64.run\r\n.\/VirtualBox-5.1.4-110228-Linux_amd64.run\r\nVBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.1.4-110228.vbox-extpack\r\ncd -\r\nbat\/vboxes start<\/pre>\n<p>O ficheiro <strong>bat\/vboxes<\/strong> \u00e9 um ficheiro de comandos que <a href=\"http:\/\/www.inacreditavel.pt\/?p=20537\">criei<\/a> para gerir as m\u00e1quinas virtuais do VirtualBox.<\/p>\n<p>Entretanto, se alguma das m\u00e1quinas falhar, posso recuper\u00e1-la da mesma forma que j\u00e1 aqui foi documentada antes.<\/p>\n<p>Reiniciar a m\u00e1quina virtual, ligando ao leitor de CD um ISO com a <strong>\u00faltima vers\u00e3o do sistema operativo<\/strong>. Depois de arrancar e escolher o layout do teclado, executar os comandos seguintes.<\/p>\n<pre>mount \/dev\/sda2 \/mnt\r\nmount -t proc proc \/mnt\/proc (this was the magic step)\r\nchroot \/mnt\r\ncd \/boot\r\nmkinitrd -c -k 4.4.20 -m ext3\r\n# No ficheiro \/etc\/lilo.conf colocar a linha\r\ninitrd = \/boot\/initrd.gz\r\n# no fim do ficheiro, logo ap\u00f3s a linha\r\nroot = \/dev\/sda2\r\n# depois, executar os comandos:\r\nlilo\r\nreboot<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Nesta atualiza\u00e7\u00e3o, atualizei o Python para a vers\u00e3o python-2.7.12. O Pat deixou este aviso no Changelog: Compiled using &#8211;enable-unicode=ucs4. The upstream default for Python Unicode is ucs2, but ucs4 is more widely used and recommended now. Any Python scripts or binaries that use UCS-2 will need to be recompiled. These can be identified with the &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/slackware.pt\/?p=109\" class=\"more-link\">Continuar a ler <span class=\"screen-reader-text\">&#8220;Kernel 4.4.20 e VirtualBox 5.1.4&#8221;<\/span><\/a><\/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":[],"_links":{"self":[{"href":"http:\/\/slackware.pt\/index.php?rest_route=\/wp\/v2\/posts\/109"}],"collection":[{"href":"http:\/\/slackware.pt\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/slackware.pt\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/slackware.pt\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/slackware.pt\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=109"}],"version-history":[{"count":3,"href":"http:\/\/slackware.pt\/index.php?rest_route=\/wp\/v2\/posts\/109\/revisions"}],"predecessor-version":[{"id":112,"href":"http:\/\/slackware.pt\/index.php?rest_route=\/wp\/v2\/posts\/109\/revisions\/112"}],"wp:attachment":[{"href":"http:\/\/slackware.pt\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/slackware.pt\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=109"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/slackware.pt\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}