<?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>mFabrik - mobile sites, apps, HTML5 and CMS software development &#187; crypto</title>
	<atom:link href="http://blog.mfabrik.com/tag/crypto/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mfabrik.com</link>
	<description>Freedom delivered.</description>
	<lastBuildDate>Wed, 03 Aug 2011 09:47:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Perfect dual boot crypted hard disk setup with Truecrypt and LUKS</title>
		<link>http://blog.mfabrik.com/2008/07/15/perfect-dual-boot-crypted-hard-disk-setup-with-truecrypt-and-luks/</link>
		<comments>http://blog.mfabrik.com/2008/07/15/perfect-dual-boot-crypted-hard-disk-setup-with-truecrypt-and-luks/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 00:33:55 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[alternate]]></category>
		<category><![CDATA[crypted]]></category>
		<category><![CDATA[crypto]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[dual boot]]></category>
		<category><![CDATA[encrypt]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[hard disk]]></category>
		<category><![CDATA[hd]]></category>
		<category><![CDATA[home]]></category>
		<category><![CDATA[luks]]></category>
		<category><![CDATA[lvm]]></category>
		<category><![CDATA[mbr]]></category>
		<category><![CDATA[truecrypt]]></category>

		<guid isPermaLink="false">http://blog.redinnovation.com/?p=55</guid>
		<description><![CDATA[I have a work laptop used in Symbian and web development. I need to be able to boot both Vista and Linux. Due to client privacy, both operating systems must be crypted for the case of lost laptop. Even if I do not use Windows actively, its web browser data may contain stored password for [...]]]></description>
			<content:encoded><![CDATA[<p>I have a work laptop used in Symbian and web development. I need to be able to boot both Vista and Linux. Due to client privacy, both operating systems must be crypted for the case of lost laptop. Even if I do not use Windows actively, its web browser data may contain stored password for client systems and it would be catastrophic to leak them accidentally.</p>
<p>Here are instructions how to encrypt your hard disk in safely but performance effective manner with Ubuntu 8.04 Hardy Heron and Windows Vista. These instructions can be applied for any version of Vista, since we use third party open source Truecrypt suite to encrypt the Windows partition. The instructions also give priority for Grub boot loader, so that the computer will boot to Linux if there is no user interaction during the boot.</p>
<p style="text-align: center;"><a href="http://blog.redinnovation.com/wp-content/uploads/2008/07/2669747740_ea50af33a0.jpg"><img class="alignnone size-medium wp-image-56 aligncenter" title="2669747740_ea50af33a0" src="http://blog.redinnovation.com/wp-content/uploads/2008/07/2669747740_ea50af33a0-300x225.jpg" alt="" width="300" height="225" /></a></p>
<ol>
<li>Install Windows Vista from the factory first boot installer</li>
<li>Download Ubuntu 8.04 <strong>alternative</strong> install CD. The alternative install CD contains installer menus to encrypt your HD using <a href="http://en.wikipedia.org/wiki/Logical_Volume_Manager_(Linux)">LVM</a> and <a href="http://luks.endorphin.org/">LUKS</a>.</li>
<li>For the sake of performance, we only crypt /home directory on Linux partition which contains all user editable files. All other files in Linux, maybe excluding configuration files in /etc, are open source and encrypting them only slows your application start-up times. <a href="http://blog.gnist.org/article.php?story=EncryptedSwapAndHomeUbuntu">It is possible to encrypt /home after install</a>, but it is much easier during the install time. <a href="http://users.piuha.net/martti/comp/ubuntu/en/cryptolvm.html">Here are instructions how to set up encrypted home partition with alternative install CD</a>.</li>
<li>After this comes the exciting part. You must encrypt the Windows system partition using Truecrypt. Since Truecrypt is going to overwrite Ubuntu&#8217;s Grub bootloader on Master Boot Record (MBR), <a href="http://ph.ubuntuforums.com/showpost.php?s=a35bb947b3593e4557135380109a40d7&amp;p=4786419&amp;postcount=10">some magic is needed (detailed instructions)</a>.
<ol>
<li>Install Truecrypt and overwrite MBR.</li>
<li>Boot Ubuntu from live CD. Alternative install CD doesn&#8217;t work as it does not have grub binary. You could also try to boot from your Linux partition by giving out manual kernel root file system parameters for the CD boot loader.</li>
<li>Back-up Truecrypt&#8217;s MBR to a file on /boot partition using dd</li>
<li>Add Truecrypt&#8217;s MBR as a chain boot loader in Grub</li>
<li>Rewrite MBR using Grub</li>
</ol>
</li>
</ol>
<p>For foreigners: You might want to keep <a href="http://www.zimmers.net/anonftp/pub/cbm/b/documents/keymap-us.gif">the US keymap</a> in hand, since the installer environment has  not necessarily keymap set up correctly.</p>
<p>Note: Since my HP Pavilion dv9000 laptop has two 250 GB hds, the actual setup is following: windows system partition, windows data partition, rest is set up for Linux using LVM in stripe RAID containing the root partition and the crypted home. This effectively gives near 100 MB/s read speed from two 5400 RPM hds.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2008/07/15/perfect-dual-boot-crypted-hard-disk-setup-with-truecrypt-and-luks/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

