{"id":21874,"date":"2014-12-07T03:32:22","date_gmt":"2014-12-07T03:32:22","guid":{"rendered":"http:\/\/www.inacreditavel.pt\/?p=21874"},"modified":"2014-12-07T03:34:28","modified_gmt":"2014-12-07T03:34:28","slug":"panico-no-kernel-2","status":"publish","type":"post","link":"http:\/\/www.inacreditavel.pt\/?p=21874","title":{"rendered":"P\u00e2nico no Kernel"},"content":{"rendered":"<p>Enquanto atualizava as m\u00e1quinas houve, aparentemente, um problema na rede, ou uma falha bizantina qualquer, e 5 das 17 m\u00e1quinas deixaram de responder. Quando arranquei com elas novamente, entraram em modo &#8220;Kernel Panic&#8221;.<\/p>\n<p>Procurei aqui no blog e n\u00e3o encontrei logo a solu\u00e7\u00e3o. Fui \u00e0 net@ e s\u00f3 perdi tempo. Voltei ao Chornal e fiz uma pesquisa mais aturada. Isto j\u00e1 me tinha acontecido. Fica aqui a solu\u00e7\u00e3o de novo:<\/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 3.14.24 -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>Enquanto atualizava as m\u00e1quinas houve, aparentemente, um problema na rede, ou uma falha bizantina qualquer, e 5 das 17 m\u00e1quinas deixaram de responder. Quando arranquei com elas novamente, entraram em modo &#8220;Kernel Panic&#8221;. Procurei aqui no blog e n\u00e3o encontrei logo a solu\u00e7\u00e3o. Fui \u00e0 net@ e s\u00f3 perdi tempo. Voltei ao Chornal e fiz [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"_links":{"self":[{"href":"http:\/\/www.inacreditavel.pt\/index.php?rest_route=\/wp\/v2\/posts\/21874"}],"collection":[{"href":"http:\/\/www.inacreditavel.pt\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.inacreditavel.pt\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.inacreditavel.pt\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.inacreditavel.pt\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=21874"}],"version-history":[{"count":4,"href":"http:\/\/www.inacreditavel.pt\/index.php?rest_route=\/wp\/v2\/posts\/21874\/revisions"}],"predecessor-version":[{"id":21877,"href":"http:\/\/www.inacreditavel.pt\/index.php?rest_route=\/wp\/v2\/posts\/21874\/revisions\/21877"}],"wp:attachment":[{"href":"http:\/\/www.inacreditavel.pt\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=21874"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.inacreditavel.pt\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21874"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.inacreditavel.pt\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21874"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}