From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Ladbj-0005wV-Sy for mharc-grub-devel@gnu.org; Fri, 20 Feb 2009 17:12:31 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ladbi-0005wN-7K for grub-devel@gnu.org; Fri, 20 Feb 2009 17:12:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ladbf-0005wB-P4 for grub-devel@gnu.org; Fri, 20 Feb 2009 17:12:28 -0500 Received: from [199.232.76.173] (port=59710 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ladbf-0005w8-K3 for grub-devel@gnu.org; Fri, 20 Feb 2009 17:12:27 -0500 Received: from fg-out-1718.google.com ([72.14.220.155]:45834) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ladbf-0003k3-CP for grub-devel@gnu.org; Fri, 20 Feb 2009 17:12:27 -0500 Received: by fg-out-1718.google.com with SMTP id l27so1548165fgb.30 for ; Fri, 20 Feb 2009 14:12:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=TO51uGgOAnh6mh919aGPhe3XpJlVoj+81sZD90RQpG0=; b=jZzoSXGkOUS1ZCHrTmgdZByosXjfNpRULo31u4QRJ4sYk6bf2OwSVbyKOGhwuy2ipM jgEdCeRWHBCrEDzY0FPLNrvrpETHd6XdbvhOxzOd9z/ZGJ9xNC3c/Fz6/myN1CPvcfc/ YdeaXfyEesGdCfpib2OmMzxGVFflau92kUoFQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=c2h/C8szYc4dSbElaSp56SF41BurvosDPXQPsVlcd7gRjlyphCBO+4M6hlZbGnNiyx O5Kt8c1TLXvCWqXWxRLXVkV34c56wQQuBgfh0URaL++pKOXot0k/pGdTF5C+tvs0hqHP +4htOEG1QHyB2Sf789GsUdHyUaNBweFtWzPkI= Received: by 10.86.94.11 with SMTP id r11mr1337474fgb.11.1235167946047; Fri, 20 Feb 2009 14:12:26 -0800 (PST) Received: from ?192.168.1.25? (184-134.62-81.cust.bluewin.ch [81.62.134.184]) by mx.google.com with ESMTPS id 3sm124921fge.2.2009.02.20.14.12.25 (version=SSLv3 cipher=RC4-MD5); Fri, 20 Feb 2009 14:12:25 -0800 (PST) Message-ID: <499F2AC9.5050000@gmail.com> Date: Fri, 20 Feb 2009 23:12:25 +0100 From: phcoder User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Design: first sector of core.img 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: Fri, 20 Feb 2009 22:12:30 -0000 Hello. For SHA-1 verified boot first sector needs to check the rest of core.img. It will need heavy modifications. On the same time I would like to avoid changes to current boot process so that both alternatives are available (SHA-1 and plain boot). In the same time even in current design the first sector plays a special role. So I propose first sector to be moved to a separate file and then at install time grub-mkimage or grub-setup can take care of choosing right one depending on options supplied by user (plain or SHA-1 boot) Regards Vladimir 'phcoder' Serbinenko