[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3] commands/search: Add support to search by PARTUUID
From: |
Mihai Moldovan |
Subject: |
Re: [PATCH v3] commands/search: Add support to search by PARTUUID |
Date: |
Thu, 15 Apr 2021 16:51:12 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 |
* On 4/15/21 3:59 PM, Vitaly Kuzmichev via Grub-devel wrote:
> Improve 'search' grub-shell command with functionality to search for
> a partition by PARTUUID string. This is useful on systems where FSUUID
> is not guaranteed to be constant, e.g. it is not preserved between
> system updates, and modifying grub.cfg is undesired.
This is also incredibly useful in case you want to select a specific device in a
RAID1 setup (if supported, for instance Linux swraid with 0.9 or 1.0 metadata).
While it would be safe to read from devices, there currently is no way to point
grub directly to a specific device other than hardcoding it (and that's
dangerous, since the system firmware can remap devices as it sees fit).
Mihai
OpenPGP_signature
Description: OpenPGP digital signature