From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rsuei-0000rN-TB for mharc-grub-devel@gnu.org; Thu, 02 Feb 2012 06:16:44 -0500 Received: from eggs.gnu.org ([140.186.70.92]:40433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rsuec-0000oB-3E for grub-devel@gnu.org; Thu, 02 Feb 2012 06:16:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RsueX-0008HE-Tb for grub-devel@gnu.org; Thu, 02 Feb 2012 06:16:38 -0500 Received: from spam1.wiktel.com ([69.89.207.151]:40670) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsueX-0008H3-HN for grub-devel@gnu.org; Thu, 02 Feb 2012 06:16:33 -0500 Received: from [172.16.0.253] (thief-pool2-121-14.mncable.net [24.225.121.14]) (authenticated bits=0) by spam1.wiktel.com (8.13.5.20060308/8.13.5/Debian-3ubuntu1.1) with ESMTP id q12BGV1v004321 for ; Thu, 2 Feb 2012 05:16:31 -0600 Subject: [PATCH] Don't create grubenv on ZFS From: Richard Laager To: grub-devel@gnu.org Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-P4atqIECvgfhimTFv+NE" Date: Thu, 02 Feb 2012 05:16:30 -0600 Message-ID: <1328181390.3572.74.camel@watermelon.coderich.net> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 X-bounce-key: wiktel.com-1; rlaager@wiktel.com; 1328181392; ZqrkXOueQzur8VJ/58hNmLGos5U; X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 69.89.207.151 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: Thu, 02 Feb 2012 11:16:43 -0000 --=-P4atqIECvgfhimTFv+NE Content-Type: multipart/mixed; boundary="=-Q1cNqwNNI3aYqzjwJobz" --=-Q1cNqwNNI3aYqzjwJobz Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable GRUB can't write to ZFS. Creating a grubenv file leads to a misleading "sparse file not allowed" error on boot. The attached patch for grub-install skips the creation of a grubenv file on ZFS. --=20 Richard --=-Q1cNqwNNI3aYqzjwJobz Content-Disposition: attachment; filename="zfs-no-grubenv.patch" Content-Transfer-Encoding: base64 Content-Type: text/x-patch; name="zfs-no-grubenv.patch"; charset="UTF-8" LS0tIGdydWIyLTEuOTktb3JpZy91dGlsL2dydWItaW5zdGFsbC5pbgkyMDExLTA0LTAzIDA4OjM2 OjIxLjAwMDAwMDAwMCAtMDUwMA0KKysrIGdydWIyLTEuOTkvdXRpbC9ncnViLWluc3RhbGwuaW4J MjAxMi0wMS0xMCAwMDoyMTo1Mi4xNTkyNTMwMDAgLTA2MDANCkBAIC00NjAsNyArNDYwLDkgQEAN CiBncnViX2RldmljZT0iYCIkZ3J1Yl9wcm9iZSIgLS1kZXZpY2UtbWFwPSIke2RldmljZV9tYXB9 IiAtLXRhcmdldD1kZXZpY2UgIiR7Z3J1YmRpcn0iYCIgfHwgZXhpdCAxDQogDQogaWYgISB0ZXN0 IC1mICIke2dydWJkaXJ9Ii9ncnViZW52OyB0aGVuDQotICAgICIkZ3J1Yl9lZGl0ZW52IiAiJHtn cnViZGlyfSIvZ3J1YmVudiBjcmVhdGUNCisgICAgaWYgISB0ZXN0ICJ4YCIkZ3J1Yl9wcm9iZSIg LS10YXJnZXQ9ZnMgIiR7Z3J1YmRpcn0iYCIgPSB4emZzOyB0aGVuDQorICAgICAgICAiJGdydWJf ZWRpdGVudiIgIiR7Z3J1YmRpcn0iL2dydWJlbnYgY3JlYXRlDQorICAgIGZpDQogZmkNCiANCiAj IENyZWF0ZSB0aGUgY29yZSBpbWFnZS4gRmlyc3QsIGF1dG8tZGV0ZWN0IHRoZSBmaWxlc3lzdGVt IG1vZHVsZS4NCg== --=-Q1cNqwNNI3aYqzjwJobz-- --=-P4atqIECvgfhimTFv+NE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAk8qcI4ACgkQbfU6uV4fG840BQCgiUje/h0LAjZzUxZKv9+gdXLf 1PYAoO3aktYMKmNZqAAXx0kvIqXATLVi =abSO -----END PGP SIGNATURE----- --=-P4atqIECvgfhimTFv+NE--