{"id":2039,"date":"2008-10-16T10:23:18","date_gmt":"2008-10-16T07:23:18","guid":{"rendered":"http:\/\/mummila.net\/swirling\/?p=60"},"modified":"2008-10-16T10:23:18","modified_gmt":"2008-10-16T07:23:18","slug":"grub-subprocess-post-installation-script-returned-error-exit-status-1","status":"publish","type":"post","link":"https:\/\/mummila.net\/nuudelisoppa\/2008\/10\/16\/grub-subprocess-post-installation-script-returned-error-exit-status-1\/","title":{"rendered":"GRUB, subprocess post-installation script returned error exit status 1"},"content":{"rendered":"<p>Note to self: the next time GRUB starts exiting with 1 during <code>postinst<\/code> (when upgrading the kernel), check <code>\/boot\/grub\/device.map<\/code>. Apparently the last time this happened, I had to change <code>hd0<\/code> to point to <code>sda<\/code>, and this time I had to change it to point back to <code>hda<\/code>. Without this change <code>grub-probe<\/code> would fail, causing <code>update-grub<\/code> and thus the <code>postinst<\/code> to fail also.<\/p>\n<p>Also, don&#8217;t be fooled by <code>update-grub<\/code> staying quiet; <code>update-grub &amp;&amp; echo success<\/code> lets you know whether it did actually complete or not.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When GRUB starts exiting with 1 during postinst (when upgrading the kernel), check \/boot\/grub\/device.map.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[3084,3119],"class_list":["post-2039","post","type-post","status-publish","format-standard","hentry","tag-command-line","tag-grub"],"_links":{"self":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts\/2039","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/comments?post=2039"}],"version-history":[{"count":0,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts\/2039\/revisions"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/media?parent=2039"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/categories?post=2039"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/tags?post=2039"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}