<?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>Anthony Hook &#187; whatcouldpossiblygowrong</title>
	<atom:link href="http://anthonyrhook.com/blog/tag/whatcouldpossiblygowrong/feed/" rel="self" type="application/rss+xml" />
	<link>http://anthonyrhook.com/blog</link>
	<description>Death before decaf.</description>
	<lastBuildDate>Tue, 18 Oct 2011 16:48:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Upgrade Ubuntu Karmic Koala from 32bit to 64bit with encrypted /home</title>
		<link>http://anthonyrhook.com/blog/2010/01/05/upgrade-ubuntu-karmic-koala-from-32bit-to-64bit-with-encrypted-home/</link>
		<comments>http://anthonyrhook.com/blog/2010/01/05/upgrade-ubuntu-karmic-koala-from-32bit-to-64bit-with-encrypted-home/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 21:28:41 +0000</pubDate>
		<dc:creator>anthony</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[amidoinitrite?]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[whatcouldpossiblygowrong]]></category>

		<guid isPermaLink="false">http://anthonyrhook.com/blog/?p=320</guid>
		<description><![CDATA[I was deciding if I wanted to take advantage of running on a 64bit kernel on Ubuntu 9.10 Karmic Koala, and I really had no reason to stick with 32bit. 64bit allows better performance, and has been reported to be as stable as 32bit while being faster. I have been hesitant about upgrading in the [...]]]></description>
			<content:encoded><![CDATA[<p>I was deciding if I wanted to take advantage of running on a 64bit kernel on Ubuntu 9.10 Karmic Koala, and I really had no reason to stick with 32bit.  64bit allows better performance, and has been reported to be as stable as 32bit while being faster.</p>
<p>I have been hesitant about upgrading in the past to 64bit for a number of reasons:  application support, driver support, flash support, etc.  Doing some reading lately (<a href="http://www.omgubuntu.co.uk/2009/12/ubuntu-64bit-really-is-faster-than.html" target="_blank">here</a>, and <a href="http://www.phoronix.com/scan.php?page=article&amp;item=ubuntu_32_pae&amp;num=1" target="_blank">here</a>), I decided it&#8217;s time to leave 32bit in the dust and jump on the 64bit bandwagon.  If my hardware supports it, why not?</p>
<p>The next question I had was with my encrypted /home partition.  Is it as easy as reinstalling with the same options (read on, you&#8217;ll find out!)?  Will I have to copy my data elsewhere and copy back over when I&#8217;m done?  Can I upgrade in-place or do I have to reinstall entirely?  Is my laptop going to asplode?</p>
<p>My partitioning is as follows:</p>
<div id="attachment_322" class="wp-caption aligncenter" style="width: 310px"><a href="http://anthonyrhook.com/blog/wp-content/uploads/Screenshot-dev-sda-GParted.png"><img class="size-medium wp-image-322" title="Screenshot--dev-sda - GParted" src="http://anthonyrhook.com/blog/wp-content/uploads/Screenshot-dev-sda-GParted-300x198.png" alt="Screenshot--dev-sda - GParted" width="300" height="198" /></a><p class="wp-caption-text">Screenshot--dev-sda - GParted</p></div>
<p>I was concerned about not having 64bit Karmic Koala pick-up/use my encrypted home directory automatically on login.  I decided to throw up a virtual machine of Karmic with the /home on a separate partition and used the encryption option on the user-creation box.  I then reinstalled the 64bit version on top of that using the same /home mountpoint, formatting the / mountpoint, installed with the same encryption option selected, and checked to see that a document that I had created on the Desktop was still there.  Lo-and-behold (where did that saying come from, anyway?) I had success!  The only thing left to do was the actual upgrade.</p>
<p>Before you start, make sure you have a proper backup of your data.  There&#8217;s the steps I used:</p>
<ul>
<li>Downloaded the 64bit ISO and installed that to my USB drive</li>
<li>Booted from the USB drive</li>
<li>Formatted /dev/sda1 as ext4 and set mountpoint as /, used /dev/sda5 as ext4 and set mountpoint /home (<strong>do not format this</strong>)</li>
<li>Used the same username, password, checked the &#8220;automatically decrypt&#8221; option on the user creation form</li>
<li><strong> </strong>Install!</li>
</ul>
<p>I logged in and all of my settings and data were there as expected.  I only had to reinstall some programs that aren&#8217;t installed by default that I use, (chromium-browser, skype, etc).   Also, I am a good boy and have a backup of my home directory (which I can discuss in a later post) just in case it went bad.</p>
<p>I can now ride the wave of the future (with style) on 64bit Ubuntu 9.10 Karmic Koala! I hope this may be of use for some people.</p>
]]></content:encoded>
			<wfw:commentRss>http://anthonyrhook.com/blog/2010/01/05/upgrade-ubuntu-karmic-koala-from-32bit-to-64bit-with-encrypted-home/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

