#3366 PR open: Make the auto detection for USING_UEFI_BOOTLOADER probe /efi too

castilma opened issue at 2024-12-17 10:55:

Check if /efi has an ESP mounted for the auto detection of USING_UEFI_BOOTLOADER.

Pull Request Details:
  • Type: Enhancement

  • Impact: Normal

  • Reference to related issue (URL): https://github.com/rear/rear/issues/3362

  • How was this pull request tested?
    Not at all, (yet?).

  • Description of the changes in this pull request:
    Rear tries to auto detect whether the current system is booted via an EFI partition. For that it checks whether /boot/efi or /boot is a EFI-system-partition. The Arch Wiki says using /boot/efi is discouraged and /efi should be used, refering to the UAPI-Group and Lennart Poettering. I assume many more people will have /efi in the future, so rear could check that too.

I believe there is nothing else to change, but I haven't looked to deep into this. I don't know whether the rescue system has to do something extra for the ESP to recreate the system. If it does, one would need to adjust that.


[Export of Github issue for rear/rear.]