<?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; howto</title>
	<atom:link href="http://www.codedifferent.com/tag/howto/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>How to rename iPhone 4 / iOS 4 folders for apps</title>
		<link>http://www.codedifferent.com/2010/07/21/how-to-rename-iphone-4-ios-4-folders-for-app/</link>
		<comments>http://www.codedifferent.com/2010/07/21/how-to-rename-iphone-4-ios-4-folders-for-app/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 07:32:46 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[folder]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[ios4]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[iphone4]]></category>

		<guid isPermaLink="false">http://www.codedifferent.com/?p=629</guid>
		<description><![CDATA[One of the most obvious features on the iPhone 4 &#038; iOS 4 is &#8220;Folders for Apps&#8221; to organize your apps. This is how you can cope with the food of apps &#8211; at least on your own iPhone. iOS 4 automatically names the folder and you directly can customize the name. But what about [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.codedifferent.com/wp-content/uploads/2010/07/iPhone-4-iOS-4-renaming-folder-for-apps-EN.jpg" alt="" title="iPhone-4-iOS-4-renaming-folder-for-apps-EN" width="230" height="108" class="alignleft size-full wp-image-649" />One of the most obvious features on the iPhone 4 &#038; iOS 4 is &#8220;Folders for Apps&#8221; to organize your apps. This is how you can cope with the food of apps &#8211; at least on your own iPhone. iOS 4 automatically names the folder and you directly can customize the name. But what about changing the name later on? </p>
<h3>Creating folders for apps</h3>
<ul>
<li>If you&#8217;re in rearrange mode &#8211; by tapping and holding on an app on the home screen until the app icons start to shake &#8211; creating folders is easy and intuitive: You only need to drag an app icon over an other app icon and the iOS instantly creates a folder and automatically names it.</li>
<li>The folder opens up and shows the included apps.</li>
<li> You can change the automatic generated folder name by clicking into the rounded white name field.</li>
</ul>
<h3>Rename an existing folder for apps</h3>
<ul>
<li>Changing existing titles of folders for apps is only working in the app rearrange mode.</li>
<li>So, you have to tap and hold one of the app icons on the home screen until the icons start to shake.</li>
<li>Then you tap on the folder you want to rename. The folder opens up so you can see the apps and the title in edit mode.</li>
<li>You only have to click on the title. Now the keyboard appears and you can rename the folder.</li>
<li>Just press the home button once you are finished to exit the rearrange mode.</li>
</ul>
<p>Hope this saves some time. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.codedifferent.com/2010/07/21/how-to-rename-iphone-4-ios-4-folders-for-app/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>WordPress,  .htaccess and the MAMP startpage error</title>
		<link>http://www.codedifferent.com/2010/01/13/wordpress-htaccess-and-the-mamp-startpage-error/</link>
		<comments>http://www.codedifferent.com/2010/01/13/wordpress-htaccess-and-the-mamp-startpage-error/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 00:20:48 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[mamp]]></category>
		<category><![CDATA[probem]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.codedifferent.com/?p=440</guid>
		<description><![CDATA[MAMP, a local webserver environment for the Mac, is perfect for testing, developing and designing with WordPress. MAMP comes with a ready to use configuration of Apache, MySQL and PHP in a single folder. But after installing and configuring a WordPress blog, you may loose the access to the MAMP start page: Forbidden You don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mamp.info/en/index.html">MAMP</a>, a local webserver environment for the Mac, is perfect for testing, developing and designing with <a href="http://wordpress.org/">WordPress</a>. MAMP comes with a ready to use configuration of Apache, MySQL and PHP in a single folder.<br />
But after installing and configuring a WordPress blog, you may loose the access to the MAMP start page:</p>
<blockquote><p>Forbidden<br />
You don&#8217;t have permission to access /MAMP/ on this server.<br />
Apache/2.0.63 (Unix) PHP/5.2.11 DAV/2 Server at localhost Port XXXX
</p></blockquote>
<p>That&#8217;s a big issue, as the start page links to the local phpMyAdmin page for MySQL-database configuration. So you cannot admin the database anymore.<br />
I traced down the problem to a wrong placed file: When I configured the WordPress installation via the web-interface, an .htaccess file was placed in the root directory of my harddrive. Quite scary &#8230; but a problem which can be fixed easily <img src='http://www.codedifferent.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><strong>As always: no guarantee and on your own risk &#8230; especially the Terminal is a wonderful tool &#8230; but if you do the wrong thing, you may be in serious trouble!</strong></p>
<p>You normally do not recognize the .htaccess file within the Finder: all filenames starting with a dot are hidden files in a UNIX system &#8230; and the Finder does not show those hidden files. But if you use the Terminal, you can look at all the hidden files easily.<br />
So fire up the Terminal app and go to the root directory of your hard drive:</p>

<div class="wp_codebox"><table><tr id="p4405"><td class="code" id="p440code5"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span></pre></td></tr></table></div>

<p>then looks at all the files in your root directory:</p>

<div class="wp_codebox"><table><tr id="p4406"><td class="code" id="p440code6"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #660033;">-la</span></pre></td></tr></table></div>

<p>If you find a  .htaccess there &#8230; you probably found your problem. But look inside the file before your rename or delete it:</p>

<div class="wp_codebox"><table><tr id="p4407"><td class="code" id="p440code7"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cat</span> .htaccess</pre></td></tr></table></div>

<p>The easiest way to proceed is to rename the htaccess file:</p>

<div class="wp_codebox"><table><tr id="p4408"><td class="code" id="p440code8"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mv</span> .htaccess htaccess-backup</pre></td></tr></table></div>

<p>This way the file is shown in the Finder again and does not confuse your MAMP installation. If you know what to do you can delete the renamed file now within the Finder and drag it to the trash <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/2010/01/13/wordpress-htaccess-and-the-mamp-startpage-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto: reactivate your Kyocera printer under Mac OS X Snow Leopard</title>
		<link>http://www.codedifferent.com/2009/09/02/howto-reactivate-your-kyocera-printer-under-mac-os-x-snow-leopard/</link>
		<comments>http://www.codedifferent.com/2009/09/02/howto-reactivate-your-kyocera-printer-under-mac-os-x-snow-leopard/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 19:29:12 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[10.6]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[driver]]></category>
		<category><![CDATA[fs-2000d]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[kyocera]]></category>
		<category><![CDATA[kyrocera mita]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[ppd]]></category>
		<category><![CDATA[printer]]></category>
		<category><![CDATA[printer driver]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[snow leopard]]></category>

		<guid isPermaLink="false">http://www.codedifferent.com/?p=398</guid>
		<description><![CDATA[Printer drivers under Mac OS 10.6 Snow Leopard are still sometimes causing trouble. After explaining how to reactivate an OKI-printer – here is the solution for an Kyocera-Mita-printer &#8230; and as always: no guarantee and on your own risk: Problem: After updating from Mac OS X 10.5 Leopard to OSX 10.6 Snow Leopard the installed [...]]]></description>
			<content:encoded><![CDATA[<p>Printer drivers under Mac OS 10.6 Snow Leopard are still sometimes causing trouble. After explaining how to reactivate an OKI-printer – here is the solution for an Kyocera-Mita-printer &#8230; and as always: no guarantee and on your own risk:</p>
<p><strong>Problem:</strong> After updating from Mac OS X 10.5 Leopard to OSX 10.6 Snow Leopard the installed printer driver for the Kyocera-postscript driver does not work anymore. Here it’s an Kyocera Mita FS-2000D &#8230; but it should also work with other models. The printer diver was installed under Leopard and worked quite well. After finishing the update to 10.6 you are able to send a print job to the printer, but an error message shows up in the print queue.</p>
<p><strong>Diagnosis:</strong>There are incorrect file permissions under Snow Leopard fort he Kyocera printer driver &#8230; and this causes some trouble. BTW a warm thank you to <a href="http://twitter.com/kappuchino">@kappuchino</a> for his diagnosis and solution!</p>
<p><strong>Solution:</strong>There is nothing like fixing the bug yourself <img src='http://www.codedifferent.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  You can easily fix the problem by one command in the Terminal:</p>
<ol>
<li>Log into your Mac as an administrator. </li>
<li>Open the program &#8220;Terminal&#8221; &#8211; you&#8217;ll find it under &#8220;Programs/Utilities&#8221;.</li>
<li>Input the following command into the appearing command-line window and finish it with pressing the return-key:

<div class="wp_codebox"><table><tr id="p39810"><td class="code" id="p398code10"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">chown</span> root:wheel <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>libexec<span style="color: #000000; font-weight: bold;">/</span>cups<span style="color: #000000; font-weight: bold;">/</span>filter<span style="color: #000000; font-weight: bold;">/</span>kyofilter</pre></td></tr></table></div>

</li>
<li>Now, you’ll be prompted for your password &#8230; so put in your password of the admin account and finish the input by pressing the return key again</li>
<li>That&#8217;s it. Just Close the Terminal program. Now printing on the Kyocera printer should be work like a charm.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.codedifferent.com/2009/09/02/howto-reactivate-your-kyocera-printer-under-mac-os-x-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>93</slash:comments>
		</item>
		<item>
		<title>Howto: reactivate your OKI printer under Mac OS X Snow Leopard</title>
		<link>http://www.codedifferent.com/2009/08/31/howto-reactivate-oki-printer-under-mac-osx-snow-leopard/</link>
		<comments>http://www.codedifferent.com/2009/08/31/howto-reactivate-oki-printer-under-mac-osx-snow-leopard/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 19:47:24 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[10.6]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[c5450]]></category>
		<category><![CDATA[c5540]]></category>
		<category><![CDATA[c8800]]></category>
		<category><![CDATA[driver]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[okfiltera]]></category>
		<category><![CDATA[oki]]></category>
		<category><![CDATA[postscript]]></category>
		<category><![CDATA[ppd]]></category>
		<category><![CDATA[printer]]></category>
		<category><![CDATA[printer driver]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[snow leopard]]></category>

		<guid isPermaLink="false">http://www.codedifferent.com/?p=389</guid>
		<description><![CDATA[I just updated to Mac OS X 10.6 Snow Leopard. My hard disk was still partitioned with the old Apple partition scheme &#8211; but Snow Leopard needs the new GUI partition scheme. So I had to do more as usual to do the update: First a complete backup of my hard disk (you absolutely should [...]]]></description>
			<content:encoded><![CDATA[<p>I just updated to Mac OS X 10.6 Snow Leopard. My hard disk was still partitioned with the old Apple partition scheme &#8211; but Snow Leopard needs the new GUI partition scheme. So I had to do more as usual to do the update: First a complete backup of my hard disk (you absolutely should do this every time you update your system), then I had to erase and repartition the HD with the GUI partition scheme. After that I was able to install Snow Leopard and transfer my user data from the backup, the programs, etc. with the Migration-Assistant. </p>
<p>Using Snow Leopard feels great and you immediately recognize the speed. Looks like all of the Apple engineers work &#8220;under the hood&#8221; was worth it! You should not expect fundamental changes within the user interface or other totally new features &#8211; the core of Snow Leopard are speed, detail improvements and technology upgrades.</p>
<p>But what’s about the compatibility to non-Apple-hardware products? Sadly, printing on my OKI laser printer does not work with the Leopard-compatible driver for the Oki MFP C5540. By using the preinstalled generic PS-printer-driver from Apple you are able to print on the OKI printer – you even an control the duplex unit. But you are not able to control all the specific printer settings like print quality, grayscale instead of color printing or specifying the installed memory on the printer. But, who knows how long Oki will need to update their printer drivers for Snow Leopard? That’s why I started debugging myself. So, here is the solution for all the fellow sufferers who also own an OKI printer &#8230; and as always: no guarantee and on your own risk:</p>
<p><strong>Problem:</strong> After updating from Mac OS X 10.5 Leopard to OSX 10.6 Snow Leopard the installed printer driver for the OKI-postscript driver does not work anymore. Here it&#8217;s an OKI MFP C5540 &#8230; but it should also work with other models, like the OKI C5450 or C8800. The printer diver was installed under Leopard and worked quite well. After finishing the update to 10.6 you are able to send a print job to the printer, but an error message shows up in the print queue. </p>
<p><strong><a href="http://www.codedifferent.com/2009/09/11/howto-update-reactivate-your-oki-printer-under-mac-os-x-snow-leopard/">UPDATE: You&#8217;ll find an updated diagnosis &#038; solution in the NEW BLOGPOST!</a></strong></p>
<p><del datetime="2009-09-11T13:50:07+00:00"><strong>Diagnosis:</strong> There is a bug in the printer driver &#8230; the bug had no effect under Leopard (maybe because of the Apple partition scheme). When OKI coded the printer driver, they disregarded case sensitivity in their path names &#8230; former systems did not care about case sensitivity &#8211; but Snow Leopard does! </del><br />
<del datetime="2009-09-11T13:50:07+00:00"><strong>Solution:</strong> The fast work around is to use the generic PostScript-printer driver – but there you don’t have the possibility to set the OKI-specific printer settings. That doesn’t make me happy <img src='http://www.codedifferent.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  To get back the whole functionality of the Leopard OKI-printer driver there is only one way: Hands on coding and debug <img src='http://www.codedifferent.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  Fortunately fixing the bug is no rocket science &#8211; you only need a text editor like TextEdit or TextMate and you don’t be scared program code:</del></p>
<ol>
<li><del datetime="2009-09-11T13:50:07+00:00">Search for your Oki-printer driver PPD-file in the Finder &#8230; you should find it under </del>

<div class="wp_codebox"><table><tr id="p38915"><td class="code" id="p389code15"><pre class="bash" style="font-family:monospace;">Macintosh HD<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>Printers<span style="color: #000000; font-weight: bold;">/</span>PPDs<span style="color: #000000; font-weight: bold;">/</span>Contents<span style="color: #000000; font-weight: bold;">/</span>Resources<span style="color: #000000; font-weight: bold;">/</span></pre></td></tr></table></div>

<p><del datetime="2009-09-11T13:50:07+00:00">mine is called “Oki C5540.ppd”.</del></li>
<li><del datetime="2009-09-11T13:50:07+00:00">Before you go on make a backup of this file &#8230; this way you always can come back to the original state. <img src='http://www.codedifferent.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </del></li>
<li><del datetime="2009-09-11T13:50:07+00:00">Open the PPD-file with the text editor and search for the following line:</del>

<div class="wp_codebox"><table><tr id="p38916"><td class="code" id="p389code16"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">*</span>cupsFilter: <span style="color: #ff0000;">&quot;application/vnd.cups-postscript 0 /Library/Printers/OKIDATA/Filters/OKfilterA&quot;</span></pre></td></tr></table></div>

</li>
<li><del datetime="2009-09-11T13:50:07+00:00">Then search for the file “OKfilterA” &#8230; I found mine under the following:</del>

<div class="wp_codebox"><table><tr id="p38917"><td class="code" id="p389code17"><pre class="bash" style="font-family:monospace;">Macintosh HD<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>Printers<span style="color: #000000; font-weight: bold;">/</span>Okidata<span style="color: #000000; font-weight: bold;">/</span>filters<span style="color: #000000; font-weight: bold;">/</span></pre></td></tr></table></div>

</li>
<li><del datetime="2009-09-11T13:50:07+00:00">Now, adjust the path in the PPD-file &#8230; the line in my corrected PPD-file looks like this:</del>

<div class="wp_codebox"><table><tr id="p38918"><td class="code" id="p389code18"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">*</span>cupsFilter: <span style="color: #ff0000;">&quot;application/vnd.cups-postscript 0 /Library/Printers/Okidata/filters/OKfilterA&quot;</span></pre></td></tr></table></div>

</li>
<li><del datetime="2009-09-11T13:50:07+00:00">Now, you only have to save the file and restart your Mac &#8230; now it should work <img src='http://www.codedifferent.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </del></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.codedifferent.com/2009/08/31/howto-reactivate-oki-printer-under-mac-osx-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<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>

