From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VPXTL-0006p7-My for mharc-grub-devel@gnu.org; Fri, 27 Sep 2013 08:48:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39225) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPXTJ-0006mT-Lj for grub-devel@gnu.org; Fri, 27 Sep 2013 08:48:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VPXTI-0002gv-GC for grub-devel@gnu.org; Fri, 27 Sep 2013 08:48:37 -0400 Received: from mail-ea0-x236.google.com ([2a00:1450:4013:c01::236]:45130) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPXTI-0002go-8s for grub-devel@gnu.org; Fri, 27 Sep 2013 08:48:36 -0400 Received: by mail-ea0-f182.google.com with SMTP id o10so1219937eaj.27 for ; Fri, 27 Sep 2013 05:48:35 -0700 (PDT) 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=V7EZaPj22mYUhPFhYmhPWg/3xjX1GVhczXCPReyyHDI=; b=CAF1rFaYF91nqDrU7WMfwN0bmdkmDiPDJ8ufUoMxuXbPGS1NxCLjOqKoPrdEY885Fx rP7iT2mVyZ8wmHL0Odg6Er6ZsafTC2KANbIEL0T0NULoR2Ml7ygGs8mj6LZbuXC6mOID 6w/gpjUMPdfPiOy2l5/l1xyEQSDJ2SMh7ek89FcJ7sfxxqf2ROYfS9pOKAAUE/chB/q1 k1m1nBeZ8qAtOBkjtEe6KaV8I29FX7GjSMEmxzOFXge6zPh7FmHT8nQkCtZscWNI7ajw dT5dlc8KuC7FBo7H5uUFbELaZE/boVQn/wplG3YflX/FiOSCA3q4H5f/rLjvXsYen3Bs n3mA== X-Received: by 10.15.56.72 with SMTP id x48mr3235364eew.62.1380286115276; Fri, 27 Sep 2013 05:48:35 -0700 (PDT) Received: from ?IPv6:2001:67c:10ec:3f42:8000::14df? ([2001:67c:10ec:3f42:8000::14df]) by mx.google.com with ESMTPSA id h52sm15904421eez.3.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 27 Sep 2013 05:48:34 -0700 (PDT) Message-ID: <52457EA1.10804@gmail.com> Date: Fri, 27 Sep 2013 14:48:33 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130821 Icedove/17.0.8 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: [PATCH] Install to LVM PVs References: <5243F5FF.4000804@gmail.com> <52456056.1030101@gmail.com> In-Reply-To: <52456056.1030101@gmail.com> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="----enig2KMRNJJTGTGOGQCFRLTJV" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c01::236 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: Fri, 27 Sep 2013 12:48:38 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2KMRNJJTGTGOGQCFRLTJV Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 27.09.2013 12:39, Gabriel de Perthuis wrote: > Le 26/09/2013 10:53, Vladimir '=CF=86-coder/phcoder' Serbinenko a =C3=A9= crit: >> On 25.09.2013 14:39, Gabriel de Perthuis wrote: >>> Hello, >>> This patch lets grub install to a reserved area in LVM physical volum= es. >>> These bootloader areas can be created with LVM 2.02.99 and the >>> --bootloaderareasize argument to pvcreate and vgconvert. >>> I tested it in QEMU, installing to and booting a disk that contains a= PV >>> and no partition table. >>> >> This is not how the use of this area was imagined. There are couple of= >> subtleties which your patch didn't take in account. >> Currently there is joint developpement with LVM guys but it wasn't >> published yet. >=20 > For anyone else who may be interested, apparently patches exist and are= > waiting for Peter Rajnoha to finish them. They haven't been posted or > discussed publicly and I've never seen them. >=20 > According to Vladimir: >> the zone will be subdivided to cover more cases and the agreement was > to use "pvs" to get offsets rather than having own code for this >=20 > As shipped in 2.02.99, pvs exposes exactly one ba_start/ba_size area. > Other areas will have to use extra extension fields and extra fields in= > the pvs output, to be compatible with released versions of LVM. No, you didn't understand: this area will have another header, GRUB one which will subdivide it. LVM gives us area and we take care of subdivisio= n. > Parsing pvs output would be easy, and will behave exactly the same as > this patch. >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 ------enig2KMRNJJTGTGOGQCFRLTJV 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.14 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlJFfqEACgkQNak7dOguQgl/WAD/SemHBzV/wo8ZB7Xobqqe29Ij 5Pqa92Kc1+Ht1fbQoi0BALyn4Sn/ZIGALWYBv8JrodU4TyygPWGiFK4QAEcfPoUJ =ii0w -----END PGP SIGNATURE----- ------enig2KMRNJJTGTGOGQCFRLTJV--