<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Perfect dual boot crypted hard disk setup with Truecrypt and LUKS</title>
	<atom:link href="http://blog.mfabrik.com/2008/07/15/perfect-dual-boot-crypted-hard-disk-setup-with-truecrypt-and-luks/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mfabrik.com/2008/07/15/perfect-dual-boot-crypted-hard-disk-setup-with-truecrypt-and-luks/</link>
	<description>Freedom delivered.</description>
	<lastBuildDate>Fri, 10 Sep 2010 07:04:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: jova3078</title>
		<link>http://blog.mfabrik.com/2008/07/15/perfect-dual-boot-crypted-hard-disk-setup-with-truecrypt-and-luks/comment-page-1/#comment-848</link>
		<dc:creator>jova3078</dc:creator>
		<pubDate>Thu, 23 Jul 2009 13:34:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.redinnovation.com/?p=55#comment-848</guid>
		<description>The correct address for the instructions on ubuntuforums would be: http://ubuntuforums.org/showthread.php?p=a35bb947b3593e4557135380109a40d7&amp;p=4786419&amp;postcount=10</description>
		<content:encoded><![CDATA[<p>The correct address for the instructions on ubuntuforums would be: <a href="http://ubuntuforums.org/showthread.php?p=a35bb947b3593e4557135380109a40d7&amp;p=4786419&amp;postcount=10" rel="nofollow">http://ubuntuforums.org/showthread.php?p=a35bb947b3593e4557135380109a40d7&amp;p=4786419&amp;postcount=10</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fritzl</title>
		<link>http://blog.mfabrik.com/2008/07/15/perfect-dual-boot-crypted-hard-disk-setup-with-truecrypt-and-luks/comment-page-1/#comment-811</link>
		<dc:creator>Fritzl</dc:creator>
		<pubDate>Wed, 07 Jan 2009 13:24:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.redinnovation.com/?p=55#comment-811</guid>
		<description>can anyone provide me with the working link?
step 4 looks very complicated.</description>
		<content:encoded><![CDATA[<p>can anyone provide me with the working link?<br />
step 4 looks very complicated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: atx</title>
		<link>http://blog.mfabrik.com/2008/07/15/perfect-dual-boot-crypted-hard-disk-setup-with-truecrypt-and-luks/comment-page-1/#comment-805</link>
		<dc:creator>atx</dc:creator>
		<pubDate>Fri, 02 Jan 2009 19:17:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.redinnovation.com/?p=55#comment-805</guid>
		<description>I have just tested another interesting solution for multibooting with TrueCrypt. This one is using GRUB4DOS and ISO image of Truecrypt Rescue Disk. I wanted to have Grub showing first, and not see the Truecrypt loader until really needed (when I choose to start the TCrypted OS). The second advantage is that GRUB is used here in stage1.5 mode (des not load stage2 directly from MBR as in your example) hence it is not prone to changes to stage2 file location (e.g. during defragmentation).

The idea is to boot the &quot;TrueCrypt Rescue CD&quot; ISO image from hard disk using Grub4DOS&#039; ability to map iso file as harddrive, when access to encrypted OS is requested. The Rescue CD behaves like a normal TC loader - when correct password is entered, it starts the encrypted OS exactly as if it was started from normal TC loader stored in MBR.

I found the idea here:
http://grub4dos.sourceforge.net/wiki/index.php/Mr

My current setup looks like this:
- partition 1: 128MB, &quot;BOOT&quot;, GRUB4DOS files
- partition 2: 32GB, &quot;WIN1-TC&quot;, encrypted OS
- partition 3: 32GB, &quot;WIN2&quot;, second OS

GRUB4DOS is installed in MBR. It also takes a few sectors of track 1 (normally needed by TrueCrypt loader), so the trick with chainloading TC MBR from file cannot be used (chainloaded TC MBR would load rest of track 1, but it&#039;s now GRUB&#039;s data there and TC would hang). But we can use unique feature of GRUB4DOS - chainloading from ISO image:

1. ISO of TrueCrypt Rescue Disk (the file generated during system encryption) should be copied to GRUB subfolder on BOOT partition

2. In MENU.LST on boot partition, I have following entries:

title 1st
map --mem (hd0,0)/GRUB/TCRescueDisk.iso (hd32)
map --hook
unhide (hd0,1)
hide (hd0,2)
rootnoverify (hd0,1)
makeactive
chainloader (hd32)

title 2nd
hide (hd0,1)
unhide (hd0,2)
rootnoverify (hd0,2)
makeactive
chainloader +1

It works without problems. When I power up the computer, GRUB is loaded, then if I choose option 2 the 2nd OS is loaded, and if I choose option 1 I get the TrueCrypt prompt, after which the 1st OS is loaded.

I haven&#039;t tested it, but this idea could potentially also allow having more than 1 TrueCrypt-encrypted Windows installations (normally this is not possible, as TC stores system-unique key data in track 1 of hdd, hence encrypting 2nd OS would overwrite data for 1st one): one could put more Recovery ISO images in BOOT partition (for each encrypted OS 1 ISO of it&#039;s recovery CD) and add a similar &quot;boot from ISO&quot; entry to Grub&#039;s MENU.LST file.</description>
		<content:encoded><![CDATA[<p>I have just tested another interesting solution for multibooting with TrueCrypt. This one is using GRUB4DOS and ISO image of Truecrypt Rescue Disk. I wanted to have Grub showing first, and not see the Truecrypt loader until really needed (when I choose to start the TCrypted OS). The second advantage is that GRUB is used here in stage1.5 mode (des not load stage2 directly from MBR as in your example) hence it is not prone to changes to stage2 file location (e.g. during defragmentation).</p>
<p>The idea is to boot the &#8220;TrueCrypt Rescue CD&#8221; ISO image from hard disk using Grub4DOS&#8217; ability to map iso file as harddrive, when access to encrypted OS is requested. The Rescue CD behaves like a normal TC loader &#8211; when correct password is entered, it starts the encrypted OS exactly as if it was started from normal TC loader stored in MBR.</p>
<p>I found the idea here:<br />
<a href="http://grub4dos.sourceforge.net/wiki/index.php/Mr" rel="nofollow">http://grub4dos.sourceforge.net/wiki/index.php/Mr</a></p>
<p>My current setup looks like this:<br />
- partition 1: 128MB, &#8220;BOOT&#8221;, GRUB4DOS files<br />
- partition 2: 32GB, &#8220;WIN1-TC&#8221;, encrypted OS<br />
- partition 3: 32GB, &#8220;WIN2&#8243;, second OS</p>
<p>GRUB4DOS is installed in MBR. It also takes a few sectors of track 1 (normally needed by TrueCrypt loader), so the trick with chainloading TC MBR from file cannot be used (chainloaded TC MBR would load rest of track 1, but it&#8217;s now GRUB&#8217;s data there and TC would hang). But we can use unique feature of GRUB4DOS &#8211; chainloading from ISO image:</p>
<p>1. ISO of TrueCrypt Rescue Disk (the file generated during system encryption) should be copied to GRUB subfolder on BOOT partition</p>
<p>2. In MENU.LST on boot partition, I have following entries:</p>
<p>title 1st<br />
map &#8211;mem (hd0,0)/GRUB/TCRescueDisk.iso (hd32)<br />
map &#8211;hook<br />
unhide (hd0,1)<br />
hide (hd0,2)<br />
rootnoverify (hd0,1)<br />
makeactive<br />
chainloader (hd32)</p>
<p>title 2nd<br />
hide (hd0,1)<br />
unhide (hd0,2)<br />
rootnoverify (hd0,2)<br />
makeactive<br />
chainloader +1</p>
<p>It works without problems. When I power up the computer, GRUB is loaded, then if I choose option 2 the 2nd OS is loaded, and if I choose option 1 I get the TrueCrypt prompt, after which the 1st OS is loaded.</p>
<p>I haven&#8217;t tested it, but this idea could potentially also allow having more than 1 TrueCrypt-encrypted Windows installations (normally this is not possible, as TC stores system-unique key data in track 1 of hdd, hence encrypting 2nd OS would overwrite data for 1st one): one could put more Recovery ISO images in BOOT partition (for each encrypted OS 1 ISO of it&#8217;s recovery CD) and add a similar &#8220;boot from ISO&#8221; entry to Grub&#8217;s MENU.LST file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajzimm3rman</title>
		<link>http://blog.mfabrik.com/2008/07/15/perfect-dual-boot-crypted-hard-disk-setup-with-truecrypt-and-luks/comment-page-1/#comment-804</link>
		<dc:creator>Ajzimm3rman</dc:creator>
		<pubDate>Fri, 02 Jan 2009 19:13:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.redinnovation.com/?p=55#comment-804</guid>
		<description>LOL... he said foreigners..</description>
		<content:encoded><![CDATA[<p>LOL&#8230; he said foreigners..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: atx</title>
		<link>http://blog.mfabrik.com/2008/07/15/perfect-dual-boot-crypted-hard-disk-setup-with-truecrypt-and-luks/comment-page-1/#comment-802</link>
		<dc:creator>atx</dc:creator>
		<pubDate>Fri, 02 Jan 2009 03:57:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.redinnovation.com/?p=55#comment-802</guid>
		<description>regarding the &quot;magic needed&quot; link, it should be ubuntuforums.org and not ubuntuforums.com (the former gives a &#039;host not found&#039; error).</description>
		<content:encoded><![CDATA[<p>regarding the &#8220;magic needed&#8221; link, it should be ubuntuforums.org and not ubuntuforums.com (the former gives a &#8216;host not found&#8217; error).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikko Ohtamaa</title>
		<link>http://blog.mfabrik.com/2008/07/15/perfect-dual-boot-crypted-hard-disk-setup-with-truecrypt-and-luks/comment-page-1/#comment-676</link>
		<dc:creator>Mikko Ohtamaa</dc:creator>
		<pubDate>Sun, 12 Oct 2008 20:32:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.redinnovation.com/?p=55#comment-676</guid>
		<description>Those steps can be found from Ubuntu forums linked in this post.</description>
		<content:encoded><![CDATA[<p>Those steps can be found from Ubuntu forums linked in this post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jon</title>
		<link>http://blog.mfabrik.com/2008/07/15/perfect-dual-boot-crypted-hard-disk-setup-with-truecrypt-and-luks/comment-page-1/#comment-674</link>
		<dc:creator>jon</dc:creator>
		<pubDate>Sat, 11 Oct 2008 22:13:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.redinnovation.com/?p=55#comment-674</guid>
		<description>Could you give (step by step) details on these parts:

4.3 Back-up Truecrypt’s MBR to a file on /boot partition using dd 
4.4 Add Truecrypt’s MBR as a chain boot loader in Grub 
4.5 Rewrite MBR using Grub</description>
		<content:encoded><![CDATA[<p>Could you give (step by step) details on these parts:</p>
<p>4.3 Back-up Truecrypt’s MBR to a file on /boot partition using dd<br />
4.4 Add Truecrypt’s MBR as a chain boot loader in Grub<br />
4.5 Rewrite MBR using Grub</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruce</title>
		<link>http://blog.mfabrik.com/2008/07/15/perfect-dual-boot-crypted-hard-disk-setup-with-truecrypt-and-luks/comment-page-1/#comment-410</link>
		<dc:creator>Bruce</dc:creator>
		<pubDate>Sat, 19 Jul 2008 15:53:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.redinnovation.com/?p=55#comment-410</guid>
		<description>Well I tried it and it works! I also discovered something interesting; if you put GRUB on the MBR and on the PBR of the second partition you can go back to GRUB from the TrueCrypt loader via the ESC key (assuming when you installed TrueCrypt you told it there was another boot loader.)</description>
		<content:encoded><![CDATA[<p>Well I tried it and it works! I also discovered something interesting; if you put GRUB on the MBR and on the PBR of the second partition you can go back to GRUB from the TrueCrypt loader via the ESC key (assuming when you installed TrueCrypt you told it there was another boot loader.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruce</title>
		<link>http://blog.mfabrik.com/2008/07/15/perfect-dual-boot-crypted-hard-disk-setup-with-truecrypt-and-luks/comment-page-1/#comment-409</link>
		<dc:creator>Bruce</dc:creator>
		<pubDate>Sat, 19 Jul 2008 06:22:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.redinnovation.com/?p=55#comment-409</guid>
		<description>I use TrueCrypt for Windows and dm-crypt with lvm for Ubuntu and press ESC at the TrueCrypt boot loader on the MBR to get to GRUB on the second partition. However, I never thought about getting GRUB to chainload TrueCrypt!

So GRUB is installed on the MBR but the TrueCrypt boot loader is actually on installed on the second partition?</description>
		<content:encoded><![CDATA[<p>I use TrueCrypt for Windows and dm-crypt with lvm for Ubuntu and press ESC at the TrueCrypt boot loader on the MBR to get to GRUB on the second partition. However, I never thought about getting GRUB to chainload TrueCrypt!</p>
<p>So GRUB is installed on the MBR but the TrueCrypt boot loader is actually on installed on the second partition?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
