From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Vq3AO-0007Uk-Cr for mharc-grub-devel@gnu.org; Mon, 09 Dec 2013 10:54:40 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vq3AC-00079f-JS for grub-devel@gnu.org; Mon, 09 Dec 2013 10:54:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vq3A1-0003CR-ES for grub-devel@gnu.org; Mon, 09 Dec 2013 10:54:28 -0500 Received: from mail-wg0-x231.google.com ([2a00:1450:400c:c00::231]:51696) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vq3A1-0003CL-7o for grub-devel@gnu.org; Mon, 09 Dec 2013 10:54:17 -0500 Received: by mail-wg0-f49.google.com with SMTP id x12so3553650wgg.4 for ; Mon, 09 Dec 2013 07:54:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=MSz4F4LY2Z9xS5/fyRqZW72dr7pIezGN1MquWsHpIrk=; b=pdX9bVrOhUFoRSjKN6IB4Ss8fbWFEUr2UkFFO/A/+/q9OFPw77g1pBpFxjBHffeqzK Llqzamht3GylzGOMwsvMRkBMPlDXzZODS7iAK1jwT1ElmADRmkNl8spPMFT5uxpXnKQ0 F1BaMkMHirNGzzdKQBHzg5BRvBpsd2MQvurEbmixtjM4UNh3VEliRna044uN6BIw+5mO Eor51/nOeyJor+b9onfKPrZbntQXT2evOfEs3c0lZDZ9u8LScGFc9QgNVWLf+ZFSSjQZ Cxamk9h5Fzc7/WfUwXYO11kRsfl2d6SxyPkSx7WxeCDmArZXRyD4DYvechK5bwcA7AF2 2Kvw== X-Received: by 10.180.37.112 with SMTP id x16mr14966336wij.48.1386604456270; Mon, 09 Dec 2013 07:54:16 -0800 (PST) Received: from [192.168.1.16] (85-188.196-178.cust.bluewin.ch. [178.196.188.85]) by mx.google.com with ESMTPSA id cx3sm24727415wib.0.2013.12.09.07.54.12 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 09 Dec 2013 07:54:13 -0800 (PST) Message-ID: <52A5E7A2.6060104@gmail.com> Date: Mon, 09 Dec 2013 16:54:10 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: grub mishandles corrupt/missing primary GPT References: <9DB3EF6D-6E26-4A9F-BB2D-07CCEF378D7A@colorremedies.com> <52687CC7.4010605@gmail.com> <52A5E1A1.3000103@ubuntu.com> In-Reply-To: <52A5E1A1.3000103@ubuntu.com> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="aBTUWtEag36PLu95Swamow97GISKsHVhO" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::231 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: Mon, 09 Dec 2013 15:54:37 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --aBTUWtEag36PLu95Swamow97GISKsHVhO Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 09.12.2013 16:28, Phillip Susi wrote: > On 10/23/2013 9:49 PM, Vladimir '=CF=86-coder/phcoder' Serbinenko wrote= : >> partmap module is size-critical and CRC32 verification is pretty >> big. There are 3 problems with backup header: >=20 > The grub core no longer fits in 63 sectors in all but the most trivial > configurations as it is, Not true. I've checked: all configs not involving compressed fs or diskfilter fit in 31K. > and a 2048 sector embed area has been > standard now for several years, so I don't think size is a problem. >=20 We're speaking abut GPT, nothing to do with MBR embed area. My problem with that is that it increases complexity a lot in currently simple code. And also I had experience with backup header out of place due to disk reconfiguration and primary header corrupted but still well enough to have valid partitions. I could boot this system by using "gpt" linux option. With proposed changes this system would become unbootable. --aBTUWtEag36PLu95Swamow97GISKsHVhO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlKl56IACgkQmBXlbbo5nOsSHgD+PjX+nKrEdyQ5Ph/FVWdZTnUP hpGxCC/ZYNl6nbo2pU0A/3iImlVZgMqqB+PRDIK72F3OCMhDwHVlWZLo6C35mXDx =E65P -----END PGP SIGNATURE----- --aBTUWtEag36PLu95Swamow97GISKsHVhO--