<?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>SteveOH &#187; truecrypt</title>
	<atom:link href="http://www.steve-oh.com/blog/index.php/tag/truecrypt/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.steve-oh.com/blog</link>
	<description>Steve O Hernandez - Technology, Real Life, Advice</description>
	<lastBuildDate>Fri, 03 Feb 2012 16:51: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>
		<item>
		<title>Ubuntu / Debian Windows 7 Dual Boot System Encryption with TrueCrypt</title>
		<link>http://www.steve-oh.com/blog/index.php/ubuntu-debian-windows-7-dual-boot-system-encryption-with-truecrypt/</link>
		<comments>http://www.steve-oh.com/blog/index.php/ubuntu-debian-windows-7-dual-boot-system-encryption-with-truecrypt/#comments</comments>
		<pubDate>Thu, 02 Jun 2011 13:48:55 +0000</pubDate>
		<dc:creator>Steve O Hernandez</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[dual boot]]></category>
		<category><![CDATA[encrypt]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[solution]]></category>
		<category><![CDATA[system]]></category>
		<category><![CDATA[truecrypt]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://www.steve-oh.com/blog/?p=327</guid>
		<description><![CDATA[I will be doing this configuration on my test machine very soon since my previous guide (here) is a bit outdated.  For now you can follow the previous instructions and modify them per the instructions below: From SuperUser: I&#8217;ve done it but not exactly like in your link, because of some kind of problem (bug?) [...]]]></description>
			<content:encoded><![CDATA[<p>I will be doing this configuration on my test machine very soon since my previous guide (<a href="http://www.steve-oh.com/blog/index.php/ubuntu-vista-dual-boot-full-encryption-with-truecrypt/" target="_blank">here</a>) is a bit outdated.  For now you can follow the previous instructions and modify them per the instructions below:</p>
<p>From <a href="http://superuser.com/questions/251109/encrypt-multiple-systems-win7-deb" target="_blank">SuperUser</a>:</p>
<p>I&#8217;ve done it <img src='http://www.steve-oh.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  but not exactly like in your link, because of some kind of <a href="http://www.steve-oh.com/blog/index.php/tag/problem/" class="st_tag internal_tag" rel="tag" title="Posts tagged with problem">problem</a> (bug?) in <a href="http://www.steve-oh.com/blog/index.php/tag/grub/" class="st_tag internal_tag" rel="tag" title="Posts tagged with grub">Grub</a>2 (tutorial is with <a href="http://www.steve-oh.com/blog/index.php/tag/grub/" class="st_tag internal_tag" rel="tag" title="Posts tagged with grub">grub</a> &#8220;1&#8243; but I&#8217;ve <a href="http://www.steve-oh.com/blog/index.php/tag/grub/" class="st_tag internal_tag" rel="tag" title="Posts tagged with grub">Grub</a>2), specifically in this</p>
<blockquote><p>title <a href="http://www.steve-oh.com/blog/index.php/tag/windows/" class="st_tag internal_tag" rel="tag" title="Posts tagged with windows">Windows</a> <a href="http://www.steve-oh.com/blog/index.php/tag/vista/" class="st_tag internal_tag" rel="tag" title="Posts tagged with vista">Vista</a>/Longhorn<br />
rootnoverify (hd0,0) makeactive<br />
<strong>chainloader (hd0,1)/<a href="http://www.steve-oh.com/blog/index.php/tag/truecrypt/" class="st_tag internal_tag" rel="tag" title="Posts tagged with truecrypt">truecrypt</a>.mbr</strong><br />
boot</p></blockquote>
<p>The problem is known and posted on many forums.</p>
<p>My <a href="http://www.steve-oh.com/blog/index.php/tag/solution/" class="st_tag internal_tag" rel="tag" title="Posts tagged with solution">solution</a> was:</p>
<ol>
<li><a href="http://www.steve-oh.com/blog/index.php/tag/encrypt/" class="st_tag internal_tag" rel="tag" title="Posts tagged with encrypt">Encrypt</a> Windows7 <a href="http://www.steve-oh.com/blog/index.php/tag/system/" class="st_tag internal_tag" rel="tag" title="Posts tagged with system">system</a> partition using truecrypt, selecting Single boot and overwriting Grub2 loader with truecrypt loader</li>
<li>Boot <a href="http://www.steve-oh.com/blog/index.php/tag/debian/" class="st_tag internal_tag" rel="tag" title="Posts tagged with debian">Debian</a> from Rescue CD and install grub2 bootloader NOT on MBR but on /dev/sda3 which is <a href="http://www.steve-oh.com/blog/index.php/tag/debian/" class="st_tag internal_tag" rel="tag" title="Posts tagged with debian">Debian</a> / partition (so truecrypt loader was not overrided)</li>
</ol>
<p>Now while booting truecrypt bootmenu is shown and if I&#8217;d access Win7 I&#8217;m entering password, but if I&#8217;d enter debian (via Grub2) I hit esc key and then truecrypt loader is searching all other partitions for boot loader and finding Grub2 which resides on /dev/sda3 and load system properly.</p>
<p>I think its the best way to do this for now (until sb find resolution for Grub2 to read /boot/truecrypt.mbr without errors).</p>

	Tags: <a href="http://www.steve-oh.com/blog/index.php/tag/debian/" title="debian" rel="tag">debian</a>, <a href="http://www.steve-oh.com/blog/index.php/tag/dual-boot/" title="dual boot" rel="tag">dual boot</a>, <a href="http://www.steve-oh.com/blog/index.php/tag/encrypt/" title="encrypt" rel="tag">encrypt</a>, <a href="http://www.steve-oh.com/blog/index.php/tag/encryption/" title="encryption" rel="tag">encryption</a>, <a href="http://www.steve-oh.com/blog/index.php/tag/grub/" title="grub" rel="tag">grub</a>, <a href="http://www.steve-oh.com/blog/index.php/tag/linux/" title="linux" rel="tag">linux</a>, <a href="http://www.steve-oh.com/blog/index.php/tag/problem/" title="problem" rel="tag">problem</a>, <a href="http://www.steve-oh.com/blog/index.php/tag/solution/" title="solution" rel="tag">solution</a>, <a href="http://www.steve-oh.com/blog/index.php/tag/system/" title="system" rel="tag">system</a>, <a href="http://www.steve-oh.com/blog/index.php/tag/truecrypt/" title="truecrypt" rel="tag">truecrypt</a>, <a href="http://www.steve-oh.com/blog/index.php/tag/ubuntu/" title="ubuntu" rel="tag">ubuntu</a>, <a href="http://www.steve-oh.com/blog/index.php/tag/vista/" title="vista" rel="tag">vista</a>, <a href="http://www.steve-oh.com/blog/index.php/tag/windows/" title="windows" rel="tag">windows</a>, <a href="http://www.steve-oh.com/blog/index.php/tag/windows-7/" title="windows 7" rel="tag">windows 7</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.steve-oh.com/blog/index.php/ubuntu-debian-windows-7-dual-boot-system-encryption-with-truecrypt/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu / Vista Dual Boot &#8211; Full Encryption with TrueCrypt</title>
		<link>http://www.steve-oh.com/blog/index.php/ubuntu-vista-dual-boot-full-encryption-with-truecrypt/</link>
		<comments>http://www.steve-oh.com/blog/index.php/ubuntu-vista-dual-boot-full-encryption-with-truecrypt/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 13:42:35 +0000</pubDate>
		<dc:creator>Steve O Hernandez</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[dual boot]]></category>
		<category><![CDATA[encrypt]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[operating system]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[system]]></category>
		<category><![CDATA[truecrypt]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[xp]]></category>

		<guid isPermaLink="false">http://www.steve-oh.com/blog/?p=203</guid>
		<description><![CDATA[sda1: Windows Vista encrypted with TrueCrypt sda2: Ubuntu Hardy Heron /boot partition (not encrypted) sda3: Ubuntu Hardy Heron encrypted volume with LVM inside and / and swap partions within LVM (to save partitions used overall incase it gets over 5 partitions) sda4: Working on installing OSX Leopard on this partition currently. The steps I used [...]]]></description>
			<content:encoded><![CDATA[<p>sda1: <a href="http://www.steve-oh.com/blog/index.php/tag/windows/" class="st_tag internal_tag" rel="tag" title="Posts tagged with windows">Windows</a> <a href="http://www.steve-oh.com/blog/index.php/tag/vista/" class="st_tag internal_tag" rel="tag" title="Posts tagged with vista">Vista</a> encrypted with <a href="http://www.steve-oh.com/blog/index.php/tag/truecrypt/" class="st_tag internal_tag" rel="tag" title="Posts tagged with truecrypt">TrueCrypt</a><br />
sda2: <a href="http://www.steve-oh.com/blog/index.php/tag/ubuntu/" class="st_tag internal_tag" rel="tag" title="Posts tagged with ubuntu">Ubuntu</a> Hardy Heron /boot partition (not encrypted)<br />
sda3: Ubuntu Hardy Heron encrypted volume with LVM inside and / and swap partions within LVM (to save partitions used overall incase it gets over 5 partitions)<br />
sda4: Working on installing OSX Leopard on this partition currently.</p>
<p>The steps I used are as follows, in brief:<br />
1) Installed Vista first (actually pre-installed on laptop)</p>
<p>2) Installed Ubuntu second using encrypted physical volume with LVM inside it and 2 partions / and swap inside the LVM(at this point, <a href="http://www.steve-oh.com/blog/index.php/tag/grub/" class="st_tag internal_tag" rel="tag" title="Posts tagged with grub">grub</a> was in the MBR)</p>
<p>3) Ran full windows <a href="http://www.steve-oh.com/blog/index.php/tag/system/" class="st_tag internal_tag" rel="tag" title="Posts tagged with system">system</a> <a href="http://www.steve-oh.com/blog/index.php/tag/encryption/" class="st_tag internal_tag" rel="tag" title="Posts tagged with encryption">encryption</a> (not full disk <a href="http://www.steve-oh.com/blog/index.php/tag/encryption/" class="st_tag internal_tag" rel="tag" title="Posts tagged with encryption">encryption</a>) through TrueCrypt and let it write its bootloader to the MBR. (obviously overwriting Grub in the MBR)</p>
<p>4) Booted with a live cd and copied the truecrypt bootloader from the MBR to a file in the /boot partition (sda2)<br />
use these commands to do so:<br />
<em>dd if=/dev/sda of=/mnt/boot/truecrypt.mbr count=1 bs=512<br />
dd if=/dev/sda of=/mnt/boot/truecrypt.backup count=8 bs=32256</em></p>
<p>5)Reinstalled grub to the MBR using these commands:<br />
<em>sudo grub<br />
install (hd0,1)/grub/stage1 (hd0) (hd0,1)/grub/stage2 0&#215;8000 p</em></p>
<p>6) Added a chainloader to the menu.lst Vista entry to point to the truecrypt bootloader within the /boot partition like so:</p>
<p><em>title Windows Vista/Longhorn<br />
rootnoverify (hd0,0)<br />
makeactive<br />
chainloader (hd0,1)/truecrypt.mbr<br />
boot</em></p>
<p>The only partition not encrypted in the /boot partition so far, which is fine. After grub loads, no matter which OS I choose, I enter a passphrase and that OS starts.</p>
<p>For more detailed instructions which I pulled from but which are for <a href="http://www.steve-oh.com/blog/index.php/tag/xp/" class="st_tag internal_tag" rel="tag" title="Posts tagged with xp">XP</a> instead of Vista, use this link:</p>
<p><a href="http://ubuntuforums.org/showthread.php?t=761530" target="_blank">http://ubuntuforums.org/showthread.php?t=761530</a></p>

	Tags: <a href="http://www.steve-oh.com/blog/index.php/tag/dual-boot/" title="dual boot" rel="tag">dual boot</a>, <a href="http://www.steve-oh.com/blog/index.php/tag/encrypt/" title="encrypt" rel="tag">encrypt</a>, <a href="http://www.steve-oh.com/blog/index.php/tag/encryption/" title="encryption" rel="tag">encryption</a>, <a href="http://www.steve-oh.com/blog/index.php/tag/grub/" title="grub" rel="tag">grub</a>, <a href="http://www.steve-oh.com/blog/index.php/tag/linux/" title="linux" rel="tag">linux</a>, <a href="http://www.steve-oh.com/blog/index.php/tag/operating-system/" title="operating system" rel="tag">operating system</a>, <a href="http://www.steve-oh.com/blog/index.php/tag/security/" title="security" rel="tag">security</a>, <a href="http://www.steve-oh.com/blog/index.php/tag/system/" title="system" rel="tag">system</a>, <a href="http://www.steve-oh.com/blog/index.php/tag/truecrypt/" title="truecrypt" rel="tag">truecrypt</a>, <a href="http://www.steve-oh.com/blog/index.php/tag/ubuntu/" title="ubuntu" rel="tag">ubuntu</a>, <a href="http://www.steve-oh.com/blog/index.php/tag/vista/" title="vista" rel="tag">vista</a>, <a href="http://www.steve-oh.com/blog/index.php/tag/windows/" title="windows" rel="tag">windows</a>, <a href="http://www.steve-oh.com/blog/index.php/tag/xp/" title="xp" rel="tag">xp</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.steve-oh.com/blog/index.php/ubuntu-vista-dual-boot-full-encryption-with-truecrypt/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

