All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Schubert <2@0x2c.org>
To: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
Cc: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Integrating grub2tc into upstream GRUB
Date: Wed, 06 Jul 2011 15:12:22 +0200	[thread overview]
Message-ID: <4E145F36.8020203@0x2c.org> (raw)
In-Reply-To: <4E145559.3040204@gmail.com>

Hi Vladimir,

On 07/06/2011 02:30 PM, Vladimir 'φ-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 
working grub2tc setup.  But I'm happy to help, and it did work before.

>  On 06.07.2011 14:28, Vladimir 'φ-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 
documentation now :)

What I remember was that the TC boot code expects the data blocks to be 
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 
accesses data of the gap that will be overwritten by grub.  Therefore I 
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 
uses some signature internally, but I forget what it was.

cheers
   simon



  reply	other threads:[~2011-07-06 22:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-06 12:28 Integrating grub2tc into upstream GRUB Vladimir 'φ-coder/phcoder' Serbinenko
2011-07-06 12:30 ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-07-06 13:12   ` Simon Schubert [this message]
2011-07-06 20:42     ` Vladimir 'φ-coder/phcoder' Serbinenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E145F36.8020203@0x2c.org \
    --to=2@0x2c.org \
    --cc=grub-devel@gnu.org \
    --cc=phcoder@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.