{"id":96,"date":"2009-05-30T16:54:18","date_gmt":"2009-05-30T22:54:18","guid":{"rendered":"http:\/\/www.pervasivecode.com\/blog\/?p=96"},"modified":"2009-05-30T16:54:18","modified_gmt":"2009-05-30T22:54:18","slug":"ubuntu-jaunty-jackalope-upgrade-notes","status":"publish","type":"post","link":"http:\/\/www.pervasivecode.com\/blog\/2009\/05\/30\/ubuntu-jaunty-jackalope-upgrade-notes\/","title":{"rendered":"Ubuntu 8.10 and 9.04 (Intrepid Ibex and Jaunty Jackalope) upgrade notes"},"content":{"rendered":"<p>I&#8217;m at <a href=\"http:\/\/2009.sf.wordcamp.org\/\">WordCamp San Francisco<\/a> today and decided that running a year old version of WordPress (on a year old version of <a href=\"http:\/\/www.ubuntu.com\/\">Ubuntu Linux<\/a>) was undesirable. So, with the confidence that comes from many relatively easy Ubuntu OS upgrades, I charged ahead. For (I think) the second time ever, things went badly. Here&#8217;s what I did and how I fixed it.<br \/>\n<!--more--><br \/>\nFirst, I had to figure out what release of Ubuntu was currently installed:<br \/>\n<code>lsb_release -a<\/code><\/p>\n<p>I was on &#8220;hardy&#8221;, a.k.a. the <a href=\"https:\/\/wiki.ubuntu.com\/HardyHeron\/\">Hardy Heron<\/a> release, a.k.a. Ubuntu 8.04 LTS.<\/p>\n<p>I had not bothered to install <a href=\"https:\/\/wiki.ubuntu.com\/IntrepidIbex\/\">Ubuntu 8.10 \/ &#8220;Intrepid Ibex&#8221;<\/a> because I didn&#8217;t have a reason to when it was release. I now wanted to upgrade to <a href=\"https:\/\/wiki.ubuntu.com\/JauntyJackalope\">Ubuntu 9.04 &#8220;Jaunty Jackalope&#8221;<\/a> which has <a href=\"http:\/\/wordpress.org\/\">WordPress<\/a> 2.7.1, the current release (as of today).<\/p>\n<p>The way to upgrade from 8.04 to 9.04 is to upgrade to 8.10 first. So I did that:<\/p>\n<p><a href=\"https:\/\/help.ubuntu.com\/community\/IntrepidUpgrades#Network%20Upgrade%20for%20Ubuntu%20Servers%20(Recommended)\">Intrepid Upgrades: Network Upgrade for Ubuntu Servers<\/a> worked really well. I had to do a little bit of manual file merging as usual (I still don&#8217;t understand why dpkg can&#8217;t merge changes from the old file into a new file) but that was it. Easy!<\/p>\n<p>When I rebooted the VPS, it kernel panicked: can&#8217;t mount the root filesystem. Oh crap. \/dev\/xvda1 is missing? Really? I told the VPS to hard reboot and it came up fine. But that&#8217;s a little scary. (I think this is something more related to my VPS hosting provider than Ubuntu, but I haven&#8217;t yet upgraded my laptop VMWare Ubuntu VPS&#8217;s yet so I&#8217;m not sure.)<\/p>\n<p>The second stage didn&#8217;t go so well. I did the same sort of simple upgrade: the Jaunty <a href=\"http:\/\/www.ubuntu.com\/getubuntu\/upgrading#Network%20Upgrade%20for%20Ubuntu%20Servers%20%28Recommended%29\">Network Upgrade for Ubuntu Servers<\/a> instructions are the same as the ones for Intrepid. Upgrade, edit a couple of config files, reboot. Kernel panic again, same reason, reboot. Should work, right?<\/p>\n<p>It booted, but had no network access. I was able to log in via my VPS hosting provider&#8217;s SSH remote console feature, so I was able to see that \/etc\/init.d\/networking was failing to start. It was the same problem that&#8217;s described in <a href=\"http:\/\/www.fs3.ph\/article\/ubuntu-904-in-an-openvz-ve\">Ubuntu 9.04 in an OpenVZ VE<\/a>. Adding that one line to <code>\/etc\/init.d\/networking<\/code> fixed the problem. Reboot, all better.<\/p>\n<p>So if you&#8217;re doing this upgrade on a VPS, make sure you&#8217;ve added that little 1-line hack after you do the Jaunty upgrade and before you reboot.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m at WordCamp San Francisco today and decided that running a year old version of WordPress (on a year old version of Ubuntu Linux) was undesirable. So, with the confidence that comes from many relatively easy Ubuntu OS upgrades, I charged ahead. For (I think) the second time ever, things went badly. Here&#8217;s what I &hellip; <a href=\"http:\/\/www.pervasivecode.com\/blog\/2009\/05\/30\/ubuntu-jaunty-jackalope-upgrade-notes\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Ubuntu 8.10 and 9.04 (Intrepid Ibex and Jaunty Jackalope) upgrade notes&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,15,3,39],"tags":[],"class_list":["post-96","post","type-post","status-publish","format-standard","hentry","category-linux","category-servers","category-ubuntu","category-xen"],"_links":{"self":[{"href":"http:\/\/www.pervasivecode.com\/blog\/wp-json\/wp\/v2\/posts\/96"}],"collection":[{"href":"http:\/\/www.pervasivecode.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.pervasivecode.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.pervasivecode.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.pervasivecode.com\/blog\/wp-json\/wp\/v2\/comments?post=96"}],"version-history":[{"count":8,"href":"http:\/\/www.pervasivecode.com\/blog\/wp-json\/wp\/v2\/posts\/96\/revisions"}],"predecessor-version":[{"id":104,"href":"http:\/\/www.pervasivecode.com\/blog\/wp-json\/wp\/v2\/posts\/96\/revisions\/104"}],"wp:attachment":[{"href":"http:\/\/www.pervasivecode.com\/blog\/wp-json\/wp\/v2\/media?parent=96"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.pervasivecode.com\/blog\/wp-json\/wp\/v2\/categories?post=96"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.pervasivecode.com\/blog\/wp-json\/wp\/v2\/tags?post=96"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}