{"id":139,"date":"2015-12-25T11:18:38","date_gmt":"2015-12-25T11:18:38","guid":{"rendered":"http:\/\/iain.rauch.co.uk\/blog\/?p=139"},"modified":"2015-12-25T11:19:45","modified_gmt":"2015-12-25T11:19:45","slug":"boot-failure-after-ubuntu-15-04-upgrade","status":"publish","type":"post","link":"https:\/\/iain.rauch.co.uk\/blog\/2015-12\/boot-failure-after-ubuntu-15-04-upgrade\/","title":{"rendered":"Boot Failure After Ubuntu 15.04 Upgrade"},"content":{"rendered":"<p>It&#8217;s Christmas time, which is when I get a chance to upgrade my home servers. This year one of them needed a double-upgrade: 14.10 to 15.04 to\u00a015.10.<\/p>\n<p>After backing-up (which is essentially a tar command, more on that in another post), I proceeded with the first upgrade.<\/p>\n<p>Everything seemed to go smoothly but on boot, the system dropped into an emergency mode shell.<\/p>\n<p>At least it showed a couple of errors:<\/p>\n<ol>\n<li>acpi pcc probe failed<\/li>\n<li><strong>error getting authority error initializing authority<\/strong><\/li>\n<\/ol>\n<p>After a quick search, I found that the first is actually just a warning and can be ignored (<a href=\"http:\/\/askubuntu.com\/questions\/584248\/boot-error-acpi-pcc-probe-failed\" target=\"_blank\">source<\/a>). If I had more time, I would consider fixing the root cause.<\/p>\n<p>The second one was a little more tricky. The error doesn&#8217;t really indicate the real problem but a few people have found it to be caused by an <strong>invalid fstab<\/strong> entry.<\/p>\n<p>In the recovery shell, run the following command to find which one (<a href=\"http:\/\/askubuntu.com\/questions\/631362\/error-getting-authority-error-initializing-authority-could-not-connect-no-suc\" target=\"_blank\">thanks<\/a>):<\/p>\n<p>[code lang=&#8221;bash&#8221;]journalctl -xb[\/code]<\/p>\n<p>For most people, it&#8217;s due to having\u00a0a UUID specified that no longer exists (either due to reformatting a drive or removing the disk all together). In my case it was because\u00a0I had several tmpfs mounts which are no longer allowed:<\/p>\n<pre class=\"p1\">tmpfs           \/tmp           tmpfs   defaults,noatime           0 0\r\ntmpfs           \/var\/lock      tmpfs   defaults,noatime           0 0\r\ntmpfs           \/var\/run       tmpfs   defaults,noatime           0 0\r\ntmpfs           \/var\/tmp       tmpfs   defaults,noatime           0 0<\/pre>\n<p>&nbsp;<\/p>\n<p>The error can be alleviated either by adding\u00a0<strong><i>nofail<\/i><\/strong> to the options or just removing \/ commenting out the mount.<\/p>\n<p>The reason I used a tmpfs (RAM disk) for <i>\/tmp<\/i> and others was when I originally set up this server (and some others) the boot disk was an 8GB CompactFlash card. Temp files would create undesirable\u00a0wear on the device but I&#8217;ve since moved this system to an SSD so that&#8217;s not an issue anymore. Hence, I just deleted the entries.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s Christmas time, which is when I get a chance to upgrade my home servers. This year one of them needed a double-upgrade: 14.10 to 15.04 to\u00a015.10. After backing-up (which is essentially a tar command, more on that in another &hellip; <a href=\"https:\/\/iain.rauch.co.uk\/blog\/2015-12\/boot-failure-after-ubuntu-15-04-upgrade\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-139","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/iain.rauch.co.uk\/blog\/wp-json\/wp\/v2\/posts\/139","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iain.rauch.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/iain.rauch.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/iain.rauch.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iain.rauch.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=139"}],"version-history":[{"count":5,"href":"https:\/\/iain.rauch.co.uk\/blog\/wp-json\/wp\/v2\/posts\/139\/revisions"}],"predecessor-version":[{"id":144,"href":"https:\/\/iain.rauch.co.uk\/blog\/wp-json\/wp\/v2\/posts\/139\/revisions\/144"}],"wp:attachment":[{"href":"https:\/\/iain.rauch.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=139"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iain.rauch.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=139"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iain.rauch.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}