[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 2/2] search: new --efidisk-only option on EFI systems
From: |
Daniel Kiper |
Subject: |
Re: [PATCH v3 2/2] search: new --efidisk-only option on EFI systems |
Date: |
Thu, 24 Feb 2022 20:33:43 +0100 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Tue, Feb 08, 2022 at 08:39:11AM +0100, Renaud Métrich wrote:
> When using 'search' on EFI systems, we sometimes want to exclude devices
> that are not EFI disks (e.g. md, lvm).
> This is typically used when wanting to chainload when having a software
> raid (md) for EFI partition:
> with no option, 'search --file /EFI/redhat/shimx64.efi' sets root envvar
> to 'md/boot_efi' which cannot be used for chainloading since there is no
> effective EFI device behind.
>
> This commit also refactors handling of --no-floppy option.
Please split this patch in two then. One for the --no-floppy change and
another one for --efidisk-only addition.
> Signed-off-by: Renaud Métrich <rmetrich@redhat.com>
> ---
> grub-core/commands/search.c | 27 +++++++++++++++++++++++----
> grub-core/commands/search_wrap.c | 18 ++++++++++++------
> include/grub/search.h | 15 ++++++++++++---
Please add --efidisk-only option to the GRUB docs.
Daniel