From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1QeaB4-0001NC-QY for mharc-grub-devel@gnu.org; Wed, 06 Jul 2011 18:02:38 -0400 Received: from eggs.gnu.org ([140.186.70.92]:46169) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <2@0x2c.org>) id 1QeRu0-0007qP-1k for grub-devel@gnu.org; Wed, 06 Jul 2011 09:12:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <2@0x2c.org>) id 1QeRty-0005xV-Dy for grub-devel@gnu.org; Wed, 06 Jul 2011 09:12:27 -0400 Received: from 0x2c.org ([217.114.63.201]:51115) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <2@0x2c.org>) id 1QeRty-0005xO-2Y for grub-devel@gnu.org; Wed, 06 Jul 2011 09:12:26 -0400 Received: from [81.221.146.60] (zux221-146-060.adsl.green.ch [81.221.146.60]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: 2) by 0x2c.org (Postfix) with ESMTPSA id 908DFFBF8E3E; Wed, 6 Jul 2011 15:12:23 +0200 (CEST) Message-ID: <4E145F36.8020203@0x2c.org> Date: Wed, 06 Jul 2011 15:12:22 +0200 From: Simon Schubert <2@0x2c.org> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110620 Thunderbird/5.0b2pre MIME-Version: 1.0 To: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= Subject: Re: Integrating grub2tc into upstream GRUB References: <4E1454E4.6040602@gmail.com> <4E145559.3040204@gmail.com> In-Reply-To: <4E145559.3040204@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 217.114.63.201 X-Mailman-Approved-At: Wed, 06 Jul 2011 18:02:35 -0400 Cc: The development of GRUB 2 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jul 2011 13:12:34 -0000 Hi Vladimir, On 07/06/2011 02:30 PM, Vladimir '=CF=86-coder/phcoder' Serbinenko wrote: > Note: I treat truecrypt as a proprietary software but due to its > popularity it makes sense to support it. Is it proprietary? I'm currently not using Windows, so I don't have a=20 working grub2tc setup. But I'm happy to help, and it did work before. > On 06.07.2011 14:28, Vladimir '=CF=86-coder/phcoder' Serbinenko wrote: > > Hello, I've had a look into your grub2tc project and I think it can > > be successfully changed into a GRUB2 module. extract.rb would need > > to be rewritten in C. tcloader.S would mostly disappear and be > > replaced with a small C code to set the registers and load the > > file. Could you tell me the expected load address and register > > values? All what I ever found out went into these files, so they are our only=20 documentation now :) What I remember was that the TC boot code expects the data blocks to be=20 in one of two possible locations. > > Also current license prohibits direct use of your code in GRUB2. > > Could you drop the Affero clause? IT's useful mainly for > > network-based projects. Yes, I'm happy to relicense it as GPL3 for the use in GRUB2. > > Also a possibility is to dump the contents of MBR gap on grub-setup > > and if it's a truecrypt loader, save it in a file. I think I looked into this, but the code is slightly different and=20 accesses data of the gap that will be overwritten by grub. Therefore I=20 decided to use the cd image boot code. > > Do you know of any signature which can be used for this? This way > > we can integrate truecrypt into grub-mkconfig. Thank you in > > advance I'd have to go and install TC and/or read the code. I'm pretty sure TC=20 uses some signature internally, but I forget what it was. cheers simon