<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>codedifferent.com &#187; 7.10 gutsy gibbon</title>
	<atom:link href="http://www.codedifferent.com/tag/710-gutsy-gibbon/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codedifferent.com</link>
	<description>mobile &#124; mac &#124; business &#124; development blog</description>
	<lastBuildDate>Sun, 04 Dec 2011 17:32:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Update Ubuntu server 7.10 Gutsy Gibbon to 8.04 LTS Hardy Heron via terminal</title>
		<link>http://www.codedifferent.com/2008/05/04/update-ubuntu-server-710-gutsy-gibbon-to-804-lts-hardy-heron-via-terminal/</link>
		<comments>http://www.codedifferent.com/2008/05/04/update-ubuntu-server-710-gutsy-gibbon-to-804-lts-hardy-heron-via-terminal/#comments</comments>
		<pubDate>Sun, 04 May 2008 18:31:38 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[7.10 gutsy gibbon]]></category>
		<category><![CDATA[8.04 lts hardy heron]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[problems]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[ubuntu server]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://www.codedifferent.com/?p=104</guid>
		<description><![CDATA[I just wanted to share the steps to upgrade an Ubuntu server running on 7.10 (Gutsy Gibbon) to the new version 8.04 LTS (Hardy Heron). The &#8220;official upgrade path&#8221; explained at Ubuntu did not work for me &#8211; and maybe some other of you also run into the same problems Some warnings before you start: [...]]]></description>
			<content:encoded><![CDATA[<p>I just wanted to share the steps to upgrade an Ubuntu server running on 7.10 (Gutsy Gibbon) to the new version 8.04 LTS (Hardy Heron). The &#8220;official upgrade path&#8221; explained at <a href="http://www.ubuntu.com/getubuntu/upgrading">Ubuntu</a> did not work for me &#8211; and maybe some other of you also run into the same problems <img src='http://www.codedifferent.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  <span id="more-104"></span></p>
<p>Some warnings before you start: Back up your system! The following steps are only recommended for those, who know what they do with their command line terminal. And everything you do &#8211; you do it on your own risk!</p>
<ul>
<li><strong>Problem 1:</strong> I use apt-get instead of aptitude &#8230; but you should not use both systems at the same time!</li>
<li><strong>Solution:</strong> You can just use apt-get instead of aptitude. So the commands are:<br />
<code><br />
$ sudo apt-get update<br />
$ sudo apt-get upgrade<br />
$ sudo apt-get install update-manager-core<br />
$ sudo do-release-upgrade<br />
</code><br />
<strong>Be sure NOT to restart at the end of the upgrade &#8230; see problem 3 why!</strong>
</li>
<p></p>
<li><strong>Problem 2:</strong> The do-release-upgrade script starts but aborts by telling me that I don&#8217;t have enough diskspace on my boot-partition:<br />
<code><br />
The upgrade aborts now. The upgrade needs a total of 52.4M free space on disk '/boot'. Please free at least an additional 18.1M of disk space on '/boot'. Empty your trash and remove temporary packages of former installations using 'sudo apt-get clean'.<br />
</code>
</li>
<li><strong>Solution:</strong> Start to clean up your packages by using the suggested command:<br />
<code><br />
$ sudo apt-get clean<br />
</code><br />
&#8230; but this was not enough on my server. So I figured out that I have a bunch of old kernel versions on the boot partition &#8211; which also can be removed. Check which kernel versions are installed by using the following command:<br />
<code><br />
$ dpkg -l | grep linux-image<br />
</code><br />
In my case, I was able to delete the old linux-image-2.6.15-29 and the linux-image-2.6.17-12. Be sure to keep at least the Gutsy Gibbon version!<br />
<code><br />
$ sudo apt-get remove --purge linux-image-2.6.15*<br />
$ sudo apt-get remove --purge linux-image-2.6.17*<br />
</code><br />
Then you need to update your menu.lst:<br />
<code><br />
$ sudo update-grub<br />
</code><br />
After doing this I check the kernel list file by looking into the file with the vi-editor:<br />
<code><br />
$ sudo vi /boot/grub/menu.lst<br />
</code><br />
If everything looks right within the automatic kernel list at the end of the file I go on.
</li>
<p></p>
<li><strong>Problem 3:</strong> The Ubuntu-geeks solved thisone themselves, but when I upgraded from Feisty Fawn to Gutsy Gibbon, I ran into big trouble: The do-release-upgrade functioned well, but when I restarted the server it did not boot properly anymore! The kernel list was not setup properly by the do-release -upgrade script!</li>
<li><strong>Solution:</strong> Therefor I always finish the do-release-upgrade script without restarting the server;<br />
then I re-update the menu.lst by<br />
<code><br />
$ sudo update-grub<br />
</code><br />
after doing this I check the kernel list file by looking into the file with the vi-editor:<br />
<code><br />
$ sudo vi /boot/grub/menu.lst<br />
</code><br />
If everything looks right within the automatic kernel list at the end of the file.<br />
<code><br />
$ sudo restart<br />
</code>
</li>
</ul>
<p>When you are finished with the upgrade and restarted your server &#8230; you should be able to access the server again via ssh. Then you can check the version of the installed linux version by typing:<br />
<code><br />
$ lsb_release -a<br />
</code><br />
The result should look like this <img src='http://www.codedifferent.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> :<br />
<code><br />
No LSB modules are available.<br />
Distributor ID:	Ubuntu<br />
Description:	Ubuntu 8.04<br />
Release:	8.04<br />
Codename:	hardy<br />
</code><br />
I hope this howto / problem solving saves some time for you <img src='http://www.codedifferent.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.codedifferent.com/2008/05/04/update-ubuntu-server-710-gutsy-gibbon-to-804-lts-hardy-heron-via-terminal/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

