[bug #66300] grub-mkconfig: Missing support for partition labels

stormbyte <[email protected]> Mon, 7 Oct 2024 11:54:04 -0400 (EDT)
Newsgroups gmane.comp.boot-loaders.grub.bugs
Message-ID <[email protected]>
URL:
  <https://savannah.gnu.org/bugs/?66300>

                 Summary: grub-mkconfig: Missing support for partition labels
                   Group: GNU GRUB
               Submitter: stormbyte
               Submitted: lun 07 oct 2024 15:54:01
                Category: Configuration
                Severity: Major
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: David C. Manuelda
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: Git master
                 Release: 
         Reproducibility: Every Time
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: lun 07 oct 2024 15:54:01       By: stormbyte <stormbyte>
When using grub-mkconfig, UUIDs and PARTUUIDs can be used or excluded
depending on GRUB_DISABLE_LINUX_UUID and GRUB_DISABLE_LINUX_PARTUUID
respectively but there is nothing about using labels to identify the Linux
root filesystem.

I am attaching a patch which kindly introduces a new variable
GRUB_PREFER_LINUX_LABEL which if set to true will use the partition label
instead if available (if not, the functionality will remain the same).

It can be improved because I don't quite like having nearly the same command
twice but for proof of concept I think it should be enough (also to help users
wanting this feature to have it early)

Can something like this have a chance?






    _______________________________________________________
File Attachments:


-------------------------------------------------------
Name: 0001-Introducing-new-GRUB_PREFER_LINUX_LABEL-variable-whi.patch  Size:
3KiB
<https://file.savannah.gnu.org/file/0001-Introducing-new-GRUB_PREFER_LINUX_LABEL-variable-whi.patch?file_id=56483>

    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-8ccc587ebb05c6c8a10f2eabb0aeffd05a30fbea.tar.gz

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66300>

_______________________________________________
Mensaje enviado vía Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCZwQEHAAKCRCqLAuaBUf3
TvsrAP4pERizz5rK+Q5hd9uyocLqbnSCozUrV/wiH014E2q+NgD+LOWRQi1BFo1H
ibzEmaeTVOv9q8GmPNMKP92+w1sG8gQ=
=JP+y
-----END PGP SIGNATURE-----