Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Mrs4g-0008Ps-OA for mharc-grub-devel@gnu.org; Sun, 27 Sep 2009 07:37:54 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mrs4f-0008Pl-5j for grub-devel@gnu.org; Sun, 27 Sep 2009 07:37:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mrs4d-0008PZ-Fw for grub-devel@gnu.org; Sun, 27 Sep 2009 07:37:51 -0400 Received: from [199.232.76.173] (port=41658 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mrs4d-0008PW-CR for grub-devel@gnu.org; Sun, 27 Sep 2009 07:37:51 -0400 Received: from mx20.gnu.org ([199.232.41.8]:7227) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mrs4c-00064C-TD for grub-devel@gnu.org; Sun, 27 Sep 2009 07:37:51 -0400 Received: from fg-out-1718.google.com ([72.14.220.156]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mrs4b-00077N-0g for grub-devel@gnu.org; Sun, 27 Sep 2009 07:37:49 -0400 Received: by fg-out-1718.google.com with SMTP id 22so1114864fge.12 for ; Sun, 27 Sep 2009 04:37:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=JWrfETa13CmWDE1xhH5kmSOH4Rn2dBvqRYx6WKknp74=; b=F5X2gNwwaHTUuEJ9fd8BCcBs9AKV96rrOzzX80L7vP96o9k55hZO7fVDXt7zJr7IsW BlS2Euem9tCMarMTi4Gv859yRLimq7kajJ1RupPW2yXz6mUpGp74U9k4q8R3MYYCIdJ6 fHDWIdbwvEDpqQsk/XehwQ+fJiyL1kBD4QorY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=JQflQIqYzDq/DwbSLGLNISCwuG3Q5/KmZanb7+zDsKpYab825zb7GEusSeooj6K7CY pTIYnyPpFOggrpYoy4nkHNEWqiejWBeq/XTR9/y2MtQqCNOk3PX/GRcyXV/j5ZWHIkOq ZOET0MzFKPcEdR82BqL6AbvYPT1cbGNUUGIBI= MIME-Version: 1.0 Sender: hramrach@gmail.com Received: by 10.86.208.2 with SMTP id f2mr2471568fgg.16.1254051465265; Sun, 27 Sep 2009 04:37:45 -0700 (PDT) In-Reply-To: References: <20090926085720.GV13423@riva.ucam.org> <4ABE2A10.2010302@gmail.com> <4ABE90AA.2010000@gmail.com> Date: Sun, 27 Sep 2009 13:37:45 +0200 X-Google-Sender-Auth: 7a3eee2c08deae2f Message-ID: From: Michal Suchanek To: The development of GRUB 2 Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: Protection of boot sector and embedded area X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2009 11:37:53 -0000 2009/9/27 James Courtier-Dutton : > 2009/9/26 Vladimir 'phcoder' Serbinenko : >> James Courtier-Dutton wrote: >>> 2009/9/26 Vladimir 'phcoder' Serbinenko : >>> >>>> It's generally a bad idea to chase grub out of MBR+embed area. It often >>>> results in unreliable configurations. Could you detail your usecase so >>>> we can seek for a bettere solution? >>>> >>> >>> The other thing sitting in the embedded area is a whole disc encryption product. >>> It takes up about 60 sectors of the 64 sectors of the embedded area. >>> >> I guess you speak about truecrypt. In this case the solution I would >> recommend is to make grub load truecrypt's embedding area from a file on >> the disk (it probably can be extracted from truecrypt w/o installing >> booter). It's not a difficult task, just nobody did it yet (volunteers >> are welcome). >> Beware that truecrypt is distributed under a license which has legal >> danger to the end user. >> https://fedoraproject.org/wiki/ForbiddenItems#TrueCrypt >> Of course it's your choice to use it or not but I would suggest to avoid >> such software especially for the data you need to protect > > It is not truecrypt. > I would argue that a "full disk encryption" product should be in the > boot sector/embedded area and everything else, even grub should load > after it. > Obviously your encryption solution does not encrypt the linux volume which you boot using the USB stick so it has no reason to be loaded when loading Linux, it can only cause harm by trying to decrypt what is not encrypted. Also as Grub can access the disk drives by various means (BIOS, PCI device driver, ...) the encryption software would have to hijack all these access paths transparently which I can't imagine happening. Thanks Michal