Received: from list by lists.gnu.org with archive (Exim 4.71) id 1dZLCw-0002ou-6G for mharc-grub-devel@gnu.org; Sun, 23 Jul 2017 14:02:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZLCt-0002oi-9s for grub-devel@gnu.org; Sun, 23 Jul 2017 14:02:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZLCs-0004Jr-7M for grub-devel@gnu.org; Sun, 23 Jul 2017 14:02:19 -0400 Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]:37059) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dZLCr-0004JP-Sy for grub-devel@gnu.org; Sun, 23 Jul 2017 14:02:18 -0400 Received: by mail-pf0-x242.google.com with SMTP id y25so1389811pfk.4 for ; Sun, 23 Jul 2017 11:02:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:from:to:references:message-id:date:user-agent:mime-version :in-reply-to; bh=pkOz9BQbXnOjRjuvgU3eM+vA4TzXR3PW12eM/CLWBTo=; b=dKxKH175MHpg9e8/BkboXrI3rALbXNl/rGLgIGf6vEMT5uiGwEWDpUPc6THnSGmuVt jDY5QrE0e2pKAFZtzSnhGEMNRIZboMHpt7RoRdl4Itmgrgxa7f3PVnj+6EqRkXqX4DW4 7kqg02NO9YIjTpi6hB0GH8fBvRXLQzRzoulPIdrhlOf5AppbHP/JEXybDm0Tymf54LVx CULa9VZKUN2FSUTPgRztsBL1QK3oEfMnPaKdG2hkQ+zt5XLwaGMS2wI2Z/9SoxVrNH0f ezT1dUEl1JxMQUct2tAnNq41GVBxVXYCPmTtLma5nFyi1slm2d/JuIFSlHMvfYZ2ml79 3TqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:references:message-id:date :user-agent:mime-version:in-reply-to; bh=pkOz9BQbXnOjRjuvgU3eM+vA4TzXR3PW12eM/CLWBTo=; b=CXXepSemZ7DjkHJgqOd163QnYqyK+T9gHWt/8HfKi2mF1wnoIDJc5RwzclS0jG1e7X kUikOWLZwXjFfQNd7dc/uwzLgG/VR59ebv72F9pqxpeywFlR6a0vsWw77jcHE94e6f6J u7egW2xEkwJFsyZ41k4ZBwMS6EJkRtzzFB/nAi0XLnHMR0e0Jl6WqiqcxnNm0EndGFvG pBYX3TyOlOpb511y3u5rRcicbZhLJdjFycILkLmMvAOR/fPP346ibXNWrC+6EBBzaSYe Z3ariOWdUmXCJegFC+DnvdLAjTUMmJCKpn6leI4vJOuUsha8XsTu1Vm6tH+hByBrIShz WdUw== X-Gm-Message-State: AIVw113SkIjQIWIhKyzbFsP6qxOiYix7p+WC6AJ97DRwiufQpLaTH2F7 5oeqZzrMvqw1m6r9 X-Received: by 10.99.115.2 with SMTP id o2mr13529916pgc.48.1500832934489; Sun, 23 Jul 2017 11:02:14 -0700 (PDT) Received: from ?IPv6:2601:602:9c01:e86a:2ec2:3a19:cd81:76ab? ([2601:602:9c01:e86a:2ec2:3a19:cd81:76ab]) by smtp.googlemail.com with ESMTPSA id r207sm18363618pfr.106.2017.07.23.11.02.11 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Jul 2017 11:02:12 -0700 (PDT) Subject: Re: [GRUB PARTUUID PATCH V4 0/3] Add PARTUUID detection support From: Nick Vinson To: grub-devel@gnu.org References: Message-ID: <9f3e26bb-9956-65f9-e7e3-3e55be4c818a@gmail.com> Date: Sun, 23 Jul 2017 11:02:07 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="hf5efcEH90KusFvkgEGkuOUoSfo7SlPHd" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::242 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jul 2017 18:02:20 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --hf5efcEH90KusFvkgEGkuOUoSfo7SlPHd Content-Type: multipart/mixed; boundary="WVbJms22fa6five2IvvAnQD41WEAu6Xis"; protected-headers="v1" From: Nick Vinson To: grub-devel@gnu.org Message-ID: <9f3e26bb-9956-65f9-e7e3-3e55be4c818a@gmail.com> Subject: Re: [GRUB PARTUUID PATCH V4 0/3] Add PARTUUID detection support References: In-Reply-To: --WVbJms22fa6five2IvvAnQD41WEAu6Xis Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable Hello, I submitted this patch set back in May and have not heard anything. I noticed it also has not been merged into the GRUB tree. Is there some issue with the patches that I still need to fix? If so, please let me know so I can make the corrections and submit an updated patch set. Thanks, Nicholas Vinson On 05/14/2017 09:26 AM, Nicholas Vinson wrote: > This is an updated patch set for PARTUUID support. I've retested > against GRUB 2.03 and found no errors. Because including Steve Kenton'= s > patches in the last iteration caused confusion, I have removed them fro= m > this version. I have also removed the flex-2.6.3 compatibility patch a= s > flex-2.6.4 has been released and is not affected by the same issues. >=20 > Thanks, > Nicholas Vinson >=20 > Changes from Patch v3: > - Removed flex-2.6.3 compatibility patch >=20 > - Removed Steve Kenton's patch >=20 > Changes from Patch v2: > - Added flex-2.6.3 compatibility patch >=20 > - Fixed a GPT partition read error >=20 > - Added Steve Kenton's patch >=20 > - Changed struct grub_part_gpt_type name to struct > grub_part_gpt_part_guid >=20 > - Changed grub_part_gpt_type_t typedef name to grub_part_gpt_guid_t= >=20 > - Added sprint_gpt_guid to Steve Kenton's patch >=20 > - Updated v1 and Steve Kenton's patch to use similar methods when > reading partition GUIDs. >=20 > Changes from Patch v1: > - Added GRUB_ENABLE_LINUX_PARTUUID variable description to grub.tex= i >=20 > - Removed added gpt_part_guid copy logic from > grub_gpt_partition_map_iterate() >=20 > - Removed added NT disk signature copy logic from > grub_partition_msdos_iterate() >=20 > - Removed modifications to partition number increment logic >=20 > - Removed added guid union definition. >=20 > - Added GRUB_ENABLE_LINUX_PARTUUID to grub-mkconfig.in export list >=20 > - Moved PRINT_GPT_PARTTYPE printing logic to print_gpt_guid() > function in grub-probe.c >=20 > - Updated PRINT_GPT_PARTTYPE case to call print_gpt_guid() function= > in grub-probe.c. >=20 > - Created probe_partuuid() function in grub-probe.c >=20 > - Updated print =3D=3D PRINT_PARTUUID check logic in probe() to cal= l > probe_partuuid(). >=20 > - Updated UUID logic in 10_linux.in to enable root=3DPARTUUID featu= re > only if GRUB_DISABLE_LINUX_UUID is not set to true, > and GRUB_DEVICE_PARTUUID is not empty, GRUB_ENABLE_LINUX_PARTUUID= > is set to true. >=20 > Hello, >=20 > This is a request to add PARTUUID detection support grub-probe for MBR > and GPT partition schemes. The Linux kernel supports mounting the root= > filesystem by Linux device name or by the Partition [GU]UID. GRUB's > mkconfig, however, currently only supports specifying the rootfs in the= > kernel command-line by Linux device name unless an initramfs is also > present. When an initramfs is present GRUB's mkconfig will set the > kernel's root parameter value to either the Linux device name or to the= > filesystem [GU]UID. >=20 > Therefore, the only way to protect a Linux system from failing to boot > when its Linux storage device names change is to either manually edit > grub.cfg or /etc/default/grub and append root=3DPARTUUID=3Dxxx to the > command-line or create an initramfs that understands how to mount > devices by filesystem [G]UID and let grub-mkconfig pass the filesystem > [GU]UID to the initramfs. >=20 > The goal of this patch set is to enable root=3DPARTUUID=3Dxxx support i= n > grub-mkconfig, so that users don't have to manually edit > /etc/default/grub or grub.cfg, or create an initramfs for the sole > purpose of having a robust bootloader configuration for Linux. >=20 > Thanks, > Nicholas Vinson >=20 > Nicholas Vinson (3): > Update grub_gpt_partentry; centralize guid prints > Add PARTUUID detection support to grub-probe > Update grub script template files >=20 > docs/grub.texi | 13 +++++++ > grub-core/disk/ldm.c | 2 +- > grub-core/partmap/gpt.c | 4 +-- > include/grub/gpt_partition.h | 8 ++--- > util/grub-install.c | 2 +- > util/grub-mkconfig.in | 3 ++ > util/grub-probe.c | 81 ++++++++++++++++++++++++++++++++++++= -------- > util/grub.d/10_linux.in | 13 +++++-- > 8 files changed, 101 insertions(+), 25 deletions(-) >=20 --WVbJms22fa6five2IvvAnQD41WEAu6Xis-- --hf5efcEH90KusFvkgEGkuOUoSfo7SlPHd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEczDTDnZxlTLnbyK/I0TYj6JBO78FAll05J8ACgkQI0TYj6JB O79RgBAAg6D/q4aMMyWL7Cp1VDrer3f4hpo+4sug9kj8jNVXcfv2gjtli3RRnBq9 psDzISdV9rSCvHMQPyzeAR2Y6A8JgG4RzN46Z+D7gRk+WogdE+L5ArtxbOaW1DYk dSv4524B2+rznuHlyGQXdq3rvYIyqZiI42qM8ylGAS2LUURXfabZEW3T5u9UHLg5 XG8dT6DtltggB2AMg9v3XwuGPKqcjYNpPEK3ukcTxVO8lkp4riZRP3MTP9cZEvNH d+7nnQxu4jwCBjhnQSN4j7RBg1ZSVWKI7koz9T/jJAoroVi9FFfw8v2IHftCMWtr z5aMRGQ5rDDXUcooTauWroCF2oZicqIMnyaLO7jMRuKoBhlWdkxRVAjtrSE1aNSw p0Xm9EoeNgvBrv5//StsK0HFu1/HDGcrNN3qbUAL/qz+aj9nwuOzNytVc2W/MkGg 5jbW/W2UtRsagIjI6nQKOwIYOHPmctWIlKU49Jqw1U3HJ8/ycGREUYK40NMcl0ax 3iPeeB8hd8QRK6K1WeqlcIMMErDHyqGFPwmhsTX0XSLgija4bcRLZy9BBMFDNIJl XPFp25V7Pw2QYT2S+sMxCqj+yq8lBCIi+pWfdk7y2qBdhGi8l1PR3GGrbY8syNkS L/xODLOM5dBUlS4IS8A/Xc9x0cvwO4TNDcoUzZNu9X85c1Qc4LE= =Ua0V -----END PGP SIGNATURE----- --hf5efcEH90KusFvkgEGkuOUoSfo7SlPHd--