From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1UpKOc-0002XU-Kb for mharc-grub-devel@gnu.org; Wed, 19 Jun 2013 11:34:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35464) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpKOa-0002XJ-7A for grub-devel@gnu.org; Wed, 19 Jun 2013 11:34:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UpKOY-0002rm-T9 for grub-devel@gnu.org; Wed, 19 Jun 2013 11:34:04 -0400 Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.120]:34121) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpKOY-0002re-Oc for grub-devel@gnu.org; Wed, 19 Jun 2013 11:34:02 -0400 X-Authority-Analysis: v=2.0 cv=Ev5QXFgA c=1 sm=0 a=/DbS/tiKggfTkRRHPZEB4g==:17 a=Qsx_du5GiBkA:10 a=bfzWQn4VrGAA:10 a=S1A5HrydsesA:10 a=8nJEP1OIZ-IA:10 a=fxJcL_dCAAAA:8 a=KGjhK52YXX0A:10 a=TkxFCGUkWWEA:10 a=QfKxxUxMAAAA:8 a=nzjQcRl7EA3IIhX7wZ0A:9 a=wPNLvfGTeEIA:10 a=/DbS/tiKggfTkRRHPZEB4g==:117 X-Cloudmark-Score: 0 X-Authenticated-User: X-Originating-IP: 67.78.168.186 Received: from [67.78.168.186] ([67.78.168.186:54326] helo=[10.1.1.236]) by cdptpa-oedge01.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id B0/D7-06197-96FC1C15; Wed, 19 Jun 2013 15:34:02 +0000 Message-ID: <51C1CF69.9000009@ubuntu.com> Date: Wed, 19 Jun 2013 11:34:01 -0400 From: Phillip Susi User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: grubenv vs. diskfilter References: <20130603084818.74125432@opensuse.site> <51C0AD80.9010606@ubuntu.com> In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 75.180.132.120 Cc: Andrey Borzenkov 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, 19 Jun 2013 15:34:05 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 6/19/2013 2:31 AM, Andrey Borzenkov wrote: >> I've been kicking around the thought that grub-pc should just >> put grubenv in the embed area attached to the core img, and >> grub-efi should put it in the ESP. > > This still leaves the case when core.img cannot be embedded (and > adding extra space obviously increases chances of that) or > delilberate blocklist installs (openSUSE defaults to booting from > partition). And we still have PPC, SPARC and hopefully ARM to > handle. Blocklist installs already are unsupported and have plenty of problems, including not working with diskfilter. They should still be able to work with grubenv in a regular file on a plain ext4 regular disk partition. As for embed size, there are really only two classes in practice: 2048 sector, which has plenty of room, and 63 sector, which already doesn't fit for non trivial configurations including diskfilter. > And we need some way for user space to auto-detect where > environment block is located ... Stick a pointer to the location in the grubenv file? >> That would solve grubenv not working on btrfs too. >> > > Does btrfs guarantee that bootloader area is always located on a > single physical device? Not sure what you mean. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJRwc9pAAoJEJrBOlT6nu75Zp0H/3Ef/f23D0tWNdPj9vzW+CkP l79g0bfbZddPKaunpcOjccSKdjko9sFenRN8HnAegKuu0s+6ro/ir7PaR7wHkA11 +9rO+pZWEluqwcdvlR2C72ErfJ7DHvmVP+togmhzV6aeP2xvw00xr05GKZeryrND FHG1uftp8RTxHGH28py4ta95MRzcVnGzBbkzaDz27bWuTcrijZO6rP5nc3038+8b QMXJJnAXx49Fb7jlC0GxwgFXbdYhzqQy4tZMvQsV2WTiK38yrVnI8sJqeG7seglH 1nV9uUkxGIKGJo0TRNl6vSFkCTXiPfXM7GHny6bwzu9fpBMQZiwXVhuqhCUaqQk= =Fk2C -----END PGP SIGNATURE-----