bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #48265] Add automatic support for PARTUUID Linux root command-line


From: Nicholas Vinson
Subject: [bug #48265] Add automatic support for PARTUUID Linux root command-line options
Date: Sat, 18 Jun 2016 20:25:13 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0

URL:
  <http://savannah.gnu.org/bugs/?48265>

                 Summary: Add automatic support for PARTUUID Linux root
command-line options
                 Project: GNU GRUB
            Submitted by: username234
            Submitted on: Sat 18 Jun 2016 08:25:10 PM GMT
                Category: Configuration
                Severity: Major
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: other
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

This is a request to update grub-probe and 10_linux to support the Linux
kernel's root=PARTUUID=... parameter.

Currently, grub-mkconfig passes the Linux kernel's device name in the root
parameter when booting a Linux system without an initramfs.  However, if the
devices get reordered then the system will fail to boot.  Current workarounds
for this is to either generate an initramfs that can mount the rootfs via
UUID, or to manually generate or update grub.cfg.

This patch updates grub-probe so that it can return the PARTUUID of MBR and
GPT volumes and enables 10_linux to pass the PARTUUID via the kernel's root
option.  This allows systems to automatically use PARTUUID (root=PARTUUID=...)
when an initramfs isn't present.

I have attached the a patch with the requested change and an example grub.cfg.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48265>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]